Fix a typo in comments in memmove-vec-unaligned-erms.S
[glibc.git] / ChangeLog
blobf6304a609f5651283b0f8b71ece9e2cdf343774c
1 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4         a typo in comments.
6 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
8         [BZ #20213]
9         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
10         argument to itself.
11         * math/libm-test.inc (asin_test_data): Add sNaN tests.
13 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
16         required flags.
17         (CFLAGS-pwritev64.c): Likewise.
18         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
19         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
21         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
23         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
24         syscall from auto-generation.
25         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
26         [WORDSIZE == 64] (pwritev64): Remove macro.
27         [!PWRITEV] (PWRITEV): Likewise.
28         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
29         [!PWRITEV] (PWRITE): Likewise.
30         [!PWRITEV] (OFF_T): Likewise.
31         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
32         (LO_HI_LONG): Remove macro.
33         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
34         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
35         (PWRITEV): Remove macro.
36         (PWRITEV_REPLACEMENTE): Likewise.
37         (PWRITE): Likewise.
38         (OFF_T): Likewise.
39         (pwritev64): New function.
40         * nptl/tst-cancel4.c (tf_writev): Add test.
42         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
43         required flags.
44         (CFLAGS-preadv64.c): Likewise.
45         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
46         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
47         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
48         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
49         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
50         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
51         syscall from auto-generation.
52         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
53         [WORDSIZE == 64] (preadv64): Remove macro.
54         [!PREADV] (PREADV): Likewise.
55         [!PREADV] (PREADV_REPLACEMENT): Likewise.
56         [!PREADV] (PREAD): Likewise.
57         [!PREADV] (OFF_T): Likewise.
58         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
59         (LO_HI_LONG): Remove macro.
60         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
61         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
62         (PREADV): Remove macro.
63         (PREADV_REPLACEMENTE): Likewise.
64         (PREAD): Likewise.
65         (OFF_T): Likewise.
66         (preadv64): New function.
67         * nptl/tst-cancel4.c (tf_preadv): Add test.
69 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
71         [BZ #20212]
72         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
73         argument to itself.
74         * math/libm-test.inc (acos_test_data): Add sNaN tests.
76 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
79         New symbol defined as libc_hidden_def.
80         (strcasestr): Became a weak alias to __strcasestr.
81         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
82         according to multi-arch support.  Move __stpncpy hidden
83         definition from here to...
84         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
85         symbol stpncpy.
86         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
87         libc_hidden_builtin_def.
88         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
89         memset symbol to use when multi-arch support is available.
91 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
93         * dlfcn/tst-rec-dlopen.c: Include string.h.
95 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
97         * manual/install.texi: Remove mention of --without-tls
98         * INSTALL: Regenerate.
100 2016-06-05  Florian Weimer  <fweimer@redhat.com>
102         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
103         Remove.
104         (call_function, interposed_malloc_called): New variables.
105         (malloc): New function.
106         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
107         and clear call_function as needed.
109 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
111         * include/wchar.h (__wmemset): Use __typeof.
113 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
115         * include/wchar.h (__wmemset): Declare function without typeof.
117 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
119         [BZ #20205]
120         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
121         exponent when incrementing negative subnormal with low mantissa
122         word zero.
123         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
124         Add another test.
126 2016-06-03  Florian Weimer  <fweimer@redhat.com>
128         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
129         __wmemset instead of wmemset.
131 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
133         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
134         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
135         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
136         __USE_KERNEL_IPV6_DEFS to 0.
137         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
138         Update comment.
140 2016-06-01  Florian Weimer  <fweimer@redhat.com>
142         [BZ #19861]
143         Do not use IFUNC resolver with potentially unrelocated symbol.
144         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
145         (DEFINE_FORK): Remove macro and inline definition.
146         (fork_alias): Renamed from fork_ifunc.
147         (__fork_alias): Renamed from __fork_ifunc.
149 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
151         [BZ 19653]
152         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
153         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
155 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
157         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
158         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
159         i386-linux-gnu).
160         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
161         Set to no.
162         * sysdeps/mach/hurd/configure: Refresh.
164 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
166         [BZ #20178]
167         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
168         on failure instead of exit.
170 2016-05-30  Roland McGrath  <roland@hack.frob.com>
172         [BZ #3629]
173         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
174         of POSIX.1-2008.
176 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
178         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
179           Use PLT entry for calling _hurd_self_sigstate.
181 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
183         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
184         available logical processors with SMT level type sharing L2
185         cache for Intel processors.
187 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
189         [BZ #20160]
190         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
191         argument to itself before returning the result.
192         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
193         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
194         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
195         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
196         Likewise.
197         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
198         Likewise.
199         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
200         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
201         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
202         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
203         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
204         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
206         [BZ #20160]
207         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
208         argument to itself before returning the result.
209         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
210         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
211         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
212         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
213         Likewise.
214         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
215         Likewise.
216         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
217         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
218         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
219         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
220         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
221         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
223 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
225         * libm-test.inc: Replace usage of M_El with
226         (lit_e): New macro.
228 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
230         * libm-test.inc: Replace usage of M_PI_4l with
231         (lit_pi_4_d): New macro.
233 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
235         * libm-test.inc: Replace usage of M_PIl with
236         (lit_pi): New macro.
238 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
240         * libm-test.inc: Replace usage of M_PI2l with
241         (lit_pi_2_d): New macro.
243         * math/test-double.h (LITM): New macro.
244         * math/test-float.h (LITM): Likewise.
245         * math/test-ldouble.h (LITM): Likewise.
247 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
249         * libm-test.inc (M_PI_34l): Rename to
250         (lit_pi_3_m_4_d): New Macro.
251         (M_PI_34_LOG10El): Rename to
252         (lit_pi_3_m_4_ln10_m_d): New Macro.
253         (M_PI2_LOG10El): Rename to
254         (lit_pi_2_ln10_m_d):  New Macro.
255         (M_PI4_LOG10El): Rename to
256         (lit_pi_4_ln10_m_d):  New Macro.
257         (M_PI_LOG10El): Rename to
258         (lit_pi_ln10_d):  New Macro.
260 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
262         [BZ #20157]
263         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
264         determine whether to negate low half if [_ARCH_PPCGR], and integer
265         comparison otherwise.
266         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
267         determine whether to negate low half.
269         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
270         (NO_TEST_INLINE_DOUBLE): Likewise.
271         (TEST_COND_x86_64): Likewise.
272         (TEST_COND_x86): Likewise.
273         (M_PI_6l): Likewise.
275 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
277         * math/libm-test.inc:
278         (TEST_FLOAT): Change usage to TEST_COND_binary32.
279         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
280         (TEST_LDOUBLE): Update usage to evaluate as true if
281         the guarded tests match the property being tested.
282         (LDBL_MAX_EXP): Change to MAX_EXP.
283         (LDBL_MIN_EXP): Change to MIN_EXP.
284         (LDBL_MANT_DIG): Change to MANT_DIG, except for
285         nexttoward tests.
287 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
289         * math/libm-test.inc:
290         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
291         (TYPE_MIN): Likewise.
292         (TYPE_TRUE_MIN): Likewise.
293         (TYPE_MAX): Likewise.
294         (MIN_EXP): Likewise.
295         (MAX_EXP): Likewise.
296         (MANT_DIG): Likewise.
298         (FSTR_MAX): New macro.
299         (__CONCATX): Likewise.
300         (QTYPE_STR): Likewise.
301         (TEST_COND_binary32): Likewise.
302         (TEST_COND_binary64): Likewise.
303         (TEST_COND_binary128): Likewise.
304         (TEST_COND_ibm128): Likewise.
305         (TEST_COND_intel96): Likewise.
306         (TEST_COND_m68k96): Likewise.
308         (TEST_COND_flt_32): Redefine as equivalent format test macro.
309         (TEST_COND_dbl_64): Likewise.
310         (TEST_COND_ldbl_96_intel): Likewise.
311         (TEST_COND_ldbl_96_m68k): Likewise.
312         (TEST_COND_ldbl_128): Likewise.
313         (TEST_COND_ldbl_128ibm): Likewise.
315         (plus_zero): Redefine using LIT macro.
316         (minus_zero): Likewise.
317         (plus_infty): Redefine as (INF).
318         (minux_infty): Redefine as (-INF).
319         (max_value): Redefine as TYPE_MAX.
320         (min_value): Redefine as TYPE_MIN.
321         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
323         (print_float): Refactor to use snprintf to convert FLOAT values
324         to string. This brings it closer to dropin replacement of strtof
325         for the TS 18661 defined types.
326         (update_stats): Likewise.
327         (print_complex_function_ulps): Likewise.
328         (print_max_error): Likewise.
329         (print_complex_max_error): Likewise.
330         (check_float_internal): Likewise.
332         * math/test-float.h (PREFIX): New macro.
333         (LIT): Likewise.
334         (TYPE_STR): Likewise.
335         (FTOSTR): Likewise.
337         * math/test-double.h (PREFIX): New macro.
338         (LIT): Likewise.
339         (TYPE_STR): Likewise.
340         (FTOSTR): Likewise.
342         * math/test-ldouble.h (PREFIX): New macro.
343         (LIT): Likewise.
344         (TYPE_STR): Likewise.
345         (FTOSTR): Likewise.
347 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
349         [BZ #20156]
350         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
351         to itself when zero or not finite.
352         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
353         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
354         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
355         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
357 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
359         [BZ #20153]
360         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
361         x * x + x for infinities and NaNs.
363         [BZ #20151]
364         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
365         argument to itself before returning result.
366         (__ieee754_y0l): Likewise.
367         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
368         (__ieee754_y1l).
370         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
371         (atan_test_data): Likewise.
372         (ceil_test_data): Likewise.
373         (cos_test_data): Likewise.
374         (cosh_test_data): Likewise.
375         (erf_test_data): Likewise.
376         (exp2_test_data): Likewise.
377         (fabs_test_data): Likewise.
378         (floor_test_data): Likewise.
379         (ilogb_test_data): Likewise.
380         (j0_test_data): Likewise.
381         (j1_test_data): Likewise.
382         (jn_test_data): Likewise.
383         (lgamma_test_data): Likewise.
384         (lrint_test_data): Likewise.
385         (llrint_test_data): Likewise.
386         (logb_test_data): Likewise.
387         (lround_test_data): Likewise.
388         (llround_test_data): Likewise.
389         (nearbyint_test_data): Likewise.
390         (rint_test_data): Likewise.
391         (round_test_data): Likewise.
392         (sin_test_data): Likewise.
393         (sincos_test_data): Likewise.
394         (sinh_test_data): Likewise.
395         (sqrt_test_data): Likewise.
396         (tan_test_data): Likewise.
397         (tanh_test_data): Likewise.
398         (tgamma_test_data): Likewise.
399         (trunc_test_data): Likewise.
400         (y0_test_data): Likewise.
401         (y1_test_data): Likewise.
402         (yn_test_data): Likewise.
404         * math/libm-test.inc: Update comment about NaN testing.
405         (TEST_SNAN): New macro.
406         (snan_value): Likewise.
407         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
408         (fpclassify_test_data): Add sNaN tests.
409         (isfinite_test_data): Likewise.
410         (isinf_test_data): Likewise.
411         (isnan_test_data): Likewise.
412         (isnormal_test_data): Likewise.
413         (issignaling_test_data): Likewise.
414         (signbit_test_data): Likewise.
415         * math/gen-libm-test.pl (%beautify): Add snan_value.
416         (show_exceptions): Add argument $test_snan.
417         (parse_args): Handle snan_value as non-finite.  Update call to
418         show_exceptions.
419         * math/Makefile (libm-test-no-inline-cflags): Add
420         -fsignaling-nans.
422 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
424         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
425         (CFLAGS-oldsendmsg.c): Add rule.
426         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
427         Correct recvmsg symbol name.
428         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
429         Likewise.
431 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
433         * sysdeps/unix/sysv/linux/Makefile
434         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
435         oldsendmmsg.
436         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
437         sendmmsg.
438         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
439         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
440         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
441         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
443         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
444         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
446         Likewise.
447         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
448         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
449         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
450         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
451         iovlen and controllen fields to adjust to POSIX specification.
452         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
454         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
455         and change to correct expected type.
456         (msghdr.msg_controllen): Likewise.
457         (cmsghdr.cmsg_len): Likewise.
458         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
459         expected POSIX assumption about the size.
460         (msghdr.msg_controllen): Likewise.
461         (msghdr.__glibc_reserved1): Likewise.
462         (msghdr.__glibc_reserved2): Likewise.
463         (cmsghdr.cmsg_len): Likewise.
464         (cmsghdr.__glibc_reserved1): Likewise.
465         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
466         Add ptw-oldrecvmsg and ptw-oldsendmsg.
467         (CFLAGS-sendmsg.c): Remove rule.
468         (CFLAGS-recvmsg.c): Likewise.
469         (CFLAGS-oldsendmsg.c): Add rule.
470         (CFLAGS-oldrecvmsg.c): Likewise.
471         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
472         recvmsg and sendmsg.
473         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
474         Likewise.
475         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
476         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
477         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
478         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
479         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
480         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
481         Likewise.
482         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
483         Likewise.
484         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
485         Likewise.
486         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
487         Likewise.
488         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
489         Likewise.
490         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
491         Likewise.
492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
493         (GLIBC_2.24): Likewise.
494         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
495         Likewise.
496         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
497         Likewise.
498         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
499         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
500         Likewise.
501         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
502         Likewise.
503         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
504         Likewise.
505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
506         (GLIBC_2.24): Likewise.
507         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
508         Likewise.
509         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
510         Likewise.
511         * sysdeps/unix/sysv/linux/Makefile
512         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
513         (CFLAGS-sendmsg.c): Add rule.
514         (CFLAGS-recvmsg.c): Likewise.
515         (CFLAGS-oldsendmsg.c): Likewise.
516         (CFLAGS-oldrecvmsg.c): Likewise.
517         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
518         initialization.
519         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
520         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
521         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
522         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
523         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
524         iovlen and controllen fields to adjust to POSIX specification.
525         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
526         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
527         added recvmsg and sendmsg.
528         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
529         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
530         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
531         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
532         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
533         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
534         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
535         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
536         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
537         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
538         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
539         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
541         Likewise.
542         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
544         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
545         Likewise.
546         Likewise.
547         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
548         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
549         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
550         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
551         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
552         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
554         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
556         Likewise.
557         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
558         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
560         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
561         from auto-generation.
562         (sendmsg): Likewise.
563         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
564         (sendmsg): Likewise.
565         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
566         (sendmsg): Likewise.
567         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
568         (sendmsg): Likewise.
569         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
570         (sendmsg): Likewise.
571         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
572         (sendmsg): Likewise.
573         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
574         Likewise.
575         (sendmsg): Likewise.
576         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
577         (sendmsg): Likewise.
578         * sysdeps/unix/sysv/linux/i386/kernel-features.h
579         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
580         Remove.
581         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
582         Likewise.
583         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
584         Undefine.
585         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
586         Likewise.
587         * sysdeps/unix/sysv/linux/kernel-features.h
588         (__ASSUME_SENDMSG_SYSCALL): Define.
589         (__ASSUME_RECVMSG_SYSCALL): Likewise.
590         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
591         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
592         Remove.
593         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
594         Likewise.
595         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
596         Undefine.
597         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
598         Likewise.
599         * sysdeps/unix/sysv/linux/s390/kernel-features.h
600         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
601         Remove.
602         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
603         Likewise.
604         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
605         Undefine.
606         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
607         Likewise.
608         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
609         (__ASSUME_SENDMSG_SYSCALL): Undefine.
610         (__ASSUME_RECVMSG_SYSCALL): Likewise.
611         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
612         (__ASSUME_SENDMSG_SYSCALL): Likewise.
613         (__ASSUME_RECVMSG_SYSCALL): Likewise.
614         * sysdeps/unix/sysv/linux/sh/kernel-features.h
615         (__ASSUME_SENDMSG_SYSCALL): Likewise.
616         (__ASSUME_RECVMSG_SYSCALL): Likewise.
618 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
620         * stdlib/gen-tst-strtod-round.c: Add backslash to
621         compile command in comment.
622         (printfp): Remove the literal suffix, and define an infinite
623         value as INF to avoid expansion clash with INFINITY.
624         (round_str): Remove the literal suffix.
625         (round_for_all): Likewise, remove the now duplicate ldbl-64
626         entry, and remove some magic constants.
628         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
629         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
630         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
631         (_CONCAT): New macro.
632         (CONCAT): Likewise.
633         (CHOOSE_ld): Likewise.
634         (CHOOSE_f): Likewise.
635         (CHOOSE_d): Likewise.
636         (FTYPE_MEMBER): Likewise.
637         (BOOL_MEMBER): Likewise.
638         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
639         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
640         (_XNTRY): Likewise.
641         (XNTRY): Likewise.
642         (_ENTRY): Likewise.
643         (ENTRY): Likewise.
644         (test_exactness): Generate members via macro.
645         (test_results): Likewise.
646         (test): Update members.
647         (TEST): Redefine using new macros.
648         (INF): New macro.
649         (fetestmodes): New structure.
650         (do_test): Refactor to be type generic.
651         (test_in_one_mode): Refactor duplicate code into
652         (GEN_ONE_TEST): New macro.
654         * stdlib/tst-strtod-round-data.h: Regenerate.
656         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
657         Extend to pass additional arbitrary parameters to
658         generators.
660 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
662         [BZ #15479]
663         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
664         floating-point state after first floating-point operation on
665         input.  Restore full floating-point state instead of just rounding
666         mode.
667         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
668         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
669         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
670         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
671         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
673         [BZ #15479]
674         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
675         floating-point state after first floating-point operation on
676         input.  Restore full floating-point state instead of just rounding
677         mode.
678         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
679         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
680         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
681         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
682         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
684 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
686         [BZ #19727]
687         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
688         valid high surrogate.
689         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
690         of an utf16 surrogate.
691         * iconv/gconv_simple.c (BODY): Likewise.
692         * iconvdata/bug-iconv12.c: New file.
693         * iconvdata/Makefile (tests): Add bug-iconv12.
695 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
697         [BZ #19726]
698         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
699         outptrp in case of an illegal input.
700         * iconv/tst-iconv6.c: New file.
701         * iconv/Makefile (tests): Add tst-iconv6.
703 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
705         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
706         an error in case of a value in range of an utf16 low surrogate.
708 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
710         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
711         an error in case of a value in range of an utf16 low surrogate.
713 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
715         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
716         Move to ...
717         * sysdeps/s390/Makefile: ... here.
718         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
719         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
720         (BRANCH_ON_COUNT): New define.
721         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
722         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
723         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
724         run on s390-32, too.
725         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
726         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
727         run on s390-32, too.
728         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
729         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
730         run on s390-32, too.
732 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
734         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
735         etf3eh or new vector loop-variant.
737 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
739         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
740         etf3eh or new vector loop-variant.
742 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
744         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
745         or new vector loop-variant.
747 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
749         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
750         Rename to TR_LOOP and usage of tr instead of troo instruction.
752 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
754         * sysdeps/s390/multiarch/gconv_simple.c: New File.
755         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
757 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
759         * sysdeps/s390/multiarch/8bit-generic.c: New File.
760         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
761         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
762         New override define.
763         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
765 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
767         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
768         * sysdeps/s390/configure.ac: Add test for S390 vector register
769         support in gcc.
770         * sysdeps/s390/configure: Regenerated.
772 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
774         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
775         Install file from $(objpfx)gconv-modules.
776         ($(objpfx)gconv-modules): Concatenate architecture specific file
777         in variable sysdeps-gconv-modules and gconv-modules in src dir.
778         * sysdeps/s390/gconv-modules: New file.
779         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
780         Deleted.
781         ($(objpfx)gconv-modules-s390): Deleted.
782         (sysdeps-gconv-modules): New variable.
784 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
786         [BZ #15479]
787         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
788         of immediate operand to rounding instruction.
789         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
790         Likewise.
791         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
792         Likewise.
793         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
794         Likewise.
796 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
798         * math/libm-test.inc (MIN_EXP): Directly define as
799         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
801 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
803         * math/libm-test.inc (MANT_DIG): Directly define as
804         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
806 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
808         * stdlib/gen-tst-strtod-round.c (main):
809           Change usage to more closely match the generated
810           output.  Add usage and compilation instructions.
811           (string_to_fp): Add and use FILE* parameter as
812           output target.
813           (print_fp): Likewise.
814           (round_str): Likewise.
815           (round_for_all): Likewise.
816         * stdlib/tst-strtod-round.c (tests): Move into
817         * stdlib/tst-strtod-round-data.h: New file.
819 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
821         [BZ #15479]
822         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
823         (__round): Do not force "inexact" exception.
824         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
825         variable.
826         (__round): Do not force "inexact" exception.
827         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
828         (__roundf): Do not force "inexact" exception.
829         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
830         (__roundl): Do not force "inexact" exception.
831         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
832         (__roundl): Do not force "inexact" exception.
833         * math/libm-test.inc (round_test_data): Do not allow spurious
834         "inexact" exceptions.
836         [BZ #15479]
837         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
838         exception in comment.
839         (huge): Remove variable.
840         (__floor): Do not force "inexact" exception.
841         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
842         "inexact" exception in comment.
843         (huge): Remove variable.
844         (__floor): Do not force "inexact" exception.
845         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
846         exception in comment.
847         (huge): Remove variable.
848         (__floorf): Do not force "inexact" exception.
849         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
850         exception in comment.
851         (huge): Remove variable.
852         (__floorl): Do not force "inexact" exception.
854         [BZ #15479]
855         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
856         exception in comment.
857         (huge): Remove variable.
858         (__ceil): Do not force "inexact" exception.
859         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
860         "inexact" exception in comment.
861         (huge): Remove variable.
862         (__ceil): Do not force "inexact" exception.
863         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
864         (__ceilf): Do not force "inexact" exception.
865         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
866         exception in comment.
867         (huge): Remove variable.
868         (__ceill): Do not force "inexact" exception.
870 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
872         * config.h.in (BIND_NOW): New.
873         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
874         * configure: Regenerated.
875         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
876         indirect branch via the GOT slot.
878 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
880         [BZ #19765]
881         * sysdeps/s390/mempcpy.S: New File.
882         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
883         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
884         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
885         Add mempcpy variants.
886         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
887         (memcpy): Adjust to be usable from mempcpy entry point.
888         (__memcpy_mvcle): Likewise.
889         * sysdeps/s390/s390-64/memcpy.S: Likewise.
890         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
891         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
892         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
893         (__memcpy_z10): Likewise.
894         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
896 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
898         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
899         Remove __GI_ symbol.
900         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
901         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
902         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
903         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
904         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
905         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
907 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
909         * sysdeps/s390/s390-64/memcpy.S (memcpy):
910         Use cghi instead of chi to compare 64bit value.
912 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
914         * sysdeps/s390/s390-32/memcpy.S (memcpy):
915         Jump to 1MB check before executing mvc-loop.
917 2016-05-24  Florian Weimer  <fweimer@redhat.com>
919         [BZ #6527]
920         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
921         unconditionally.
922         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
924 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
926         * stdlib/tst-strtod6.c (do_test): Use new type generic
927         invocation of the test function.
928         (test): Refactor into ...
929         (TEST_STRTOD): New macro base function.
931 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
933         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
934         (TEST_STRTOD): New macro.
935         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
937 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
939         * stdlib/tst-strtod6.c (do_test): Use new type generic
940         invocation of the test function.
941         (test): Refactor into ...
942         (TEST_STRTOD): New macro base function.
944 2016-05-23  Florian Weimer  <fweimer@redhat.com>
946         CVE-2016-4429
947         [BZ #20112]
948         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
949         payload.
951 2016-05-23  Florian Weimer  <fweimer@redhat.com>
953         [BZ #20111]
954         * bits/sockaddr.h (_SS_SIZE): Define.
955         * bits/socket.h (_SS_SIZE): Remove.
956         (_SS_PADSIZE): Adjust to account for all padding.
957         (struct sockaddr_storage): Update comment.  Avoid implicit
958         padding.
959         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
960         (_SS_PADSIZE): Adjust to account for all padding.
961         (struct sockaddr_storage): Update comment.  Avoid implicit
962         padding.
963         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
964         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
965         (_SS_PADSIZE): Adjust to account for all padding.
966         (struct sockaddr_storage): Update comment.  Avoid implicit
967         padding.
968         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
969         __SS_SIZE is 126 in this version.
970         * inet/tst-sockaddr.c: New file.
971         * inet/Makefile (tests): Add tst-sockaddr.c
972         (tst-sockaddr.c): Compile with non-strict aliasing.
974 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
976         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
977         [XPG3 || XPG4].
978         (NL_ARGMAX): Also expect for [XPG3].
979         (NL_LANGMAX): Likewise.
980         (NL_MSGMAX): Likewise.
981         (NL_NMAX): Likewise.
982         (NL_SETMAX): Likewise.
983         (NL_TEXTMAX): Likewise.
984         (NZERO): Likewise.
985         (TMP_MAX): Likewise.
986         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
987         variable.
989         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
990         (PF_MAX): Update value.
991         (AF_KCM): New macro.
992         (SOL_NETBEUI): Likewise.
993         (SOL_LLC): Likewise.
994         (SOL_DCCP): Likewise.
995         (SOL_NETLINK): Likewise.
996         (SOL_TIPC): Likewise.
997         (SOL_RXRPC): Likewise.
998         (SOL_PPPOL2TP): Likewise.
999         (SOL_BLUETOOTH): Likewise.
1000         (SOL_PNPIPE): Likewise.
1001         (SOL_RDS): Likewise.
1002         (SOL_IUCV): Likewise.
1003         (SOL_CAIF): Likewise.
1004         (SOL_ALG): Likewise.
1005         (SOL_NFC): Likewise.
1006         (SOL_KCM): Likewise.
1007         (MSG_BATCH): New enum value and macro.
1009 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1011         [BZ #18185]
1012         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
1013         sharing L2 cache to 2 for Knights Landing.
1015 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
1017         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
1018         (FTW_DP): Do not expect for [XPG3 || XPG4].
1019         (FTW_SL): Do not expect for [XPG3].
1020         (FTW_SLN): Likewise.
1021         (FTW_PHYS): Likewise.
1022         (FTW_MOUNT): Likewise.
1023         (FTW_DEPTH): Likewise.
1024         (FTW_CHDIR): Likewise.
1025         (nftw): Likewise.
1026         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
1027         variable.
1029 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1031         * manual/errno.texi: Fix various typos & grammar errors.
1033 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1035         * manual/intro.texi: Fix duplicated typo.
1037 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1039         [BZ #13304]
1040         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
1041         <float.h>, <math_private.h> and <stdlib.h>.
1042         (add_split): New function.
1043         (mul_split): Likewise.
1044         (ext_val): New typedef.
1045         (store_ext_val): New function.
1046         (mul_ext_val): New function.
1047         (compare): New function.
1048         (add_split_ext): New function.
1049         (__fmal): After checking for Inf, NaN and zero, compute result as
1050         an exact sum of scaled double values in round-to-nearest before
1051         adding those up and adjusting for other rounding modes.
1052         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
1053         tests of fma.
1054         * math/auto-libm-test-out: Regenerated.
1056 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1058         [BZ #20119]
1059         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
1060         processor level type mask for CPUID with EAX == 11.
1062 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1064         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
1065         logical threads if the HTT bit is 0.
1066         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
1067         (index_cpu_HTT): Likewise.
1068         (reg_HTT): Likewise.
1070 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1072         [BZ #20115]
1073         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
1074         Remove alignments on jump targets.
1076 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1078         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
1079         (getpwent): Likewise.
1080         (setpwent): Likewise.
1081         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
1082         variable.
1084         * conform/data/search.h-data (insque): Do not expect for [XPG3].
1085         (remque): Likewise.
1086         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
1087         variable.
1089 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1091         * math/libm-test.inc: Update comment not to refer to signs of NaNs
1092         not being tested.
1094 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1096         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1097         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
1098         call.
1099         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1100         (__condvar_cleanup1): Likewise.
1102 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1104         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
1105         New
1106         (__pthread_unwind): Renamed to ...
1107         (PTHREAD_UNWIND): This.
1108         (__pthread_enable_asynccancel): Replace
1109         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
1111 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1113         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
1114         (CLONE_NEWCGROUP): New macro.
1116         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
1117         (Q_GETNEXTQUOTA): New macro.
1119 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1121         [BZ #19907]
1122         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
1123         buffer updated by the previous run.
1124         * string/test-memcpy.c (do_one_test): Likewise.
1125         * benchtests/bench-memmove.c (do_one_test): Add a comment.
1126         * string/test-memmove.c (do_one_test): Likewise.
1128 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
1130         [BZ #20094]
1131         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
1132         not [__USE_XOPEN].
1133         (unlockpt): Likewise.
1134         (ptsname): Likewise.
1135         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
1136         variable.
1138         [BZ #20076]
1139         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
1140         instead of [__USE_UNIX98].
1141         (S_ISSOCK): Likewise.
1142         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
1143         variable.
1145         [BZ #20074]
1146         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
1147         [__USE_POSIX].
1148         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
1149         variable.
1151         [BZ #20051]
1152         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
1153         (ttyslot): Do not declare.
1154         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
1155         (ttyslot): New prototype.
1156         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
1157         variable.
1158         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1160 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1162         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
1164 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1166         Fix race condition in tst-mallocfork2, use fewer resources.
1167         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
1168         to current process group.
1169         (signal_sender): Yield in the non-sleeping case.
1171 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
1173         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
1174         (ecvt): Likewise.
1175         (fcvt): Likewise.
1176         (gcvt): Likewise.
1177         (getsubopt): Likewise.
1178         (grantpt): Likewise.
1179         (initstate): Likewise.
1180         (l64a): Likewise.
1181         (mktemp): Likewise.
1182         (mkstemp): Likewise.
1183         (ptsname): Likewise.
1184         (random): Likewise.
1185         (realpath): Likewise.
1186         (setstate): Likewise.
1187         (srandom): Likewise.
1188         (ttyslot): Likewise.
1189         (unlockpt): Likewise.
1190         (valloc): Likewise.
1192         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
1193         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
1194         variable.
1196 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1198         [BZ #20072]
1199         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
1200         init_cpu_features only if SHARED is defined.
1201         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1203 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1205         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
1206         non-inclusive caches on Intel processors.
1208 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1210         * malloc/malloc.c (dumped_main_arena_start)
1211         (dumped_main_arena_end): New variables.
1212         (DUMPED_MAIN_ARENA_CHUNK): New macro.
1213         (do_check_chunk): Skip dumped fake mmapped chunks.
1214         (munmap_chunk): Likewise.
1215         (__libc_free): Do not adjust statistics for fake mmapped chunks.
1216         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
1217         mmapped chunks.
1218         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
1219         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
1220         and dumped_main_arena_end to cover the dumped heap.
1222 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
1224         * conform/data/time.h-data (getdate_err): Do not expect for
1225         [XPG3].
1226         (getdate): Likewise.
1227         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
1228         variable.
1230         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
1231         (F_ULOCK): Likewise.
1232         (F_TEST): Likewise.
1233         (F_TLOCK): Likewise.
1234         (useconds_t): Likewise.
1235         (intptr_t): Do not expect for [XPG3] or [XPG4].
1236         (brk): Do not expect for [XPG3]
1237         (fchown): Likewise.
1238         (fchdir): Likewise.
1239         (ftruncate): Likewise.
1240         (getdtablesize): Likewise.
1241         (gethostid): Likewise.
1242         (getpagesize): Likewise.
1243         (getpgid): Likewise.
1244         (getsid): Likewise.
1245         (getwd): Likewise.
1246         (lchown): Likewise.
1247         (lockf): Likewise.
1248         (readlink): Likewise.
1249         (sbrk): Likewise.
1250         (setpgrp): Likewise.
1251         (setregid): Likewise.
1252         (setreuid): Likewise.
1253         (symlink): Likewise.
1254         (sync): Likewise.
1255         (truncate): Likewise.
1256         (ualarm): Likewise.
1257         (usleep): Likewise.
1258         (vfork): Likewise.
1259         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
1260         variable.
1262         [BZ #20054]
1263         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
1264         not [__USE_UNIX98].
1265         * conform/data/unistd.h-data (gethostname): Do not expect for
1266         [XPG3].
1268         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
1269         [!POSIX] (S_IFBLK): Likewise.
1270         [!POSIX] (S_IFCHR): Likewise.
1271         [!POSIX] (S_IFIFO): Likewise.
1272         [!POSIX] (S_IFREG): Likewise.
1273         [!POSIX] (S_IFDIR): Likewise.
1274         [!POSIX] (S_IFLNK): Likewise.
1275         [!POSIX] (S_IFSOCK): Likewise.
1276         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
1277         variable.
1278         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1280 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
1282         * sysdeps/aarch64/memset.S (__memset):
1283         Rewrite of optimized memset.
1285 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1287         [BZ #19703]
1288         Partially async-signal-safe fork for single-threaded processes.
1289         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
1290         variable.  Do not acquire and reset/release malloc and libio locks
1291         in single-threaded processes.
1292         * malloc/tst-mallocfork2.c: New file.
1293         * malloc/Makefile (tests): Add it.
1295 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1297         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
1298         argument.  Use scratch buffer instead of extend_alloca.
1299         (gethosts): Use scratch buffer instead of extend_alloca.
1300         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
1301         extend_alloca.
1302         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
1304 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
1306         [BZ #20055]
1307         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
1308         instead of [__USE_UNIX98].
1309         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
1310         [__USE_UNIX98].
1311         * conform/data/termios.h-data (tcgetsid): Do not expect for
1312         [XPG3].
1313         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
1314         variable.
1315         (test-xfail-XPG4/termios.h/conform): Likewise.
1317 2016-05-11  Florian Weimer  <fweimer@redhat.com>
1319         Do not use mcheck in localedef.
1320         * locale/programs/localedef.c (turn_on_mcheck)
1321         (__malloc_initialize_hook): Remove.
1323 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1325         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
1326         * sysdeps/s390/s390-64/Makefile: Likewise.
1328 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1330         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
1331         Remove ifunc-defines.sym.
1332         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
1333         Likewise.
1334         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
1335         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1336         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
1337         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
1338         rtld-global-offsets.sym.
1339         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
1340         * sysdeps/x86/cpu-features-offsets.sym: This.
1341         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
1342         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
1344 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
1346         [BZ #20073]
1347         * io/sys/stat.h (fchmod): Declare for
1348         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
1349         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
1350         variable.
1352         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
1353         [XPG3] (S_IFSOCK): Likewise.
1354         [XPG3] (S_ISVTX): Likewise.
1355         [XPG3] (S_ISLNK): Likewise.
1356         [XPG3] (S_ISSOCK): Likewise.
1357         [XPG3] (fchmod): Likewise.
1358         [XPG3] (lstat): Likewise.
1359         [XPG3] (mknod): Likewise.
1361         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
1362         [XPG3].  Expect type long and XFAIL for [XPG4].
1363         (st_blocks): Likewise.
1365         [BZ #20044]
1366         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
1367         (pthread_atfork): New prototype.
1368         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
1369         variable.
1371         [BZ #20043]
1372         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
1373         prototype.
1375 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1377         [BZ #20017]
1378         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
1379         gmtime.
1381 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1383         [BZ #19994]
1384         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
1385         flag in _res.options.
1387 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
1389         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
1390         [XPG3 || XPG4].
1391         (blksize_t): Likewise.
1392         (clockid_t): Likewise.
1393         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
1394         variable.
1395         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1397 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1399         * sysdeps/unix/sysv/linux/s390/init-first.c:
1400         Add VDSO_SYMBOL(getcpu).
1401         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
1402         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
1403         Add VDSO_SYMBOL(getcpu).
1404         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
1405         New define HAVE_GETCPU_VSYSCALL.
1406         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1408 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1410         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
1411         instead of <sysdeps/x86_64/cacheinfo.c>.
1412         * sysdeps/x86_64/cacheinfo.c: Moved to ...
1413         * sysdeps/x86/cacheinfo.c: Here.
1415 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1417         * malloc/malloc-internal.h: Adjust header file guard.
1419 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1421         [BZ #19787]
1422         * inet/getnameinfo.c (check_sprintf_result): New function.
1423         (CHECKED_SNPRINTF): New macro.
1424         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
1425         to the host buffer.
1426         (gni_host_local): Use checked_copy to copy the host name.
1427         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
1428         (gni_serv_local): Use checked_copy to copy the service name.
1429         (getnameinfo): Remove unnecessary truncation of result buffers.
1431 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1433         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
1434         in case of inet_ntop failure.
1436 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1438         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
1439         avoid long lines.
1440         (gni_host_inet_numeric): Likewise.  Reduce scope of local
1441         variables.
1442         (gni_host_inet, gni_host_local): Add comment.
1443         (gni_host): Add comment.  Use temporary to avoid long lines.
1445 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1447         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
1448         registers specifiers where general purpose registers specifiers should
1449         have been used.
1451 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1453         [BZ #19779]
1454         CVE-2016-1234
1455         Avoid copying names of directory entries.
1456         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
1457         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
1458         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
1459         (struct readdir_result): New type.
1460         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
1461         (GL_READDIR): New macros.
1462         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
1463         (convert_dirent, convert_dirent64): New functions.
1464         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
1465         convert_dirent64.  Adjust references to the readdir result.
1466         * sysdeps/unix/sysv/linux/i386/glob64.c:
1467         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
1468         * posix/bug-glob2.c (LONG_NAME): Define.
1469         (filesystem): Add LONG_NAME.
1470         (my_DIR): Increase the size of room_for_dirent.
1472 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
1474         [BZ #20041]
1475         * misc/sys/select.h (__need_timespec): Only define if
1476         [__USE_XOPEN2K].
1477         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
1478         variable.
1479         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1480         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1481         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1483 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1484             Segher Boessenkool  <segher@gcc.gnu.org>
1486         [BZ #20004]
1487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
1488         (__novec_swapcontext): Add missing load.
1490 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
1492         [BZ #20023]
1493         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
1494         <time.h>.
1495         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
1496         variable.
1497         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1499 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
1502         flags CLONE_VM compare.
1504 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1506         [BZ #20031]
1507         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
1508         completely empty.
1510 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1512         [BZ #19573]
1513         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
1514         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
1515         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
1516         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
1517         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
1518         (hesiod_free_list): Mark as hidden.
1519         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
1520         res_set, res_get.
1521         * hesiod/hesiod.c: Remove unnecessary forward declarations.
1522         (init, __hesiod_res_get, __hesiod_res_set): Remove.
1523         (hesiod_init): Remove obsolete res_ninit call.
1524         (hesiod_end): Do not free resolver state.  Do not invoke callback.
1525         (hesiod_bind): Do not call init.
1526         (get_txt_records): Use res_mkquery, res_send instead of
1527         res_nmkquery, res_nsend.
1528         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
1529         instead of _nss_hesiod_init.
1530         (_nss_hesiod_initgroups_dyn): Likewise.
1531         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
1532         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
1533         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
1535 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1537         * hesiod/hesiod_p.h (DEF_RHS): Remove.
1538         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
1540 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1542         * hesiod/hesiod.h: Remove RCS keyword.
1543         * hesiod/hesiod_p.h: Likewise.
1545         * hesiod/hesiod.c: Likewise.
1547 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
1549         [BZ #12450]
1550         * locale/iso-639.def: Add Samogitian/sgs.
1552 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
1554         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
1556         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
1558 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
1559             Carlos O'Donell  <carlos@redhat.com>
1561         [BZ #19072]
1562         * grp/Makefile (headers): Add grp-merge.h
1563         (routines): Add grp-merge.
1564         * grp/getgrgid_r.c: Include grp-merge.h.
1565         (DEEPCOPY_FN): Define.
1566         (MERGE_FN): Define.
1567         * grp/getgrname_r.c: Include grp-merge.h.
1568         (DEEPCOPY_FN): Define.
1569         (MERGE_FN): Define.
1570         * grp/grp-merge.c: New file.
1571         * grp/grp-merge.h: New file.
1572         * include/grp-merge.h: New file.
1573         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
1574         __copy_grp@GLIBC_PRIVATE.
1575         * manual/nss.texi (Actions in the NSS configuration): Describe
1576         return, continue, and merge.
1577         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
1578         (DEEPCOPY_FN): Define.
1579         (MERGE_FN): Define.
1580         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
1581         (DEEPCOPY_FN): Define.
1582         (MERGE_FN): Define.
1583         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
1584         [!MERGE_FN]: Define __merge_einval.
1585         (CHECK_MERGE): Define.
1586         (REENTRANT_NAME): Process merge if do_merge is true.
1587         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
1588         (__nss_getent_r): Likewise.
1589         * nss/nsswitch.c (nss_parse_service_list): Likewise.
1590         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
1592 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1594         [BZ #20012]
1595         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
1596         length to calculate the buffer to read.
1597         (fmemopen_write): Set the buffer position based on bytes written.
1598         (fmemopen_seek): Return EINVAL for invalid whence modes.
1600         [BZ #19957]
1601         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
1602         tst-getpid2.
1603         (test): Add tst-clone2.
1604         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
1605         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
1606         pid/tid fields for CLONE_VM.
1607         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1608         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1609         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1610         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
1611         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1612         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1613         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1614         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1616         Likewise.
1617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1618         Likewise.
1619         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1620         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1621         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1622         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1623         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1624         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1625         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1626         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
1628 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1630         [BZ #19642]
1631         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
1632         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
1633         (gni_serv_local, gni_serv): New functions extracted from
1634         getnameinfo.
1635         (getnameinfo): Call gni_host and gni_serv to perform the
1636         processing.  Always free scratch buffer.
1638 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1640         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
1641         remaining bytes in the dest string, with zeros.
1643 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1645         [BZ #20010]
1646         CVE-2016-3706
1647         * sysdeps/posix/getaddrinfo.c
1648         (convert_hostent_to_gaih_addrtuple): New function.
1649         (gethosts): Call convert_hostent_to_gaih_addrtuple.
1650         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
1651         AF_INET data.
1653 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1655         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
1656         callback function gl_readdir.
1657         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
1658         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
1659         (glob_in_dir): Remove len.  Use strdup instead of malloc and
1660         memcpy to copy the name.
1661         * manual/pattern.texi (Calling Glob): Document requirements for
1662         implementations of the gl_readdir callback function.
1663         * manual/examples/mkdirent.c: New example.
1664         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
1665         per the manual guidance.
1666         * posix/tst-gnuglob.c (my_readdir): Likewise.
1668 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
1670         [BZ #20014]
1671         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
1672         not [__USE_POSIX].
1673         (getchar_unlocked): Likewise.
1674         (putc_unlocked): Likewise.
1675         (putchar_unlocked): Likewise.
1676         (flockfile): Likewise.
1677         (ftrylockfile): Likewise.
1678         (funlockfile): Likewise.
1679         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
1680         variable.
1681         (test-xfail-XPG4/stdio.h/conform): Likewise.
1683         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
1684         Expect constant.
1685         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
1686         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
1687         variable.
1688         (test-xfail-XPG4/langinfo.h/conform): Likewise.
1689         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1691         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
1692         [__USE_LARGEFILE64] (off64_t): Likewise.
1693         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
1694         variable.
1696 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1698         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
1700 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1702         * resolv/inet_addr.c: Reindent preprocessor conditionals.
1703         * resolv/res_init.c: Likewise.
1704         * resolv/res_mkquery.c: Likewise.
1706 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1708         * resolv/res_init.c (isascii): Do not define.  Use definition in
1709         <ctype.h>.
1710         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
1711         (LOG_AUTH): Remove.
1712         (SPRINTF): Remove, adjust caller.
1713         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
1715 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1717         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
1718         SUNSECURITY conditional.
1719         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
1721 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1723         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
1724         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
1725         Remove BSD-related preprocessor conditionals.
1726         * conf/portability.h: Remove.
1728 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1730         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
1731         * resolv/res_data.c: Likewise.
1733 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1735         * resolv/res_comp.c: Remove code conditional on __ultrix__.
1736         * resolv/res_data.c: Remove code conditional on ultrix.
1738 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1740         * resolv/res_init.c (RFC1535): Do not define.  Remove
1741         RFC1535 preprocessor conditionals.
1742         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
1743         because there configuration options which make the resolver
1744         behavior different.
1746 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1748         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
1749         RESOLVSORT preprocessor conditionals.
1750         * resolv/nss_dns/dns-host.c: Likewise.
1751         * resolv/res_init.c: Likewise.
1753 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1755         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
1756         is never defined.
1758 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1760         * inet/inet_lnaof.c: Remove SCSS keyword.
1761         * inet/inet_mkadr.c: Likewise.
1762         * inet/inet_net.c: Likewise.
1763         * inet/inet_netof.c: Likewise.
1764         * inet/rcmd.c: Likewise.
1765         * inet/rexec.c: Likewise.
1766         * inet/ruserpass.c: Likewise.
1768 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1770         * resolv/inet_addr.c: Remove _LIBC conditionals.
1771         * resolv/res_data.c: Likewise.
1772         * resolv/res_init.c: Likewise.
1773         * resolv/res_mkquery.c: Likewise.
1774         * resolv/res_libc.c: Update comment.
1775         * resolv/README: Update.
1777 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1779         * resolv/gethnamaddr.c: Remove SCSS keyword.
1780         * resolv/herror.c: Likewise.
1781         * resolv/inet_addr.c: Likewise.
1782         * resolv/inet_net_ntop.c: Likewise.
1783         * resolv/inet_net_pton.c: Likewise.
1784         * resolv/inet_neta.c: Likewise.
1785         * resolv/inet_ntop.c: Likewise.
1786         * resolv/inet_pton.c: Likewise.
1787         * resolv/ns_date.c: Remove RCS keyword.
1788         * resolv/ns_name.c: Likewise.
1789         * resolv/ns_netint.c: Likewise.
1790         * resolv/ns_parse.c: Likewise.
1791         * resolv/ns_print.c: Likewise.
1792         * resolv/ns_samedomain.c: Likewise.
1793         * resolv/ns_ttl.c: Likewise.
1794         * resolv/nsap_addr.c: Likewise.
1795         * resolv/res_comp.c: Remove SCSS and RCS keyword.
1796         * resolv/res_data.c: Remove RCS keyword.
1797         * resolv/res_debug.c: Remove SCSS and RCS keyword.
1798         * resolv/res_init.c: Likewise.
1799         * resolv/res_mkquery.c: Likewise.
1800         * resolv/res_query.c: Likewise.
1801         * resolv/res_send.c: Likewise.
1803 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1805         * conform/data/stdio.h-data (fdopen): Expect also for
1806         [XPG3 || XPG4].
1808         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
1809         (fseeko): Likewise.
1810         (ftello): Likewise.
1811         (ftrylockfile): Likewise.
1812         (funlockfile): Likewise.
1813         (getc_unlocked): Likewise.
1814         (getchar_unlocked): Likewise.
1815         (putc_unlocked): Likewise.
1816         (putchar_unlocked): Likewise.
1818 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1820         [BZ #19868]
1821         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
1822         DNS packet syntax checks (which were not needed before).  Skip
1823         over non-PTR records.
1825 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1827         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
1828         definition.  Include <stddef.h> instead.
1830 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1832         [BZ #19831]
1833         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
1834         function.
1835         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
1836         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
1838 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1840         [BZ #19862]
1841         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
1842         (getanswer_r): Do not call syslog.
1843         (gaih_getanswer_slice): Likewise.
1844         * resolv/gethnamaddr.c (AskedForGot): Remove.
1845         (getanswer): Do not call syslog.
1846         (gethostbyaddr): Likewise.
1848 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1850         * conform/data/signal.h-data (union sigval): Expect also if
1851         [XOPEN2K].
1852         (struct sigevent): Likewise.
1853         (SIGEV_NONE): Likewise.
1854         (SIGEV_SIGNAL): Likewise.
1855         (SIGEV_THREAD): Likewise.
1856         (SIGRTMIN): Likewise.
1857         (SIGRTMAX): Likewise.
1858         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
1859         variable.
1860         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1862 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1864         [BZ #19830]
1865         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
1866         (gaih_getanswer_slice): Likewise.
1867         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
1868         Also check for availability of RR metadata.
1870 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1872         [BZ #19825]
1873         * resolv/res_send.c (send_vc): Remove early *resplen2
1874         initialization.  Set *resplen2 on socket error.  Call
1875         close_and_return_error for other errors.
1877 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1879         * sysdeps/unix/sysv/linux/netiucv/iucv.h
1880         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
1881         (SCM_IUCV_TRGCLS): New define.
1883 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1885         [BZ #20005]
1886         * libio/fmemopen.c (fmemopen_write): Update internal position after
1887         write.
1888         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
1889         * stdio-common/tst-fmemopen4.c: New file..
1891 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
1893         [BZ #19996]
1894         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
1895         not [__USE_XOPEN2K].
1896         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
1897         variable.
1899         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
1900         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
1901         variable.
1903         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
1904         [__USE_XOPEN2K8].
1905         [__USE_LARGEFILE64] (off64_t): Likewise.
1906         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
1907         variable.
1909 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
1911         [BZ #19989]
1912         * libio/stdio.h (cuserid): Do not declare if
1913         [__USE_XOPEN2K && !__USE_GNU].
1914         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
1915         variable.
1917 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1919         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1920         (sysdep_routines): Add P8 and PPC64 strcspn targets.
1921         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1922         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1923         ifunc'ed strcspn.
1924         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1925         [EALIGN]: Removed.
1926         [END]: Likewise
1927         [STRSPN]: Define instead of the above to control symbol name.
1928         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
1929         New file.
1930         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
1931         Likewise.
1932         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
1933         Likewise.
1934         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
1935         Likewise.
1936         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1937         [INITIAL_MASK]: New macro.
1938         [STRCSPN]: Likewise.
1939         [UPDATE_MASK]: Likewise.
1940         [USE_AS_STRCSPN]: Lisewise.
1942 2016-04-25  Florian Weimer  <fweimer@redhat.com>
1944         [BZ #19931]
1945         * stdio-common/tst-vfprintf-width-prec.c: New file.
1946         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
1947         (tests-special): Add tst-vfprintf-width-prec-mem.out.
1948         (generated): Add mtrace-related files.
1949         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
1950         (tst-%-mem.out): New pattern rule, replaces
1951         tst-printf-bz18872-mem.out.
1952         * stdio-common/vfprintf.c (vfprintf): When handling a precision
1953         specifier, deallocate any previously allocated work buffer.
1955 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1957         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
1958         Add nop before __startcontext, add explaining comments.
1960 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
1962         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
1963         any more. Notably since IPV6_PKTINFO has been reintroduced with a
1964         completely different API.
1966         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
1967         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
1968         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
1969         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
1970         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
1971         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
1972         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
1973         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
1974         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
1975         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
1977 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
1979         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
1981 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
1983         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
1984         when it is the default of 0.
1986 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1988         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
1989         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1990         (sysdep_routines): Add new strcasestr targets.
1991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1992         (__libc_ifunc_impl_list): Likewise.
1993         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
1994         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
1995         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
1996         * sysdeps/powerpc/powerpc64/power8/Makefile:
1997         New file to add strcasestr-ppc64 to sysdep_routines.
1998         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
1999         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
2001 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
2003         * benchtests/Makefile (wcsmbs-benchset): Include only for
2004         native builds and runs.
2005         (LOCALES): Likewise.
2006         (bench-build): Build timing-type here instead of the bench
2007         target.  Generate locale only for native builds.
2008         * benchtests/README: Add note for cross-building.
2010         * benchtests/Makefile (bench-clean): Clean up extra-objs.
2012         * benchtests/README: Update README to include instructions on
2013         using bench-build.
2015         * Makefile.in (bench-build): New target.
2016         * Rules (PHONY): Add bench-build target.
2017         * benchtests/Makefile (bench): Depend on bench-build.
2018         (bench-build): New target.
2020 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2022         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
2023         profil_reply_port.
2024         (profile_waiter): Do not initialize profil_reply_port.
2025         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
2026         frequency instead of tick length in us.
2028 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
2030         [BZ #18712]
2031         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
2032         (__old_mempcpy_small): Likewise.
2033         (__old_strcpy_small): Likewise.
2034         (__old_stpcpy_small): Likewise.
2035         (__old_strpbrk_c2): Fix compat symbol name.
2036         (__old_strpbrk_c3): Likewise.
2037         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
2038         (__mempcpy_small): Remove.
2039         (__strcpy_small): Remove.
2040         (__stpcpy_small): Remove.
2042 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
2044         [BZ #19400]
2045         * locale/iso-639.def: Add the Talossan/tzl language.
2047 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2049         [BZ #16983]
2050         * locale/programs/ld-address.c (address_finish): Update postal_fmt
2051         comment.  Add "ln" to strchr check on postal_fmt.
2053 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2055         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
2056         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
2057         tel_dom_fmt.
2059 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2061         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2062         (sysdep_routines): Added __strlen_power8.
2063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
2064         __strlen_power8 entry.
2065         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
2066         Implementation for POWER8.
2067         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
2068         for __strlen_power8.
2069         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
2070         Implementation for POWER8.
2072 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
2074         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
2076 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
2078         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
2079         Goldmont and Airmont processors.
2081 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
2083         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
2084         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
2085         (__STRING2_SMALL_GET32): Remove.
2086         (memset): Remove.
2087         (__memset_1): Remove.
2088         (__memset_gc): Remove.
2089         (__mempcpy): Remove.
2090         (mempcpy): Remove.
2091         (__mempcpy_args): Remove.
2092         (strchr): Remove.
2093         (strcpy): Remove.
2094         (strcpy_args): Remove.
2095         (__stpcpy_args): Remove.
2096         (__strcmp_cc): Remove.
2097         (__strcmp_gc): Remove.
2098         (strstr): Remove.
2100 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
2102         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
2103         * nis/nis_call.c (nis_server_cache_add): Likewise.
2105 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2107         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
2109 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2111         * malloc/arena.c (__malloc_fork_lock_parent)
2112         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
2113         internal_function attribute.
2115 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
2117         * stdio-common/printf_fp.c (__printf_fp_l):
2118         Rename ___printf_fp_l to __printf_fp_l and
2119         remove strong alias. Use libc_hidden_def instead
2120         of ldbl_hidden_def macro.
2122 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2124         Remove malloc hooks from fork handler.  They are no longer needed
2125         because malloc runs right before fork, and no malloc calls from
2126         other fork handlers are not possible anymore.
2127         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
2128         declarations.
2129         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
2130         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
2131         (atfork_recursive_cntr): Remove.
2132         (__malloc_fork_lock_parent): Do not override malloc hooks and
2133         thread_arena.
2134         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
2135         thread_arena.
2136         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
2137         thread_arena instead of save_arena.
2139 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2141         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
2142         (thread_atfork, thread_atfork_static): Remove.
2143         * sysdeps/mach/hurd/malloc-machine.h:
2144         (thread_atfork, thread_atfork_static): Remove.
2146 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2148         [BZ #19431]
2149         Run the malloc fork handler as late as possible to avoid deadlocks.
2150         * malloc/malloc-internal.h: New file.
2151         * malloc/malloc.c: Include it.
2152         * malloc/arena.c (ATFORK_MEM): Remove.
2153         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
2154         Update comment.
2155         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
2156         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
2157         Remove outdated comment.
2158         (ptmalloc_init): Do not call thread_atfork.  Remove
2159         thread_atfork_static.
2160         * malloc/tst-malloc-fork-deadlock.c: New file.
2161         * Makefile (tests): Add tst-malloc-fork-deadlock.
2162         (tst-malloc-fork-deadlock): Link against libpthread.
2163         * manual/memory.texi (Aligned Memory Blocks): Update safety
2164         annotation comments.
2165         * sysdeps/nptl/fork.c (__libc_fork): Call
2166         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2167         __malloc_fork_unlock_child.
2168         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2170 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2172         [BZ #19613]
2173         Remove union wait.
2174         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
2175         (w_stopsig, w_stopval): Remove.
2176         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
2177         stat_loc argument.
2178         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
2179         (__WAIT_STATUS_DEFN): Remove.
2180         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2181         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
2182         (wait, wait3, wait4): Use int * for the stat_loc argument.
2183         * posix/wait.c (__wait): Likewise.
2184         * posix/wait3.c (__wait3): Likewise.
2185         * posix/wait4.c (__wait4): Likewise.
2186         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
2187         (__WAIT_STATUS_DEFN): Remove.
2188         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2189         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
2190         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
2191         argument.
2192         * sysdeps/posix/wait.c (__libc_wait): Likewise.
2193         * sysdeps/posix/wait3.c (__wait3): Likewise.
2194         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
2195         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2196         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
2197         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
2198         stat_loc argument.
2199         * manual/process.texi (BSD Wait Functions): Remove union wait.
2201 2016-04-13  Andreas Schwab  <schwab@suse.de>
2203         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
2204         (test-extras): Add tst-tlsalign-vars.
2205         * math/Makefile: Wrap long lines.
2206         (libm-vec-test-wrappers): Define.
2207         (test-extras): Add $(libm-vec-test-wrappers).
2208         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
2209         * nss/Makefile (extra-test-objs): Add nss_test1.os.
2210         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
2211         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
2212         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
2213         (extra-test-objs): Add corresponding objects.
2215 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
2217         [BZ #19928]
2218         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
2219         New.
2220         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
2221         times of shared cache size.
2222         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
2223         (VMOVNT): New.
2224         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
2225         (VMOVNT): Likewise.
2226         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
2227         (VMOVNT): Likewise.
2228         (VMOVU): Changed to movups for smaller code sizes.
2229         (VMOVA): Changed to movaps for smaller code sizes.
2230         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
2231         comments.
2232         (PREFETCH): New.
2233         (PREFETCH_SIZE): Likewise.
2234         (PREFETCHED_LOAD_SIZE): Likewise.
2235         (PREFETCH_ONE_SET): Likewise.
2236         Rewrite to use forward and backward loops, which move 4 vector
2237         registers at a time, to support overlapping addresses and use
2238         non temporal store if size is above the threshold and there is
2239         no overlap between destination and source.
2241 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
2243         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
2244         Include dl-vdso.
2245         * sysdeps/unix/sysv/linux/mips/Versions: Add
2246         __vdso_clock_gettime.
2247         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
2248         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
2249         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
2250         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
2251         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
2252         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2253         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2254         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2255         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2257 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2259         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
2260         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2261         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2262         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2263         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2264         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2267         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
2268         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
2269         syscalls generation.
2270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2271         [__NR_pwrite64] (__NR_write): Remove define.
2272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2273         [__NR_pwrite64] (__NR_write): Remove define.
2274         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
2275         Remove define.
2276         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
2277         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
2278         Remove define.
2279         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
2280         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
2281         Linux implementation as base.
2282         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2284         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
2285         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2286         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2287         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
2289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2290         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
2291         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
2292         syscall generation.
2293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2294         [__NR_pread64] (__NR_pread): Remove define.
2295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2296         [__NR_pread64] (__NR_pread): Likewise.
2297         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
2298         define.
2299         (__libc_pread): Use SYSCALL_LL macro on offset argument.
2300         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
2301         Remove define.
2302         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
2303         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
2304         Linux implementation as base.
2305         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2306         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2307         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2309         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
2310         definition.
2311         (__ALIGNMENT_COUNT): Likewise.
2312         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
2313         (__ALIGNMENT_COUNT): Likewise.
2314         (SYSCALL_LL): New define.
2315         (SYSCALL_LL64): Likewise.
2316         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
2317         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
2318         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
2319         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
2321         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2322         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
2323         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2324         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2325         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2326         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2328 2016-04-11  Florian Weimer  <fweimer@redhat.com>
2330         [BZ #19865]
2331         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
2332         original buffer before retry.
2334 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2336         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
2337         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
2338         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
2339         GLRO(dl_auxv) list.
2340         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
2341         including <ldsodefs.h>.
2342         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
2344 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
2346         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
2347         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
2348         $(CPPFLAGS).
2350 2016-04-09  Khem Raj  <raj.khem@gmail.com>
2352         [BZ #17950]
2353         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
2354         Add -mfpmath=387.
2356 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
2358         * sysdeps/i386/configure.ac: Change == to = when calling test.
2359         * sysdeps/x86_64/configure.ac: Likewise.
2360         * sysdeps/i386/configure: Regenerated.
2361         * sysdeps/x86_64/configure: Likewise.
2363 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
2365         [BZ #16137]
2366         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
2367         * benchtests/bench-strcoll.c (input_files): Likewise.
2368         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2369         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
2370         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
2372 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
2374         [BZ #19929]
2375         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
2376         [__USE_XOPEN2K8 && !__USE_GNU].
2377         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
2378         variable.
2380         [BZ #19925]
2381         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
2382         define if [!__USE_MISC && __USE_XOPEN2K].
2383         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
2384         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
2385         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
2386         Likewise.
2387         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
2388         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
2389         variable.
2390         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2392 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2394         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2395         (sysdep_routines): Add new strspn targets.
2396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2397         (__libc_ifunc_impl_list): Add strspn.
2398         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2399         New file.
2400         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
2401         Likewise.
2402         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
2403         Likewise.
2404         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2405         Likewise.
2407 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2409         * misc/hsearch_r.c: Include <limits.h>.
2411 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2413         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
2415 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2417         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2418         (MEMCPY_SYMBOL): New.
2419         (MEMPCPY_SYMBOL): Likewise.
2420         (MEMMOVE_CHK_SYMBOL): Likewise.
2421         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
2422         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
2423         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
2424         Provide alias for memcpy in libc.a and ld.so.
2426 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2428         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2429         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
2430         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
2431         Disabled fro now.
2432         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
2433         symbols.  Properly check USE_MULTIARCH on __memset symbols.
2435 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2437         * benchtests/Makefile (string-benchset): Add memcpy-large,
2438         memmove-large and memset-large.
2439         * benchtests/bench-memcpy-large.c: New file.
2440         * benchtests/bench-memmove-large.c: Likewise.
2441         * benchtests/bench-memmove-large.c: Likewise.
2442         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
2444 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2446         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
2447         32-bit displacement to avoid long nop between instructions.
2449 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2451         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
2452         a comment on VMOVU and VMOVA.
2454 2016-04-04  Florian Weimer  <fweimer@redhat.com>
2456         [BZ #19633]
2457         Use specified locale for number formatting in strfmon_l.
2458         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
2459         (__nl_lookup_word): New inline functions.
2460         * include/printf.h (__print_fp_l): Declare.
2461         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
2462         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
2463         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
2464         (___printf_fp): New function.
2465         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
2466         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
2467         * stdlib/tst-strfmon_l.c (do_test): New test.
2468         * stdlib/Makefile (tests): Add kt.
2469         (LOCALES): Build additional locales.
2470         (tst-strfmon_l.out): Require locales.
2472 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2474         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
2475         if not in libc.
2476         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2477         Likewise.
2478         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
2479         Likewise.
2480         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2481         Likewise.
2483 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2485         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2486         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
2487         with unaligned_erms.
2488         (__memmove_erms): Skip if source == destination.
2489         (__memmove_unaligned_erms): Don't check source == destination
2490         first.
2492 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2494         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2495         bit_arch_Fast_Copy_Backward for Intel Core proessors.
2497 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2499         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
2500         * string/strspn.c (strspn): Likewise.
2502 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2504         * benchtests/bench-memset.c (do_test): Support 64-byte
2505         alignment.
2506         (test_main): Test 64-byte alignment.
2508 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2510         * benchtests/bench-memmove.c (test_main): Test 64-byte
2511         alignment.
2513 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2515         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
2517 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2519         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
2520         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
2521         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
2523         * string/strpbrk.c (strpbrk): Rewrite function.
2524         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
2525         (__strpbrk_c2): Likewise.
2526         (__strpbrk_c3): Likewise.
2527         * string/string-inlines.c
2528         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
2529         Likewise.
2530         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
2531         Likewise.
2533         * string/strspn.c (strcspn): Rewrite function.
2534         * string/bits/string2.h (strspn): Use __builtin_strcspn.
2535         (__strspn_c1): Remove inline function.
2536         (__strspn_c2): Likewise.
2537         (__strspn_c3): Likewise.
2538         * string/string-inlines.c
2539         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
2540         compatibility symbol.
2541         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
2542         Likewise.
2543         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
2544         Likewise.
2545         * string/string-inlines.c: Include generic version.
2547 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
2548             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2550         * string/Version (libc): Add GLIBC_2.24.
2551         * string/strcspn.c (strcspn): Rewrite function.
2552         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
2553         (__strcspn_c1): Remove inline function.
2554         (__strcspn_c2): Likewise.
2555         (__strcspn_c3): Likewise.
2556         * string/string-inline.c
2557         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
2558         compatibility symbol.
2559         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
2560         Likewise.
2561         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
2562         Likewise.
2563         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
2565 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2567         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2568         Use ahi instead of aghi to adjust stack pointer.
2570 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2572         [BZ #19853]
2573         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
2574         TEST to take significant digits as second parameter.
2575         [TEST]: Redefine in terms of TEST_N taking 30
2576         significant digits.
2577         (do_test): Add test case to demonstrate precision
2578         failure in the ldbl-128ibm printf.
2579         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
2580         (__mpn_extract_long_double): Carry 7 extra intermediate
2581         bits of precision to aide computing difference when
2582         signs differ.
2584 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2586         [BZ #19881]
2587         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2588         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
2589         memset-avx512-unaligned-erms.
2590         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2591         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
2592         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
2593         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
2594         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
2595         __memset_sse2_unaligned_erms, __memset_erms,
2596         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
2597         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2598         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
2599         file.
2600         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2601         Likewise.
2602         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
2603         Likewise.
2604         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
2605         Likewise.
2607 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2609         [BZ #19776]
2610         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2611         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
2612         memmove-avx512-unaligned-erms.
2613         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2614         (__libc_ifunc_impl_list): Test
2615         __memmove_chk_avx512_unaligned_2,
2616         __memmove_chk_avx512_unaligned_erms,
2617         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
2618         __memmove_chk_sse2_unaligned_2,
2619         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
2620         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
2621         __memmove_avx512_unaligned_erms, __memmove_erms,
2622         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
2623         __memcpy_chk_avx512_unaligned_2,
2624         __memcpy_chk_avx512_unaligned_erms,
2625         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
2626         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
2627         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
2628         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
2629         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
2630         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
2631         __mempcpy_chk_avx512_unaligned_erms,
2632         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
2633         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
2634         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
2635         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
2636         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
2637         __mempcpy_erms.
2638         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
2639         file.
2640         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2641         Likwise.
2642         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2643         Likwise.
2644         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2645         Likwise.
2647 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2649         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
2650         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
2651         (La_s390_64_regs): Likewise.
2652         (La_s390_32_retval): Append vector register lrv_v24.
2653         (La_s390_64_retval): Likeweise.
2654         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
2655         Handle extended structs La_s390_32_regs and La_s390_32_retval.
2656         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
2657         Handle extended structs La_s390_64_regs and La_s390_64_retval.
2659 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2661         [BZ #19916]
2662         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
2663         to create a non-vector/vector version for _dl_runtime_resolve and
2664         _dl_runtime_profile. Move implementation to ...
2665         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
2666         (_dl_runtime_resolve) Save and restore fpr/vrs.
2667         (_dl_runtime_profile) Save and restore vrs and fix some issues
2668         if _dl_call_pltexit is called.
2669         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
2670         Choose the correct resolver function if running on a machine with vx.
2671         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
2672         to create a non-vector/vector version for _dl_runtime_resolve and
2673         _dl_runtime_profile. Move implementation to ...
2674         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
2675         (_dl_runtime_resolve) Save and restore fpr/vrs.
2676         (_dl_runtime_profile) Save and restore vrs and fix some issues
2677         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
2678         Choose the correct resolver function if running on a machine with vx.
2680 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2682         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
2684 2016-03-31  Florian Weimer  <fweimer@redhat.com>
2686         [BZ #19509]
2687         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
2688         skip_map != NULL.
2689         * elf/tst-dlsym-error.c: New file.
2690         * elf/Makefile (tests): Add tst-dlsym-error.
2691         (tst-dlsym-error): Link against libdl.
2693 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
2695         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2696         (__ASSUME_FUTIMESAT): Remove macro.
2697         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
2699 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2701         [BZ #19879]
2702         CVE-2016-3075
2703         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
2704         copy name.
2706 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2708         [BZ #19837]
2709         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
2710         error if parse_line fails.
2712 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2714         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
2715         (index_cpu_ERMS): Likewise.
2716         (reg_ERMS): Likewise.
2718 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
2720         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
2721         PER_LINUX_FDPIC): Add.
2723 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2725         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2726         memcpy-avx512-no-vzeroupper.
2727         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
2728         to ...
2729         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
2730         (MEMCPY): Don't define.
2731         (MEMCPY_CHK): Likewise.
2732         (MEMPCPY): Likewise.
2733         (MEMPCPY_CHK): Likewise.
2734         (MEMPCPY_CHK): Renamed to ...
2735         (__mempcpy_chk_avx512_no_vzeroupper): This.
2736         (MEMPCPY_CHK): Renamed to ...
2737         (__mempcpy_chk_avx512_no_vzeroupper): This.
2738         (MEMCPY_CHK): Renamed to ...
2739         (__memmove_chk_avx512_no_vzeroupper): This.
2740         (MEMCPY): Renamed to ...
2741         (__memmove_avx512_no_vzeroupper): This.
2742         (__memcpy_avx512_no_vzeroupper): New alias.
2743         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
2745 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2747         [BZ #18858]
2748         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2749         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
2750         and mempcpy-avx512-no-vzeroupper.
2751         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
2752         New.
2753         (MEMPCPY): Likewise.
2754         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
2755         (MEMPCPY_CHK): New.
2756         (MEMPCPY): Likewise.
2757         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
2758         (MEMPCPY): Likewise.
2759         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
2760         (MEMPCPY): Likewise.
2761         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
2762         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
2763         Likewise.
2764         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
2765         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
2767 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2768              Amit Pawar  <Amit.Pawar@amd.com>
2770         [BZ #19583]
2771         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2772         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
2773         processors.  Set Fast_Copy_Backward for AMD Excavator
2774         processors.
2775         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
2776         New.
2777         (index_arch_Fast_Unaligned_Copy): Likewise.
2778         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
2779         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
2781 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2783         [BZ #19791]
2784         * resolv/res_send.c (close_and_return_error): New function.
2785         (send_dg): Initialize *resplen2 after reopen failure.  Call
2786         close_and_return_error for error returns.  On error paths without
2787         __res_iclose, initialze *resplen2 explicitly.  Update comment for
2788         successful return.
2790 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2792         [BZ# 19860]
2793         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
2794         zero if the compiler does not provide the AVX512F bit.
2796 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
2798         [BZ #19848]
2799         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
2800         from 8 to 4.
2801         (__ieee754_powl): Compare integer exponent against 4 not 8.
2802         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
2803         from 8 to 4.
2804         (__ieee754_powl): Compare integer exponent against 4 not 8.
2805         * math/auto-libm-test-in: Add more tests of pow.
2806         * math/auto-libm-test-out: Regenerated.
2807         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
2808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2810 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2812         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
2813         Make code unconditional.
2814         [!__NR_utimensat]: Remove conditional code.
2815         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
2816         Make code unconditional.
2817         [!__NR_utimensat]: Remove conditional code.
2818         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
2819         Make code unconditional.
2820         [!__NR_utimensat]: Remove conditional code.
2822 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2824         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
2825         Make code unconditional.
2827 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
2829         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
2830         call-clobbered %eax on retry path.
2831         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2833 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2835         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
2836         Don't set %rcx twice before "rep movsb".
2838 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2840         [BZ #19583]
2841         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
2842         inline.  Check family before setting family, model and
2843         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
2844         bits here.
2845         (init_cpu_features): Replace HAS_CPU_FEATURE and
2846         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
2847         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
2848         for Intel processors with usable AVX2.  Call get_common_indeces
2849         for other processors with family == NULL.
2850         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
2851         (CPU_FEATURES_ARCH_P): Likewise.
2852         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
2853         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
2855 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2857         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
2858         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
2859         $(shared-thread-library) instead of hardcoding the path to libpthread.
2861 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
2863         * sysdeps/unix/sysv/linux/kernel-features.h
2864         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
2865         * sysdeps/unix/sysv/linux/getdents.c
2866         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
2867         [!have_no_getdents64_defined]: Likewise.
2868         (__GETDENTS): Remove __have_no_getdents64 conditional.
2870 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
2872         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
2873         Remove macro.
2874         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
2875         <kernel-features.h>.
2876         (signalfd) [__NR_signalfd4]: Make code unconditional.
2877         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
2879 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2881         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
2882         style.
2884 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2886         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
2887         (__pthread_enable_asynccancel): Use JUMPTARGET to call
2888         __pthread_unwind.
2889         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2890         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
2891         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2892         (__condvar_cleanup1): Likewise.
2894 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
2896         [BZ #19822]
2897         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
2898         move it to the final $@ location.
2900 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2902         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
2903         access where posix_spawn success and pid argument is null.
2904         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
2905         success case.
2907 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
2909         * sysdeps/mach/hurd/i386/c++-types.data: New file.
2911         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
2913         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
2914         and __fcntl.
2915         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
2916         __fcntl only.
2917         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
2918         adding attribute_hidden to __open and __fcntl.
2920         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
2921         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
2922         depend on libc-modules.h,
2923         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
2925 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
2927         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
2928         Remove macro.
2929         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
2930         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
2931         entry.
2933         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
2934         Remove macro.
2935         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
2936         include <kernel-features.h>.
2937         [!__ASSUME_FALLOCATE]: Remove conditional code.
2938         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
2940 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2942         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
2943         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
2944         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
2945         (_ZGVdN4v_cos_avx2): Likewise.
2946         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
2947         (_ZGVdN4v_cos): Likewise.
2948         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
2949         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
2950         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
2951         (_ZGVdN4v_exp_avx2): Likewise.
2952         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
2953         (_ZGVdN4v_exp): Likewise.
2954         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
2955         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
2956         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
2957         (_ZGVdN4v_log_avx2): Likewise.
2958         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
2959         (_ZGVdN4v_log): Likewise.
2960         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
2961         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
2962         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
2963         (_ZGVdN4vv_pow_avx2): Likewise.
2964         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
2965         (_ZGVdN4vv_pow): Likewise.
2966         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
2967         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
2968         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
2969         (_ZGVdN4v_sin_avx2): Likewise.
2970         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
2971         (_ZGVdN4v_sin): Likewise.
2972         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
2973         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
2974         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
2975         (_ZGVdN4vvv_sincos_avx2): Likewise.
2976         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
2977         (_ZGVdN4vvv_sincos): Likewise.
2978         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
2979         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
2980         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
2981         (_ZGVbN4v_cosf_sse4): Likewise.
2982         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
2983         (_ZGVdN8v_cosf_avx2): Likewise.
2984         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
2985         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
2986         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
2987         (_ZGVbN4v_expf_sse4): Likewise.
2988         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
2989         (_ZGVdN8v_expf_avx2): Likewise.
2990         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
2991         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
2992         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
2993         (_ZGVbN4v_logf_sse4): Likewise.
2994         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
2995         (_ZGVdN8v_logf_avx2): Likewise.
2996         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
2997         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
2998         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
2999         (_ZGVbN4vv_powf_sse4): Likewise.
3000         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
3001         (_ZGVdN8vv_powf_avx2): Likewise.
3002         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3003         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
3004         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3005         (_ZGVbN4vvv_sincosf_sse4): Likewise.
3006         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3007         (_ZGVdN8vvv_sincosf_avx2): Likewise.
3008         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
3009         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
3010         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
3011         (_ZGVbN4v_sinf_sse4): Likewise.
3012         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
3013         (_ZGVdN8v_sinf_avx2): Likewise.
3014         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3015         Use JUMPTARGET to call callee.
3016         (WRAPPER_IMPL_SSE2_ff): Likewise.
3017         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3018         (WRAPPER_IMPL_AVX): Likewise.
3019         (WRAPPER_IMPL_AVX_ff): Likewise.
3020         (WRAPPER_IMPL_AVX_fFF): Likewise.
3021         (WRAPPER_IMPL_AVX512): Likewise.
3022         (WRAPPER_IMPL_AVX512_ff): Likewise.
3023         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3024         Likewise.
3025         (WRAPPER_IMPL_SSE2_ff): Likewise.
3026         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3027         (WRAPPER_IMPL_AVX): Likewise.
3028         (WRAPPER_IMPL_AVX_ff): Likewise.
3029         (WRAPPER_IMPL_AVX_fFF): Likewise.
3030         (WRAPPER_IMPL_AVX512): Likewise.
3031         (WRAPPER_IMPL_AVX512_ff): Likewise.
3032         (WRAPPER_IMPL_AVX512_fFF): Likewise.
3034 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3036         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
3037         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
3038         qualifier.
3039         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
3040         internal_function qualifiers.
3042 2016-03-15  Carlos O'Donell <carlos@redhat.com>
3044         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
3045         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
3046         * math/atest-exp.c (exp_mpn): Mark chk unused.
3047         * math/atest-exp2.c (exp_mpn): Likwise.
3048         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
3049         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
3051 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
3053         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
3054         Remove macro.
3055         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
3056         <kernel-features.h>.
3057         [__NR_ppoll]: Make code unconditional.
3058         [!__ASSUME_PPOLL]: Remove conditional code.
3060         * sysdeps/unix/sysv/linux/kernel-features.h
3061         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
3062         (__ASSUME_ACCEPT4): Likewise.
3063         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3064         Define.
3065         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
3066         Likewise.
3067         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3068         Likewise.
3069         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
3070         Likewise.
3071         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
3072         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
3073         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3074         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3075         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3076         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3077         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3078         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3079         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3080         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3081         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3082         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3083         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3084         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3085         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3086         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3087         Likewise.
3088         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3089         Likewise.
3090         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3091         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3092         0x040300].
3093         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3094         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3095         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3096         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3097         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3098         0x030300].
3099         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
3100         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3101         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3102         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3103         0x040300].
3104         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3105         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3106         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3107         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3108         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3109         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3110         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3111         0x030300].
3112         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3113         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3114         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3115         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3116         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3117         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3118         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3119         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3120         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3121         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3122         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3123         0x040300].
3124         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3125         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3126         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3127         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3128         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3129         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3130         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3131         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3132         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3133         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3134         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3135         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3136         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3137         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3138         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3139         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3140         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3141         Likewise.
3142         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3143         Likewise.
3145 2016-03-15  Andreas Schwab  <schwab@suse.de>
3147         [BZ #19257]
3148         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
3149         statp->_u._ext.nscount as loop count.
3151 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3153         * math/test-signgam-finite-c99.c: Also #undef
3154         __LIBC_INTERNAL_MATH_INLINES.
3155         * math/test-signgam-main.c: Likewise.
3157 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
3159         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
3160         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
3161         (MADV_FREE): Likewise.
3162         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
3163         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
3164         EPOLLEXCLUSIVE.
3166 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
3168         * timezone/README: Remove mention of checktab.awk. Mention wiki
3169         SharedSourceFiles.
3171 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
3173         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
3174         WUNTRACED.
3176 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3178         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
3179         order to match the type of p when calling atomic_exchange_acq().
3181 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3183         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
3184         cfi_offset calls.
3185         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3186         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
3187         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
3188         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
3189         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
3191 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
3193         * timezone/checktab.awk: Removed.
3195 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
3197         * manual/math.texi (Errors in Math Functions): Document relaxed
3198         accuracy goals for IBM long double.
3199         * math/libm-test.inc (test_exceptions): Always allow spurious
3200         "underflow" and "inexact" exceptions for IBM long double.
3202 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
3204         [BZ #19762]
3205         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3206         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
3207         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3208         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
3209         (bit_arch_*): This for feature array.
3210         (bit_*): Renamed to ...
3211         (bit_cpu_*): This for cpu array.
3212         (index_*): Renamed to ...
3213         (index_arch_*): This for feature array.
3214         (index_*): Renamed to ...
3215         (index_cpu_*): This for cpu array.
3216         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
3217         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
3218         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
3219         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
3220         bit_##name with index_cpu_##name and bit_cpu_##name.
3221         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
3222         bit_##name with index_arch_##name and bit_arch_##name.
3224 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
3226         [BZ #19792]
3227         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3228         Terminate FDE before return label.
3230 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
3232         [BZ #19790]
3233         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
3234         (rintl): Define as macro.
3235         [USE_AS_NEARBYINTL] (__rintl): Likewise.
3236         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
3237         of fesetround.  Ensure results are evaluated before end of scope.
3238         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
3239         USE_AS_NEARBYINTL and include s_rintl.c.
3240         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
3241         Disable exception traps in new environment.
3242         (libc_feholdsetround_ppc_ctx): Likewise.
3244 2016-03-08  Roland McGrath  <roland@hack.frob.com>
3246         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
3247         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
3248         (tst_audit10_aux) [__AVX512F__]: ... here.
3250 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
3252         * include/sys/auxv.h: New file.
3254 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3256         [BZ #19759]
3257         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
3259 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3261         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
3262         operand modifier.
3263         (feclearexcept): Likewise.
3265 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3267         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
3268         to reflect the entire 32-bit HWCAP.
3269         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
3270         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
3272 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3274         [BZ #19783]
3275         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
3276         $(test-via-rtld-prefix).
3277         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
3279 2016-03-08  Florian Weimer  <fweimer@redhat.com>
3281         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
3282         union wait.  Report any non-zero exit status as error.
3284 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3286         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
3287         configured with --enable-hardcoded-path-in-tests.
3289 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
3291         [BZ #19677]
3292         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3293         (__ieee754_remainderl): Put zero low parts in canonical form.
3294         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
3295         file.  Based on
3296         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
3297         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
3298         with wrapper round test-fmodrem-ldbl-128ibm.c.
3299         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
3300         file.
3301         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
3302         Likewise.
3303         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3304         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
3306 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3308         [BZ #19610]
3309         * elf/ldconfig.c (opt_link): Update comment.
3310         (options): Update help string for option -X.
3311         (search_dir): Unlink stale symbolic link only if updating symbolic
3312         links.
3313         * elf/tst-ldconfig-X.sh: New file.
3314         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
3315         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
3317 2016-03-07  Andreas Schwab  <schwab@suse.de>
3319         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
3320         needed arguments.
3322 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
3324         [BZ #15333]
3325         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
3326         to lstat64.
3328 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3330         * libio/filedoalloc.c (isatty): Remove.
3331         (local_isatty): Add comment.  Call __isatty directly.
3332         (_IO_file_doallocate): Update comment.  Assume _LIBC.
3333         * libio/wfiledoalloc.c (isatty): Remove.
3334         (_IO_wfile_doallocate): Update comment.
3336 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3338         [BZ #19269]
3339         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
3340         tst-audit4-aux.o.
3341         (tst-audit10): Depend on tst-audit10-aux.o.
3342         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
3343         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
3344         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
3345         instead of inline AVX code.
3346         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
3347         instead of inline AVX512 code.
3348         * sysdeps/x86_64/tst-audit4-aux.c: New file
3349         * sysdeps/x86_64/tst-audit10-aux.c: New file
3351         [BZ #19648]
3352         * test-skeleton.c (main): Do not set RLIMIT_DATA.
3354 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3356         [BZ #14750]
3357         [BZ #10354]
3358         [BZ #18433]
3359         * include/sched.h (__clone): Add hidden prototype.
3360         (__clone2): Likewise.
3361         * include/unistd.h (__dup): Likewise.
3362         * posix/Makefile (tests): Add tst-spawn2.
3363         * posix/tst-spawn2.c: New file.
3364         * sysdeps/posix/dup.c (__dup): Add hidden definition.
3365         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
3366         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3367         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3368         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3369         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3370         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
3371         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3372         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
3373         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3374         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3376         Likewise.
3377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3378         Likewise.
3379         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3380         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3381         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3382         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3383         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3384         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3385         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3386         * sysdeps/unix/sysv/linux/nptl-signals.h
3387         (____nptl_is_internal_signal): New function.
3388         * sysdeps/unix/sysv/linux/spawni.c: New file.
3390         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
3391         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
3392         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
3393         * posix/tst-execvp2.c (do_test): Likewise.
3394         * posix/tst-execvp3.c (do_test): Likewise.
3395         * posix/tst-execvp4.c (do_test): Likewise.
3396         * posix/tst-execvpe1.c: New file.
3397         * posix/tst-execvpe2.c: Likewise.
3398         * posix/tst-execvpe3.c: Likewise.
3399         * posix/tst-execvpe4.c: Likewise.
3400         * posix/tst-execvpe5.c: Likewise.
3401         * posix/tst-execvpe6.c: Likewise.
3403         [BZ #19534]
3404         * posix/execl.c (execl): Remove dynamic memory allocation.
3405         * posix/execle.c (execle): Likewise.
3406         * posix/execlp.c (execlp): Likewise.
3408 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3410         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
3411         Replace .text with .text.avx512.
3412         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3413         Likewise.
3415 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
3417         * sysdeps/generic/libnsl.abilist: New file.
3418         * sysdeps/generic/libutil.abilist: New file.
3420 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3422         [BZ #19762]
3423         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
3424         HAS_ARCH_FEATURE with Fast_Rep_String.
3425         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
3426         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
3427         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
3428         Likewise.
3429         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
3430         Likewise.
3431         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
3432         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
3433         Likewise.
3434         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
3435         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
3436         Likewise.
3438 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3440         [BZ #19745]
3441         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
3442         with *%rax in call.
3444 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3446         [BZ #19745]
3447         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
3448         with *__libc_start_main@GOTPCREL(%rip) in call.
3450 2016-03-04  Roland McGrath  <roland@hack.frob.com>
3452         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
3453         inside conditional for nonempty $(CXX).
3455         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
3456         nonempty.
3458         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
3459         to test for empty $(CXX) rather than $(CXX) of "no".
3461 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3463         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
3465 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
3466             H.J. Lu  <hongjiu.lu@intel.com>
3468         [BZ #18880]
3469         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
3470         instead of Slow_BSF, and also check for Fast_Copy_Backward to
3471         enable __memcpy_ssse3_back.
3473 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3475         [BZ #19758]
3476         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3477         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
3479 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3481         [BZ #19490]
3482         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
3483         (__fentry__): Likewise.
3485 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3487         * gmon/Makefile (noprof): Add $(sysdep_noprof).
3488         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
3490 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3492         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
3493         __mcount_internal directly.
3494         (C_LABEL(__fentry__)): Likewise.
3495         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
3496         directly.
3498 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3500         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3501         (__start_context): Call __setcontext directly.
3503 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
3505         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3506         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3507         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
3508         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3509         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3510         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3511         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
3512         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3513         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3514         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
3515         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3516         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3517         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3518         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3519         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3520         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3521         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
3522         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3523         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3524         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3525         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
3526         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3527         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3528         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3529         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
3530         Remove conditional code.
3531         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3532         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
3533         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3534         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3535         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
3536         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3537         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3538         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3539         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3540         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3541         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3542         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3544 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
3546         * NEWS (2.23): Fix typo in bug 19048 text.
3548 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
3550         [BZ #14259]
3551         * Makeconfig: Rename msgcatdir to localedir.
3552         Rename inst_msgcatdir to inst_localedir.
3553         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
3554         * config.make.in: Add localedir.
3555         * elf/Makefile ($(objpfx)sotruss): Use localedir.
3556         (ldd-rewrite): Likewise.
3557         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
3558         (install-others): Use inst_localedir.
3559         (CPPFLAGS): Use localedir.
3560         * locale/Makefile (locale-CPPFLAGS): Likewise.
3561         * po/Makefile (mo-installed): Use inst_localedir.
3563         [BZ #19575]
3564         * localedata/charmaps/GB18030: Update comments regarding PAU to
3565         non-PUA mappings.
3567 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
3569         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
3570         test for header.
3571         * sysdeps/unix/sysv/linux/configure: Regenerated.
3572         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
3573         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
3574         Remove conditional code.
3575         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
3577         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3578         Define to 3.2.0.
3579         (arch_minimum_kernel): Likewise.
3580         * sysdeps/unix/sysv/linux/configure: Regenerated.
3581         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3582         Define to 2.6.32.
3583         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3584         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3585         (arch_minimum_kernel): Define to 2.6.32.
3586         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3587         * README: Document Linux 3.2 requirement.
3588         * manual/install.texi (Linux): Document Linux 3.2 headers
3589         requirement.
3590         * INSTALL: Regenerated.
3592 2016-02-24  Andreas Schwab  <schwab@suse.de>
3594         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
3595         if !NO_LONG_DOUBLE.
3597 2016-02-22  Roland McGrath  <roland@hack.frob.com>
3599         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
3600         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
3602 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
3604         [BZ #19512]
3605         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
3607 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3609         * posix/tst-dir.c: Include libc-internal.h.
3611 2016-02-20  Florian Weimer  <fweimer@redhat.com>
3613         [BZ #19056]
3614         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
3615         * manual/filesys.texi (Reading/Closing Directory): Mention
3616         deprecaion.
3617         * posix/tst-dir.c (main): Disable deprecation warning in test.
3619 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
3621         [BZ #19679]
3622         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
3623         Renamed to ...
3624         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
3625         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3626         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
3627         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3628         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3629         * sysdeps/x86_64/dl-trampoline.h
3630         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3631         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3633 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3635         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
3637 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3639         * elf/elf.h (R_386_GOT32X): New.
3640         (R_386_NUM): Update.
3641         (R_X86_64_GOTPCRELX: New.
3642         (R_X86_64_REX_GOTPCRELX): New.
3643         (R_X86_64_NUM): Update.
3645 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
3647         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
3649 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
3651         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
3652         assign attr->stackaddr to it, and adjust it down when
3653         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
3654         [_STACK_GROWS_UP]: Delete assert.
3655         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
3656         Implement stack grows up logic.
3657         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
3658         stack grows up logic.
3660 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3662         * NEWS: Update with 2.24 template.
3664 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3666         [BZ #19678]
3667         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3668         Ensure +0.0 is returned when taking the next value below the least
3669         positive value.
3671 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3673         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
3674         available.  Do not define NO_THREADS.
3675         * malloc/malloc.c: Do not check NO_THREADS.
3676         * malloc/arena.c: Likewise.
3678 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3680         * malloc/malloc.c (__libc_mallinfo): Update comment.
3681         (struct malloc_par): Remove max_total_mem member, it was always 0.
3682         (int_mallinfo): Store 0 into usmblks (no functional change).
3683         * malloc/hooks.c (struct malloc_state): Document that
3684         max_total_mem is always 0.
3685         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
3686         always 0.
3687         * manual/memory.texi (Statistics of Malloc): Likewise.
3689 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3691         * malloc/malloc.c (sysmalloc): Do not update arena_max.
3692         * malloc/arena.c (arena_max): Remove.
3693         (heap_trim, _int_new_arena): Do not update arena_max.
3695 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3697         * resolv/res_init.c (res_ninit): Update comment.
3699 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3701         [BZ #19505]
3702         * posix/spawn_int.h: Add headers and include guard.
3703         (__spawn_valid_fd): New function.
3704         * posix/spawn_faction_addopen.c
3705         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
3706         * posix/spawn_faction_addclose.c
3707         (posix_spawn_file_actions_addclose): Likewise.
3708         * posix/spawn_faction_adddup2.c
3709         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
3710         second file descriptor.
3711         * posix/spawn_valid_fd.c: New file.
3712         * posix/tst-posix_spawn-fd.c: New file.
3713         * posix/Makefile (routines): Add spawn_valid_fd.
3714         (tests): Add tst-posix_spawn-fd.
3716 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3718         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
3719         (do_test): Limit the number of arenas, so that we can use fewer
3720         outer threads.  Limit timeout to 3 seconds, in preparation for a
3721         larger TIMEOUT value.
3723 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3725         [BZ #19674]
3726         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
3727         sign in overflowing and underflowing results when overflow or
3728         underflow is detected early.  Include sign in result before rather
3729         than after scaling.
3731         [BZ #19603]
3732         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3733         (__ieee754_remainderl): Adjust sign of integer version of low part
3734         when taking absolute value of high part.
3735         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3736         * math/libm-test.inc (remainder_test_data): Add another test.
3737         (remquo_test_data): Likewise.
3739 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
3741         [BZ #19602]
3742         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
3743         equal high parts and both low parts zero specially.
3744         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
3745         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
3746         Add test-fmodl-ldbl-128ibm.
3748         [BZ #19595]
3749         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
3750         common logic for all cases of shifting subnormal results.  Do not
3751         insert sign bit in shifted mantissa.  Always pass -1023 as biased
3752         exponent to ldbl_insert_mantissa in subnormal case.
3754         [BZ #19594]
3755         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
3756         on high and low parts then adjust result and use
3757         ldbl_canonicalize_int if needed.
3759         [BZ #19593]
3760         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
3761         on high part and __floor or __ceil on low part then use
3762         ldbl_canonicalize_int if needed.
3764         [BZ #19592]
3765         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
3766         high and low parts then use ldbl_canonicalize_int if needed.
3768         [BZ #17899]
3769         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
3770         New function.
3771         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
3772         on high and low parts then use ldbl_canonicalize_int if needed.
3774 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3776         * configure: Regenerated.
3778         * po/libc.pot: Regenerated.
3780         * po/be.po: Updated translation.
3781         * po/bg.po: Likewise.
3782         * po/ca.po: Likewise.
3783         * po/cs.po: Likewise.
3784         * po/da.po: Likewise.
3785         * po/el.po: Likewise.
3786         * po/eo.po: Likewise.
3787         * po/es.po: Likewise.
3788         * po/fi.po: Likewise.
3789         * po/fr.po: Likewise.
3790         * po/gl.po: Likewise.
3791         * po/hr.po: Likewise.
3792         * po/hu.po: Likewise.
3793         * po/ia.po: Likewise.
3794         * po/id.po: Likewise.
3795         * po/it.po: Likewise.
3796         * po/ja.po: Likewise.
3797         * po/lt.po: Likewise.
3798         * po/nb.po: Likewise.
3799         * po/nl.po: Likewise.
3800         * po/pt_BR.po: Likewise.
3801         * po/rw.po: Likewise.
3802         * po/sk.po: Likewise.
3803         * po/sl.po: Likewise.
3804         * po/sv.po: Likewise.
3805         * po/tr.po: Likewise.
3806         * po/zh_CN.po: Likewise.
3807         * po/zh_TW.po: Likewise.
3809         * version.h (RELEAES): Set to "development".
3810         (VERSION): Set to 2.23.90.
3812         * version.h (RELEASE): Set to "stable".
3813         (VERSION): Set to 2.23.
3814         * include/feature.h (__GLIBC_MINOR__): Set to 23.
3816         * NEWS: Updated fixed bugs.
3818 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
3819             Wilco Dijkstra  <wdijkstr@arm.com>
3821         [BZ #19462]
3822         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
3823         (_STRING_INLINE_unaligned): This.
3824         * include/string.h: Include <string_private.h>.
3825         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
3826         _STRING_INLINE_unaligned.
3827         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
3828         (_STRING_INLINE_unaligned): New.
3829         * sysdeps/aarch64/string_private.h: New file.
3830         * sysdeps/generic/string_private.h: Likewise.
3831         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
3832         * sysdeps/s390/string_private.h: Likewise.
3833         * sysdeps/x86/string_private.h: Likewise.
3834         * sysdeps/m68k/m680x0/m68020/bits/string.h
3835         (_STRING_ARCH_unaligned): Renamed to ...
3836         (_STRING_INLINE_unaligned): This.
3837         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
3838         to ...
3839         (_STRING_INLINE_unaligned): This.
3840         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
3841         to ...
3842         (_STRING_INLINE_unaligned): This.
3843         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
3844         to ...
3845         (_STRING_INLINE_unaligned): This.
3847 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3848             H.J. Lu  <hongjiu.lu@intel.com>
3850         [BZ #19590]
3851         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
3852         relocation.
3854 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
3856         [BZ #18665]
3857         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
3858         *herrno_p.
3859         (gaih_getanswer): Document functional behviour. Return tryagain
3860         if any result is tryagain.
3861         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
3862         when freed.
3863         * resolv/res_send.c: Add copyright text.
3864         (__libc_res_nsend): Document that MAXPACKET is expected.
3865         (send_vc): Document. Remove buffer reuse.
3866         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
3867         size of the buffer. Add Dprint for truncated UDP buffer.
3869 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
3871         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
3872         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
3873         * INSTALL: Regenerate.
3875 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
3876             Jonathan Wakely  <jwakely@redhat.com>
3877             Carlos O'Donell  <carlos@redhat.com>
3879         [BZ 19439]
3880         * math/Makefile (tests): Add test-math-isinff.
3881         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
3882         * math/bits/mathcalls.h [__USE_MISC]: Use
3883         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
3884         functions not in C++11 and which don't conflict e.g. isinff,
3885         isinfl etc.
3886         * math/test-math-isinff.cc: New file.
3888 2016-02-12  Florian Weimer  <fweimer@redhat.com>
3890         * misc/bug18240.c (do_test): Set RLIMIT_AS.
3892 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3894         [BZ #19529]
3895         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
3897 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3899         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3901 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
3903         [BZ #19550]
3904         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
3905         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
3906         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
3907         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
3908         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
3909         New syscall entry.
3910         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
3911         New syscall entry.
3912         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
3913         syscall entry.
3915 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
3917         [BZ #18240]
3918         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
3919         unsigned int wraparound.
3921 2016-01-27  Florian Weimer  <fweimer@redhat.com>
3923         [BZ #18240]
3924         * misc/bug18240.c: New test.
3925         * misc/Makefile (tests): Add it.
3927 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
3928             Joseph Myers  <joseph@codesourcery.com>
3930         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
3931         load in branch delay slot when less than a word of input left.
3933 2016-01-27  Andreas Schwab  <schwab@suse.de>
3935         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
3936         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
3937         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
3938         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
3940 2016-01-26  David S. Miller  <davem@davemloft.net>
3942         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
3944 2016-01-25  David S. Miller  <davem@davemloft.net>
3946         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
3947         __sqrtl_finite.
3948         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
3949         instead using versioned_symbol.
3950         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
3951         of entries.
3953         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
3954         __sqrtl_finite to GLIBC_2.23
3956 2016-01-25  Ricchard Henderson  <rth@redhat.com>
3958         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3960 2016-01-25  Andreas Schwab  <schwab@suse.de>
3962         [BZ #17514]
3963         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
3964         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
3965         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
3966         * nptl/tst-mutex-errorcheck.c: New file.
3968 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3970         [BZ #18560]
3971         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
3972         (IPCOP_semop): Likewise.
3973         (IPCOP_semget): Likewise.
3974         (IPCOP_semctl): Likewise.
3975         (IPCOP_msgsnd): Likewise.
3976         (IPCOP_msgrcv): Likewise.
3977         (IPCOP_msgget): Likewise.
3978         (IPCOP_msgctl): Likewise.
3979         (IPCOP_shmat): Likewise.
3980         (IPCOP_shmdt): Likewise.
3981         (IPCOP_shmget): Likewise.
3982         (IPCOP_shmctl): Likewise.
3984 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3986         * string/tst-endian.c: Include <libc-internal.h>.
3987         (do_test): Ignore tautological-compare warnings around
3988         "htobeXX (beXXtoh (i)) != i" and
3989         "htoleXX (leXXtoh (i)) != i" if-statements.
3991 2016-01-24  David S. Miller  <davem@davemloft.net>
3993         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
3994         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
3995         alias.
3996         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3997         __sqrtl_finite.
3999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4001 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
4003         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
4004         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
4005         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4007 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4009         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
4010         (thread_func): Use new function to simplify barrier check.
4011         (do_test): Use new function to simplify checking barrier exit
4012         code, and actually join the child thread.
4014 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4016         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
4017         semicolon.
4018         (__libc_tend): Likewise.
4019         (__libc_tabort): Likewise.
4021 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
4023         * sysdeps/nios2/libm-test-ulps: Update.
4024         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
4025         (__gtsf2): Likewise.
4026         (__unorddf2): Likewise.
4027         (__unordsf2): Likewise.
4028         (__ledf2): Likewise.
4030 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
4032         * nis/nis_table.c (__follow_path): Disable diagnostic for
4033         uninitialized variable that is a false positive for gcc 4.7.
4034         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
4036 2016-01-20  Roland McGrath  <roland@hack.frob.com>
4038         * sysdeps/nacl/lowlevellock-futex.h
4039         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
4040         Always evaluate PRIVATE argument.
4042 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
4044         [BZ #19490]
4045         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
4046         (pthread_cond_broadcast): Use ENTRY/END
4047         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
4048         (pthread_cond_signal): Likewise.
4049         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
4050         Likewise.
4051         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
4052         Likewise.
4053         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
4054         Likewise.
4056 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
4058         * sysdeps/ieee754/dbl-64/s_finite.c
4059         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
4060         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
4061         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
4062         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
4063         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
4065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4066         (__gtsf2): Add as optional for libc.so.
4067         (__unordsf2): Likewise.
4068         (__signbit): Remove for libc.so.
4069         (__signbitl): Likewise.
4071 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4073         * iconvdata/bug-iconv11.c (test_ibm93x):
4074         Use %zu printf format specifier for size_t argument.
4076 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
4078         * math/gen-libm-test.pl (parse_ulps): Do not reduce
4079         already-recorded ulps.
4080         * sysdeps/arm/libm-test-ulps: Regenerated.
4081         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4082         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4083         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4085 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4086             Paul Pluzhnikov  <ppluzhnikov@google.com>
4088         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
4089         assembler not supporting AVX-512.
4091 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4093         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4095 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
4097         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4098         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4100         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4102         * sysdeps/arm/libm-test-ulps: Regenerated.
4104 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4106         [BZ #19451]
4107         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
4109 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4111         [BZ #19486]
4112         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
4113         * sysdeps/generic/fix-fp-int-convert-overflow.h
4114         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
4115         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
4116         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
4117         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
4118         Likewise.
4119         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
4120         Avoid conversions to long int where inexact exceptions
4121         could be raised.
4122         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
4123         Likewise.
4124         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
4125         Avoid conversions to long long int where inexact exceptions
4126         could be raised.
4127         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
4128         Likewise.
4130 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
4132         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
4133         * configure: Regenerated.
4135 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4137         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
4139 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
4141         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
4142         outside of comment.
4144 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4146         * nptl/tst-barrier1.c: Add description on first line.
4147         * nptl/tst-barrier2.c: Likewise.
4148         * nptl/tst-barrier3.c: Likewise.
4149         * nptl/tst-barrier4.c: Likewise.
4150         * nptl/tst-barrier5.c: Likewise.
4152 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4154         [BZ #18868]
4155         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
4157 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4159         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
4160         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4161         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
4162         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
4163         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
4164         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
4165         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4166         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4167         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4168         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4169         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4171 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4173         [BZ #13065]
4174         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
4175         new implementation.
4176         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
4177         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
4178         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
4179         (BARRIER_IN_THRESHOLD): New macro.
4180         * nptl/pthread_barrierattr_setpshared.c
4181         (pthread_barrierattr_setpshared): Clean up.
4182         * nptl/tst-barrier4.c: Correct comment.
4183         * nptl/tst-barrier5.c: New file.
4184         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
4185         (gen-as-const-headers): Remove lowlevelbarrier.sym.
4186         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
4187         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
4188         * nptl/lowlevelbarrier.sym: Remove.
4189         * nptl/DESIGN-barrier.txt: Remove.
4190         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
4191         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
4192         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
4193         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
4194         error.
4195         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
4196         implementation.
4198 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4200         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
4201         (do_child): Mask SIGRTMIN while thr is running.
4203 2016-01-15  Martin Sebor  <msebor@redhat.com>
4205         [BZ #19432]
4206         * iconvdata/Makefile: Add bug-iconv11.
4207         * iconvdata/bug-iconv11.c: New test.
4208         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
4209         * iconvdata/ibm933.c: Same.
4210         * iconvdata/ibm935.c: Same.
4211         * iconvdata/ibm937.c: Same.
4212         * iconvdata/ibm939.c: Same.
4214 2016-01-15  Martin Sebor  <msebor@redhat.com>
4216         [BZ #19443]
4217         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
4218         [DEBUG] (_ufc_set_bits): Declare used.
4219         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
4220         [DEBUG] (print_all): Declare used.
4221         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
4222         operands of the ternary ?: expression to target type.
4223         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
4224         calling the undeclared abort.
4225         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
4227 2016-01-15  Martin Sebor  <msebor@redhat.com>
4229         [BZ #18755]
4230         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
4231         warnings.
4232         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
4233         (__gai_create_helper_thread): Same.
4234         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
4235         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
4236         to suppress -Wmaybe-uninitialized warnings.
4238 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
4240         [BZ #19465]
4241         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
4242         inside if.
4243         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4244         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4245         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4247 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
4249         [BZ #19466]
4250         * time/tst-mktime2.c (time_t_max): Removed.
4251         (time_t_min): Likewise.
4252         (TYPE_SIGNED): New.
4253         (TYPE_MINIMUM): Likewise.
4254         (TYPE_MAXIMUM): Likewise.
4255         (TIME_T_MIN): Likewise.
4256         (TIME_T_MAX): Likewise.
4257         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
4258         and TIME_T_MIN.
4259         (do_test): Likewise.
4261 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
4263         [BZ #19467]
4264         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4265         index_Fast_Unaligned_Load flag for Excavator family CPUs.
4267 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
4269         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
4271 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
4273         * benchtests/Makefile (PYTHON): Define.
4274         (bench-func): Use $(PYTHON) to run python scripts.
4275         ($(objpfx)bench-%.c): Likewise.
4277 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
4279         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
4280         leading slash when `file_name' is "/".
4282 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
4284         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
4285         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
4286         Likewise.
4287         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
4288         Likewise.
4289         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
4290         Likewise.
4291         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
4292         enum constant and macro.
4293         (PTRACE_SETSIGMASK): Likewise.
4294         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4295         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4296         (PTRACE_GETSIGMASK): Likewise.
4297         (PTRACE_SETSIGMASK): Likewise.
4298         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4299         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
4300         Likewise.
4301         (PTRACE_SETSIGMASK): Likewise.
4302         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4303         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4304         (PTRACE_GETSIGMASK): Likewise.
4305         (PTRACE_SETSIGMASK): Likewise.
4306         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4307         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
4308         Likewise.
4309         (PTRACE_SETSIGMASK): Likewise.
4310         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4311         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
4312         Likewise.
4313         (PTRACE_SETSIGMASK): Likewise.
4314         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4315         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
4316         Likewise.
4317         (PTRACE_SETSIGMASK): Likewise.
4318         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4320 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
4321             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4323         [BZ #19439]
4324         * math/bits/mathcalls.h
4325         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
4326         prototype.
4327         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
4329 2016-01-11  Andreas Schwab  <schwab@suse.de>
4331         [BZ #19253]
4332         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
4333         cache when TZDEFRULES was used.
4334         * time/tst-tzname.c: New file.
4335         * time/Makefile (test): Add tst-tzname.
4336         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
4337         * timezone/Makefile (test-zones): Add $(posixrules-file).
4338         ($(testdata)/$(posixrules-file)): New rule.
4340 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4342         Fix doc quoting problems with Texinfo 5
4343         Without this change, in the info file output, Texinfo 5 quotes code
4344         in text with undirected single quotes 'like this' and generates
4345         code examples that with many PDF readers cannot be cut out of PDFs
4346         and pasted into code.
4347         * manual/libc.texinfo: Configure the libc manual like the GNU
4348         Emacs manual, by using @documentencoding and setting
4349         txicodequoteundirected and txicodequotebacktick.  This way,
4350         Texinfo 5 quotes code in text with directed single quotes ‘like
4351         this’ and produces examples that can be cut out of PDFs.  This
4352         change causes Texinfo 5 to generate info files that contain UTF-8
4353         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
4354         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
4356 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4358         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
4359         __libc_tabort, __libc_tend): New wrappers that enforce compiler
4360         barriers to their respective compiler built-ins.
4361         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
4362         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
4363         * sysdeps/powerpc/sysdep.h: Likewise.
4364         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
4365         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
4366         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
4368 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
4370         * scripts/config.guess: Revert previous shebang change.
4371         * scripts/config.sub: Likewise.
4372         * scripts/mkinstalldirs: Likewise.
4374 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4376         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
4377         PPC_FEATURE2_HAS_IEEE128.
4378         * sysdeps/powerpc/dl-procinfo.c:
4379         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
4381 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
4383         [BZ #19415]
4384         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
4385         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
4386         (_dl_lookup_address): Rewrite using function resolver trampoline.
4387         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
4388         two bits in address.
4390 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4392         * longlong.h: Change !__SHMEDIA__ to
4393         (!defined (__SHMEDIA__) || !__SHMEDIA__).
4394         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
4396 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
4397             Joseph Myers  <joseph@codesourcery.com>
4398             Mark Shinwell  <shinwell@codesourcery.com>
4399             Andrew Stubbs  <ams@codesourcery.com>
4400             Rich Felker <dalias@libc.org>
4402         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
4404 2016-01-07  Richard Henderson  <rth@redhat.com>
4406         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
4408 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4410         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
4411         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
4412         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4413         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4414         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
4416 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
4417             Joseph Myers  <joseph@codesourcery.com>
4419         * timezone/private.h: Update from tzcode 2015g.
4420         * timezone/tzfile.h: Likewise.
4421         * timezone/tzselect.ksh: Likewise.
4422         * timezone/zdump.c: Likewise.
4423         * timezone/zic.c: Likewise.
4424         * timezone/ialloc.c: Remove file.
4425         * timezone/scheck.c: Likewise.
4426         * timezone/Makefile (extra-objs): Remove variable.
4427         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
4428         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
4429         -Wno-maybe-uninitialized.
4430         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
4431         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
4432         (CFLAGS-ialloc.c): Remove variable.
4433         (CFLAGS-scheck.c): Likewise.
4434         * timezone/README: Update list of files from tzcode.
4436 2016-01-07  Khem Raj  <raj.khem@gmail.com>
4438         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
4439         instead of __fxprintf when _LIBC is undefined.
4441 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
4443         * catgets/test-gencat.sh: Remove space after shebang.
4444         * conform/GlibcConform.pm: Likewise.
4445         * conform/check-header-lists.sh: Likewise.
4446         * conform/conformtest.pl: Likewise.
4447         * conform/linknamespace.pl: Likewise.
4448         * conform/list-header-symbols.pl: Likewise.
4449         * debug/catchsegv.sh: Likewise.
4450         * elf/genrtldtbl.awk: Likewise.
4451         * elf/tst-pathopt.sh: Likewise.
4452         * elf/tst-rtld-load-self.sh: Likewise.
4453         * grp/tst_fgetgrent.sh: Likewise.
4454         * iconvdata/gen-8bit-gap-1.sh: Likewise.
4455         * iconvdata/gen-8bit-gap.sh: Likewise.
4456         * iconvdata/gen-8bit.sh: Likewise.
4457         * iconvdata/run-iconv-test.sh: Likewise.
4458         * intl/tst-gettext.sh: Likewise.
4459         * intl/tst-gettext2.sh: Likewise.
4460         * intl/tst-gettext4.sh: Likewise.
4461         * intl/tst-gettext6.sh: Likewise.
4462         * intl/tst-translit.sh: Likewise.
4463         * io/ftwtest-sh: Likewise.
4464         * libio/test-freopen.sh: Likewise.
4465         * locale/gen-translit.pl: Likewise.
4466         * malloc/tst-mtrace.sh: Likewise.
4467         * manual/check-safety.sh: Likewise.
4468         * manual/libc-texinfo.sh: Likewise.
4469         * manual/tsort.awk: Likewise.
4470         * manual/xtract-typefun.awk: Likewise.
4471         * nptl/tst-cancel-wrappers.sh: Likewise.
4472         * nptl/tst-tls6.sh: Likewise.
4473         * posix/globtest.sh: Likewise.
4474         * posix/tst-getconf.sh: Likewise.
4475         * posix/wordexp-tst.sh: Likewise.
4476         * scripts/check-c++-types.sh: Likewise.
4477         * scripts/check-local-headers.sh: Likewise.
4478         * scripts/config.guess: Likewise.
4479         * scripts/config.sub: Likewise.
4480         * scripts/cpp: Likewise.
4481         * scripts/cross-test-ssh.sh: Likewise.
4482         * scripts/documented.sh: Likewise.
4483         * scripts/evaluate-test.sh: Likewise.
4484         * scripts/gen-libc-abis: Likewise.
4485         * scripts/gen-sorted.awk: Likewise.
4486         * scripts/list-fixed-bugs.py: Likewise.
4487         * scripts/merge-test-results.sh: Likewise.
4488         * scripts/mkinstalldirs: Likewise.
4489         * scripts/rellns-sh: Likewise.
4490         * scripts/test-installation.pl: Likewise.
4491         * scripts/update-copyrights: Likewise.
4492         * stdio-common/tst-printf.sh: Likewise.
4493         * stdio-common/tst-unbputc.sh: Likewise.
4494         * stdlib/tst-fmtmsg.sh: Likewise.
4495         * stdlib/tst-setcontext3.sh: Likewise.
4496         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
4497         * sysdeps/unix/make-syscalls.sh: Likewise.
4499 2016-01-06  John David Anglin  <dave.anglin@bell.net>
4501         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
4502         asm stw with atomic_exchange_rel.  Add explanatory comment.
4503         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
4504         Likewise.
4506 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4508         [BZ #19122]
4509         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
4510         * sysdeps/generic/dl-unistd.h: New file.
4511         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
4513 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4515          [BZ #19122]
4516          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
4517          * sysdeps/generic/dl-mman.h: New file.
4518          * sysdeps/mach/hurd/dl-mman.h: Likewise.
4520 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
4522         * manual/texinfo.tex: Update to version 2016-01-04.21 with
4523         trailing whitespace removed.
4524         * scripts/config.guess: Update to version 2016-01-01.
4525         * scripts/config.sub: Update to version 2016-01-01.
4526         * scripts/move-if-change: Update from gnulib.
4528 2016-01-04  Anton Blanchard  <anton@samba.org>
4530         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
4531         for array indices.
4532         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
4534 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
4536         * NEWS: Update copyright dates.
4537         * catgets/gencat.c (print_version): Likewise.
4538         * csu/version.c (banner): Likewise.
4539         * debug/catchsegv.sh: Likewise.
4540         * debug/pcprofiledump.c (print_version): Likewise.
4541         * debug/xtrace.sh (do_version): Likewise.
4542         * elf/ldconfig.c (print_version): Likewise.
4543         * elf/ldd.bash.in: Likewise.
4544         * elf/pldd.c (print_version): Likewise.
4545         * elf/sotruss.sh: Likewise.
4546         * elf/sprof.c (print_version): Likewise.
4547         * iconv/iconv_prog.c (print_version): Likewise.
4548         * iconv/iconvconfig.c (print_version): Likewise.
4549         * locale/programs/locale.c (print_version): Likewise.
4550         * locale/programs/localedef.c (print_version): Likewise.
4551         * login/programs/pt_chown.c (print_version): Likewise.
4552         * malloc/memusage.sh (do_version): Likewise.
4553         * malloc/memusagestat.c (print_version): Likewise.
4554         * malloc/mtrace.pl: Likewise.
4555         * manual/libc.texinfo: Likewise.
4556         * nptl/version.c (banner): Likewise.
4557         * nscd/nscd.c (print_version): Likewise.
4558         * nss/getent.c (print_version): Likewise.
4559         * nss/makedb.c (print_version): Likewise.
4560         * posix/getconf.c (main): Likewise.
4561         * scripts/test-installation.pl: Likewise.
4562         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4564         * All files with FSF copyright notices: Update copyright dates
4565         using scripts/update-copyrights.
4566         * intl/plural.c: Regenerated.
4567         * locale/programs/charmap-kw.h: Likewise.
4568         * locale/programs/locfile-kw.h: Likewise.
4570 2016-01-02  Helge Deller  <deller@gmx.de>
4572         [BZ #19285]
4573         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
4574         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
4575         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
4576         (MADV_xxK_PAGES): Remove.
4578 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
4580         [BZ #15421]
4581         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
4582         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
4583         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
4584         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
4586 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
4588         [BZ #19408]
4589         * sysdeps/unix/sysv/linux/personality.c: New file.
4590         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
4591         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
4592         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
4593         (sysdep_routines): Add personality.
4594         (tests): Add tst-personality.
4595         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
4596         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
4597         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
4598         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
4599         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
4600         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
4601         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
4602         Likewise.
4603         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
4604         Likewise.
4605         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
4606         Likewise.
4607         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
4608         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
4609         Likewise.
4611 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
4613         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
4614         (PATH_ARM_SYSTYPE): Remove.
4615         (PATH_CPUINFO): Likewise.
4616         (IO_BASE_FOOTBRIDGE): Likewise.
4617         (IO_SHIFT_FOOTBRIDGE): Likewise.
4618         (struct platform): Likewise.
4619         (init_iosys): Remove compatibility code for 2.4 kernels.
4620         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
4622 2015-12-29  Florian Weimer  <fweimer@redhat.com>
4624         * malloc/tst-malloc-thread-fail.c: New file.
4625         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
4626         (tst-malloc-thread-fail): Link against libpthread.
4628 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
4630         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
4631         (get_parser): New function.
4632         (main): New function.
4634 2015-12-29  Rob Wu  <rob@robwu.nl>
4636         [BZ #19369]
4637         * resolv/res_init.c (__res_vinit): Reset defdname before use.
4639 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
4641         [BZ #19270]
4642         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4644 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
4646         [BZ #15421]
4647         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
4649 2015-12-23  Torvald Riegel  <triegel@redhat.com>
4651         [BZ #13690]
4652         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
4653         after releasing it.
4654         (__lll_robust_unlock): Likewise.
4655         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4656         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
4657         (lll_robust_unlock): Likewise.
4658         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
4659         Prevent warnings in callers.
4661 2015-12-23  Florian Weimer  <fweimer@redhat.com>
4663         * malloc/arena.c (list_lock): Update comment.
4665 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4667         * sysdeps/powerpc/hwcapinfo.c: Export symbol
4668         __parse_hwcap_and_convert_at_platform to libc.a.
4670 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4672         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
4673         platform and feature support for POWER9.
4674         * sysdeps/powerpc/dl-procinfo.h: Likewise.
4675         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
4676         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
4677         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
4678         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
4679         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
4680         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
4681         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
4683 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4685         Harmonize generic stdio-lock support with nptl
4687         This fixes build when _IO_funlockfile is a macro, fixes build where
4688         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
4689         stack unwind.
4691         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
4692         _IO_release_lock ): Use cleanup attribute on new
4693         _IO_acquire_lock_file variable instead of assuming that
4694         _IO_release_lock will be called.
4695         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
4696         _IO_acquire_lock_needs_exceptions_enabled.
4697         (_IO_acquire_lock_clear_flags2): New macro.
4699 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4701         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4703 2015-12-21  Florian Weimer  <fweimer@redhat.com>
4705         [BZ #19182]
4706         * malloc/arena.c (list_lock): Document lock ordering requirements.
4707         (free_list_lock): New lock.
4708         (ptmalloc_lock_all): Comment on free_list_lock.
4709         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
4710         (detach_arena): Update comment.  free_list_lock is now needed.
4711         (_int_new_arena): Use free_list_lock around detach_arena call.
4712         Acquire arena lock after list_lock.  Add comment, including FIXME
4713         about incorrect synchronization.
4714         (get_free_list): Switch to free_list_lock.
4715         (reused_arena): Acquire free_list_lock around detach_arena call
4716         and attached threads counter update.  Add two FIXMEs about
4717         incorrect synchronization.
4718         (arena_thread_freeres): Switch to free_list_lock.
4719         * malloc/malloc.c (struct malloc_state): Update comments to
4720         mention free_list_lock.
4722 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4724         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
4725         Remove functions.
4726         (sloww, sloww1): Accept argument to offset quadrant.
4727         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
4728         quadrant.
4729         (__sin, __cos): Consolidate common code into new functions.
4730         (reduce_sincos_1, do_sincos_1): New functions.
4731         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4733         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
4734         code to new functions.
4735         (reduce_sincos_2, do_sincos_2): New functions.
4736         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4738         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
4739         common code for sincos.
4740         (__cos) [!IN_SINCOS]: Likewise.
4741         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
4742         New function.
4743         (__sincos): Use it.
4745 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
4747         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
4748         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
4749         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4751 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4753         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
4754         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
4755         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4756         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
4757         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4758         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
4759         index_Prefer_No_VZEROUPPER): New feature.
4760         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
4761         Prefer_No_VZEROUPPER for Knights Landing.
4763 015-12-18  Torvald Riegel  <triegel@redhat.com>
4765         * math/atest-exp2.c (mp_exp_m1): Remove.
4767 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4769         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
4770         syscalls.
4771         (__SYSCALL0): New macro.
4772         (__SYSCALL1): Likewise.
4773         (__SYSCALL2): Likewise.
4774         (__SYSCALL3): Likewise.
4775         (__SYSCALL4): Likewise.
4776         (__SYSCALL5): Likewise.
4777         (__SYSCALL6): Likewise.
4778         (__SYSCALL_CONCAT_X): Likewise.
4779         (__SYSCALL_CONCAT): Likewise.
4780         (__SYSCALL_DIST): Likewise.
4781         (__SYSCALL_CALL): Likewise.
4783 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
4785         [BZ #19363]
4786         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
4788 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4790         [BZ #19375]
4791         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
4792         negative subnormals.
4794 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
4796         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4797         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
4798         (INTERNAL_SYSCALL_NCS): Use it.
4799         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4801 2015-12-16  Florian Weimer  <fweimer@redhat.com>
4803         [BZ #19243]
4804         * malloc/arena.c (get_free_list): Remove assert and adjust
4805         reference count handling.  Add comment about reused_arena
4806         interaction.
4807         (reused_arena): Add comments abount get_free_list interaction.
4808         * malloc/tst-malloc-thread-exit.c: New file.
4809         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
4810         (tst-malloc-thread-exit): Link against libpthread.
4812 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4814         [BZ #19367]
4815         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
4816         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
4817         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4818         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
4819         (index_Prefer_MAP_32BIT_EXEC): Likewise.
4821 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4823         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
4824         Silvermont optimizations for Knights Landing.
4826 2015-12-15  Andreas Schwab  <schwab@suse.de>
4828         [BZ #17197]
4829         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
4830         immediately after emitting SI.
4831         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
4832         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
4833         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
4834         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
4835         * iconvdata/bug-iconv10.c: New file.
4836         * iconvdata/Makefile (tests): Add bug-iconv10.
4837         ($(objpfx)bug-iconv10.out): New rule.
4839 2015-12-15  Florian Weimer  <fweimer@redhat.com>
4841         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
4842         aliasing violation.
4844 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
4846         [BZ #18472]
4847         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
4848         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
4849         conditionals for them.
4850         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
4851         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
4852         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4853         sys/kdaemon.h.
4854         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
4855         compat-only syscall, obsoleted in glibc 2.23.
4856         (create_module): Likewise.
4857         (get_kernel_syms): Likewise.
4858         (query_module): Likewise.
4859         (uselib): Likewise.
4860         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
4862 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
4864         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
4865         <linux/version.h>.
4866         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
4867         conditional code.
4868         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
4869         and ioshift_name initialization.
4871 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4873         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4874         Fix indentation.
4876 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4878         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
4880 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4882         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
4884 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
4885             Jakub Wilk  <jwilk@debian.org>
4887         [BZ #19347]
4888         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
4889         to change the group of the device to the tty group.
4891 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
4893         Split large string section; add truncation advice
4894         * manual/examples/strncat.c: Remove.
4895         This example was misleading, as the code would have undefined
4896         behavior if "hello" was longer than SIZE.  Anyway, the manual
4897         shouldn't encourage strncpy+strncat for this sort of thing.
4898         * manual/string.texi (Copying Strings and Arrays): Split into
4899         three sections Copying Strings and Arrays, Concatenating Strings,
4900         and Truncating Strings, as this section was way too long.  All
4901         cross-referenced changed.  Add advice about string-truncation
4902         functions.  Remove misleading strncat example.
4904 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
4906         * manual/nss.texi (NSS Modules Interface): Document
4907         NSS_STATUS_NOTFOUND and SUCCESS.
4909 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4911         [BZ 18568]
4912         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4913         201505L, for Unicode 8.
4915 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
4917         * locale/C-translit.h: Regenerate.
4919 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4921         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
4922         and U+0153.
4924 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
4926         [BZ #19351]
4927         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
4928         expanding log(1+z), compare z rather than its square with epsilon
4929         to determine when to avoid evaluating the expansion.
4931         [BZ #19350]
4932         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4933         Increase overflow threshold.
4935         [BZ #19349]
4936         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
4937         when small.
4939         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4940         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4941         New macro.
4942         [__LINUX_KERNEL_VERSION >= 0x040300]
4943         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4944         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4945         Likewise.
4946         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4947         Likewise.
4948         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4949         Likewise.
4950         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4951         Likewise.
4952         [__LINUX_KERNEL_VERSION >= 0x040300]
4953         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4954         [__LINUX_KERNEL_VERSION >= 0x040300]
4955         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4956         [__LINUX_KERNEL_VERSION >= 0x040300]
4957         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4958         [__LINUX_KERNEL_VERSION >= 0x040300]
4959         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4960         [__LINUX_KERNEL_VERSION >= 0x040300]
4961         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4962         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4963         Likewise.
4964         [__LINUX_KERNEL_VERSION >= 0x040300]
4965         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4966         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4967         Likewise.
4968         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4969         Likewise.
4970         [__LINUX_KERNEL_VERSION >= 0x040300]
4971         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4972         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4973         Likewise.
4974         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4975         Likewise.
4976         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4977         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
4978         Likewise.
4979         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
4980         Likewise.
4981         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4982         Likewise.
4983         [__LINUX_KERNEL_VERSION >= 0x040300]
4984         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4985         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4986         Likewise.
4987         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4988         Likewise.
4989         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4990         Likewise.
4991         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4992         Likewise.
4993         [__LINUX_KERNEL_VERSION >= 0x040300]
4994         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4995         [__LINUX_KERNEL_VERSION >= 0x040300]
4996         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4997         [__LINUX_KERNEL_VERSION >= 0x040300]
4998         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4999         [__LINUX_KERNEL_VERSION >= 0x040300]
5000         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5001         [__LINUX_KERNEL_VERSION >= 0x040300]
5002         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5003         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5004         Likewise.
5005         [__LINUX_KERNEL_VERSION >= 0x040300]
5006         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5007         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5008         Likewise.
5009         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5010         Likewise.
5011         [__LINUX_KERNEL_VERSION >= 0x040300]
5012         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5013         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5014         Likewise.
5015         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5016         Likewise.
5017         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5018         (__ASSUME_SOCKET_SYSCALL): Likewise.
5019         (__ASSUME_BIND_SYSCALL): Likewise.
5020         (__ASSUME_CONNECT_SYSCALL): Likewise.
5021         (__ASSUME_LISTEN_SYSCALL): Likewise.
5022         (__ASSUME_ACCEPT_SYSCALL): Likewise.
5023         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5024         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5025         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5026         (__ASSUME_SEND_SYSCALL): Likewise.
5027         (__ASSUME_SENDTO_SYSCALL): Likewise.
5028         (__ASSUME_RECV_SYSCALL): Likewise.
5029         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5030         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
5031         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5032         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5033         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5034         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5035         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5036         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
5037         Likewise.
5038         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
5039         Likewise.
5040         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
5041         Likewise.
5042         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
5043         Likewise.
5044         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
5045         Likewise.
5046         [__LINUX_KERNEL_VERSION >= 0x020625]
5047         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5048         [__LINUX_KERNEL_VERSION >= 0x020625]
5049         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5050         [__LINUX_KERNEL_VERSION >= 0x020625]
5051         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5052         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
5053         Likewise.
5054         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
5055         Likewise.
5056         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
5057         Likewise.
5058         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
5059         Likewise.
5060         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
5061         Likewise.
5062         [__LINUX_KERNEL_VERSION >= 0x020625]
5063         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5064         [__LINUX_KERNEL_VERSION >= 0x020625]
5065         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5066         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
5067         Likewise.
5068         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
5069         Likewise.
5071 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5073         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
5074         record the current if the current ABI and CPU support the FP64
5075         extension.
5076         (has-modd-spreg): Define to record the current if the current ABI and
5077         CPU support 32-bit floating point values in odd FPU registers.
5078         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5079         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
5080         $(has-modd-spreg) equals yes.
5081         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
5082         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
5083         $(has-modd-spreg) equal yes.
5085 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5087         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
5088         basename.
5090 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
5092         * benchtests/Makefile (bench-math): Move ffs and ffsll...
5093         (bench-string): ... here.
5094         (bench): Add bench-string.
5095         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
5096         to *-benchset to reflect what they are.
5097         (benchset): Adjust.
5099         * benchtests/sincos-inputs: Add inputs from sin-inputs and
5100         cos-inputs.
5102 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
5104         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
5105         __attribute__ ((__simd__)) for vector math function declarations.
5107 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5109         Fix typo in strncat, wcsncat manual entries
5110         * manual/string.texi (Copying and Concatenation): Fix typos in
5111         sample implementations of strncat and wcsncat, by having them use
5112         the old value of the destination length, not the new one.
5114 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
5116         [BZ #16961]
5117         [BZ #16962]
5118         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
5119         string on the stack for strtod.
5120         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
5121         a string on the stack for strtof.
5122         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
5123         constructing a string on the stack for strtold.
5124         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
5125         __strtold_nan to GLIBC_PRIVATE.
5126         * math/test-nan-overflow.c: New file.
5127         * math/test-nan-payload.c: Likewise.
5128         * math/Makefile (tests): Add test-nan-overflow and
5129         test-nan-payload.
5131 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5133         Consistency about byte vs character in string.texi
5134         * manual/string.texi (String and Array Utilities):
5135         Distinguish more carefully among bytes, multibyte characters,
5136         and wide characters.  Use "byte" when talking about C 'char',
5137         to distinguish it more clearly from multibyte characters.
5138         Say "wide character" or "multibyte character" instead of
5139         "character", when a wide or multibyte character is intended.
5140         Similarly for "multibyte string" versus "string".
5141         Define these terms more carefully.
5143 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
5145         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
5146         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
5147         Likewise.
5148         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5149         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5150         * sysdeps/sh/math_private.h: New file.
5151         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
5152         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
5153         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
5154         long double function name.
5155         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5156         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5157         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5158         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5159         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5161         Remove __finitel, __isinfl, and __isnanl.
5162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5163         Likewise.
5164         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5166         Remove __finitel.
5167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5168         Likewise.
5169         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5171 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
5173         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
5174         installed libmvec_nonshared.a.
5176 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5178         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
5179         (sysdep_routines): Likewise.
5180         (sysdep-rtld-routines): Likewise.
5181         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
5182         [$(subdir) = nptl](tests-static): test-get_hwcap-static
5183         * sysdeps/powerpc/Versions: Added new
5184         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
5185         * sysdeps/powerpc/hwcapinfo.c: New file.
5186         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
5187         and parse hwcap, hwcap2 and platform number information.
5188         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
5189         to store HWCAP+HWCAP2 and platform number.
5190         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
5191         for HWCAP+HWCAP2 and platform number in the TCB.
5192         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
5193         the HWCAP, HWCAP2 and platform number in the TCB.
5194         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
5195         (TLS_INIT_TP): Included calls to add the hwcap and
5196         at_platform values in the TCB in TP initialization.
5197         (TLS_DEFINE_INIT_TP): Likewise.
5198         (THREAD_GET_HWCAP): New macro.
5199         (THREAD_SET_HWCAP): Likewise.
5200         (THREAD_GET_AT_PLATFORM): Likewise.
5201         (THREAD_SET_AT_PLATFORM): Likewise.
5202         * sysdeps/powerpc/powerpc32/dl-machine.h:
5203         (dl_platform_init): New function that calls
5204         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
5205         powerpc32.
5206         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
5207         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
5208         this functionality, static linking case.
5209         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
5210         linking case.
5211         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
5212         __parse_hwcap_and_convert_at_platform for the static linking case.
5213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
5214         Included the new __parse_hwcap_and_convert_at_platform symbol in the
5215         ABI list for GLIBC 2.23.
5216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
5217         Likewise.
5218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
5219         Likewise.
5221 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
5223         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
5224         * configure: Regenerate.
5225         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
5226         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
5228 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
5230         * iconvdata/ibm930.c: Add comment explaining encoding uses.
5231         * iconvdata/ibm933.c: Likewise.
5232         * iconvdata/ibm935.c: Likewise.
5233         * iconvdata/ibm937.c: Likewise.
5234         * iconvdata/ibm939.c: Likewise.
5236 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5238         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
5239         pthread_join.
5240         * nptl/tst-cancel21.c (tf): Likewise.
5242 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
5244         [BZ #19313]
5245         * bits/typesizes.h (__CPU_MASK_TYPE): New.
5246         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5247         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5248         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
5249         Likewise.
5250         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
5251         Likewise.
5252         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
5253         Likewise.
5254         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
5255         Likewise.
5256         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
5257         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
5258         unsigned long int with __CPU_MASK_TYPE.
5260 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5262         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5264 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
5266         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
5267         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
5268         t512.x.
5269         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
5271 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
5273         [BZ #19214]
5274         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
5275         argument to return extended model.  Update family and model
5276         with extended family and model when family == 0x0f.
5277         (init_cpu_features): Updated.
5279 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5281         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
5282         signed off_t, so 32bit bigger than 2GiB values are fine actually.
5284         * sysdeps/mach/hurd/mmap64.c: New file.
5286 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
5288         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
5289         rights for its main user thread in NEWTASK.
5291 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
5293         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
5294         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
5296 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
5298         [BZ #14259]
5299         * Makeconfig: Rename localedir to complocaledir.
5300         Rename inst_localedir to inst_complocaledir.
5301         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
5302         * config.make.in: Use complocaledir and libc_cv_complocaledir.
5303         * configure.ac: Use libc_cv_complocaledir.
5304         * configure: Regenerate.
5305         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
5306         -DCOMPLOCALEDIR.
5307         * locale/findlocale.c: Use COMPLOCALEDIR.
5308         * locale/loadarchive.c: Likewise.
5309         * locale/programs/locale.c: Likewise.
5310         * locale/programs/localedef.c: Likewise.
5311         * locale/programs/locarchive.c: Likewise.
5312         * localedata/Makefile: Use inst_complocaledir.
5313         * sysdeps/gnu/configure: Regenerate.
5314         * sysdeps/hppa/configure: Regenerate.
5315         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
5316         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5318         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
5319         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
5320         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
5321         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
5323 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
5325         [BZ #19058]
5326         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
5327         AS_NEEDED.
5328         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
5329         workaround.
5330         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
5331         libmvec-static-only-routines): Added new file.
5332         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
5334 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5336         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
5337         of interrupted RPC instead of restoring it.
5339         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
5340         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
5341         libc_hidden_def.
5342         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
5343         into initialized data instead of common. Define rtld_hidden_data_def.
5344         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
5345         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
5346         libc_hidden_def.
5347         (if_freenameindex): Add libc_hidden_weak.
5348         (if_nameindex): Add libc_hidden_weak.
5349         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
5350         __open64.
5351         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
5352         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
5353         * sysdeps/mach/nanosleep.c: Include <time.h>
5354         (__nanosleep): Rename to __libc_nanosleep.
5355         (__nanosleep): Add weak_alias.
5356         (nanosleep): Update alias.
5358 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
5360         * stdlib/strtod_nan.c: New file.
5361         * stdlib/strtod_nan_double.h: Likewise.
5362         * stdlib/strtod_nan_float.h: Likewise.
5363         * stdlib/strtod_nan_main.c: Likewise.
5364         * stdlib/strtod_nan_narrow.h: Likewise.
5365         * stdlib/strtod_nan_wide.h: Likewise.
5366         * stdlib/strtof_nan.c: Likewise.
5367         * stdlib/strtold_nan.c: Likewise.
5368         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
5369         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
5370         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
5371         * wcsmbs/wcstod_nan.c: Likewise.
5372         * wcsmbs/wcstof_nan.c: Likewise.
5373         * wcsmbs/wcstold_nan.c: Likewise.
5374         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
5375         strtold_nan.
5376         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
5377         wcstof_nan.
5378         * include/stdlib.h (__strtof_nan): Declare and use
5379         libc_hidden_proto.
5380         (__strtod_nan): Likewise.
5381         (__strtold_nan): Likewise.
5382         (__wcstof_nan): Likewise.
5383         (__wcstod_nan): Likewise.
5384         (__wcstold_nan): Likewise.
5385         * include/wchar.h (____wcstoull_l_internal): Declare.
5386         * stdlib/strtod_l.c: Do not include <ieee754.h>.
5387         (____strtoull_l_internal): Remove declaration.
5388         (STRTOF_NAN): Define macro.
5389         (SET_MANTISSA): Remove macro.
5390         (STRTOULL): Likewise.
5391         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
5392         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
5393         (STRTOF_NAN): Define macro.
5394         (SET_MANTISSA): Remove macro.
5395         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
5396         (SET_MANTISSA): Remove macro.
5397         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
5398         macro.
5399         (SET_MANTISSA): Remove macro.
5400         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
5401         macro.
5402         (SET_MANTISSA): Remove macro.
5403         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
5404         (SET_MANTISSA): Remove macro.
5405         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
5406         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
5407         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
5409         [BZ #19266]
5410         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
5411         upper case and lower case letters inside NAN(), not using TOLOWER.
5412         * stdlib/tst-strtod-nan-locale-main.c: New file.
5413         * stdlib/tst-strtod-nan-locale.c: Likewise.
5414         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
5415         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
5416         Depend on $(gen-locales).
5417         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
5418         * wcsmbs/tst-wcstod-nan-locale.c: New file.
5419         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
5420         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
5421         Depend on $(gen-locales).
5422         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
5424 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
5426         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
5428         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
5430         __finitel, __isinfl, and __isnanl.
5431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5432         Likewise.
5433         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
5435         __finitel.
5436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5437         Likewise.
5438         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5440 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5442         * malloc/memusage.c (me): Remove redundant getenv call.
5444 2015-10-24  Florian Weimer  <fweimer@redhat.com>
5446         [BZ #19143]
5447         [BZ #19164]
5448         * nptl/check-cpuset.h: Remove.
5449         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
5450         Remove CPU set size check.
5451         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
5452         Likewise.
5453         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
5454         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5455         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
5456         (__pthread_setaffinity_new): Remove CPU set size check.
5457         * sysdeps/unix/sysv/linux/sched_setaffinity.c
5458         (__kernel_cpumask_size): Remove.
5459         (__sched_setaffinity_new): Remove CPU set size check.
5460         * manual/threads.texi (Default Thread Attributes): Remove stale
5461         reference to check_cpuset_attr, determine_cpumask_size in comment.
5462         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
5463         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
5464         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
5465         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
5466         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
5467         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
5468         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
5469         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
5470         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
5471         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
5472         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
5473         skeleton test file.
5474         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
5475         tst-affinity-pid.
5477 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5479         * scripts/update-abilist.sh: New file.
5480         * Makefile (+subdir_targets): Add subdir_update-all-abi.
5481         * Makerules (update-all-abi-%, update-all-abi)
5482         (subdir_update-all-abi): New targets.
5483         * elf/Makefile (update-all-abi): New target.
5485 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5487         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
5488         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
5489         (__libc_lock_define_initialized): Use it.
5490         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
5491         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
5492         * malloc/malloc.c (main_arena): Likewise.
5493         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5494         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5496 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
5498         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5499         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
5500         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5501         (PTRACE_O_MASK): Update value.
5502         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
5503         New value in enum __ptrace_setoptions.
5504         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5505         (PTRACE_O_MASK): Update value.
5506         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5507         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5508         (PTRACE_O_MASK): Update value.
5509         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
5510         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5511         (PTRACE_O_MASK): Update value.
5512         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
5513         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5514         (PTRACE_O_MASK): Update value.
5515         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
5516         New value in enum __ptrace_setoptions.
5517         (PTRACE_O_MASK): Update value.
5518         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
5519         New value in enum __ptrace_setoptions.
5520         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5521         (PTRACE_O_MASK): Update value.
5523         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
5524         New macro.
5525         (PACKET_AUXDATA): Likewise.
5526         (PACKET_ORIGDEV): Likewise.
5527         (PACKET_VERSION): Likewise.
5528         (PACKET_HDRLEN): Likewise.
5529         (PACKET_RESERVE): Likewise.
5530         (PACKET_TX_RING): Likewise.
5531         (PACKET_LOSS): Likewise.
5532         (PACKET_VNET_HDR): Likewise.
5533         (PACKET_TX_TIMESTAMP): Likewise.
5534         (PACKET_TIMESTAMP): Likewise.
5535         (PACKET_FANOUT): Likewise.
5536         (PACKET_TX_HAS_OFF): Likewise.
5537         (PACKET_QDISC_BYPASS): Likewise.
5538         (PACKET_ROLLOVER_STATS): Likewise.
5539         (PACKET_FANOUT_DATA): Likewise.
5540         (PACKET_MR_UNICAST): Likewise.
5542         [BZ #19242]
5543         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
5544         (TOUPPER): Likewise.
5545         * stdlib/tst-strtol-locale-main.c: New file.
5546         * stdlib/tst-strtol-locale.c: Likewise.
5547         * stdlib/Makefile (tests): Add tst-strtol-locale.
5548         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
5549         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
5550         Depend on $(gen-locales).
5551         * wcsmbs/tst-wcstol-locale.c: New file.
5552         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
5553         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
5554         tr_TR.ISO-8859-9.
5555         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
5556         Depend on $(gen-locales).
5558 2015-11-20  Roland McGrath  <roland@hack.frob.com>
5560         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
5561         __glibc_likely instead of __builtin_expect.  After falling back to
5562         dyncode_create in a non-ET_DYN case, use the allocate_code_data
5563         system interface to register the code pages as occupied.
5565 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
5567         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5568         [!ARM_MATH_PRIVATE_H].
5569         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
5570         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5571         [!HPPA_MATH_PRIVATE_H].
5572         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
5573         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
5574         to [!I386_MATH_PRIVATE_H].
5575         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
5576         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
5577         Change guard to [!M68K_MATH_PRIVATE_H].
5578         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
5579         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
5580         guard to [!MICROBLAZE_MATH_PRIVATE_H].
5581         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
5582         macro.
5583         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5584         [!MIPS_MATH_PRIVATE_H].
5585         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
5586         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5587         [!NIO2_MATH_PRIVATE_H].
5588         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
5589         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5590         [!TILE_MATH_PRIVATE_H].
5591         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
5593         [BZ #15421]
5594         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
5595         initialize with 0 and define as weak alias of __signgam.
5596         * include/math.h [!_ISOMAC] (__signgam): Declare.
5597         * math/Makefile (libm-calls): Add w_lgamma_compat.
5598         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
5599         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
5600         test-signgam-ullong-init.
5601         (tests-static): Add test-signgam-uchar-static,
5602         test-signgam-uchar-init-static, test-signgam-uint-static,
5603         test-signgam-uint-init-static, test-signgam-ullong-static and
5604         test-signgam-ullong-init-static.
5605         (CFLAGS-test-signgam-uchar.c): New variable.
5606         (CFLAGS-test-signgam-uchar-init.c): Likewise.
5607         (CFLAGS-test-signgam-uchar-static.c): Likewise.
5608         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
5609         (CFLAGS-test-signgam-uint.c): Likewise.
5610         (CFLAGS-test-signgam-uint-init.c): Likewise.
5611         (CFLAGS-test-signgam-uint-static.c): Likewise.
5612         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
5613         (CFLAGS-test-signgam-ullong.c): Likewise.
5614         (CFLAGS-test-signgam-ullong-init.c): Likewise.
5615         (CFLAGS-test-signgam-ullong-static.c): Likewise.
5616         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
5617         * math/Versions (libm): Add GLIBC_2.23.
5618         * math/lgamma-compat.h: New file.
5619         * math/test-signgam-main.c: Likewise.
5620         * math/test-signgam-uchar-init-static.c: Likewise.
5621         * math/test-signgam-uchar-init.c: Likewise.
5622         * math/test-signgam-uchar-static.c: Likewise.
5623         * math/test-signgam-uchar.c: Likewise.
5624         * math/test-signgam-uint-init-static.c: Likewise.
5625         * math/test-signgam-uint-init.c: Likewise.
5626         * math/test-signgam-uint-static.c: Likewise.
5627         * math/test-signgam-uint.c: Likewise.
5628         * math/test-signgam-ullong-init-static.c: Likewise.
5629         * math/test-signgam-ullong-init.c: Likewise.
5630         * math/test-signgam-ullong-static.c: Likewise.
5631         * math/test-signgam-ullong.c: Likewise.
5632         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
5633         wrapper of w_lgamma_main.c.
5634         * math/w_lgamma_compat.c: New file.
5635         * math/w_lgamma_compatf.c: Likewise.
5636         * math/w_lgamma_compatl.c: Likewise.
5637         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
5638         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5639         defining compatibility symbols.
5640         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
5641         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
5642         wrapper of w_lgammaf_main.c.
5643         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
5644         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5645         defining compatibility symbols.
5646         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
5647         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
5648         wrapper of w_lgammal_main.c.
5649         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
5650         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5651         defining compatibility symbols.
5652         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
5653         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
5654         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
5655         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
5656         <lgamma-compat.h>.
5657         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
5658         (__ieee754_gamma): Define as alias.
5659         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
5660         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
5661         <lgamma-compat.h>.
5662         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
5663         (__ieee754_gammaf): Define as alias.
5664         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
5665         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
5666         <lgamma-compat.h>.
5667         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
5668         (__ieee754_gammal): Define as alias.
5669         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
5670         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
5671         <math/w_lgamma_compat.c>.
5672         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
5673         Define as alias of __lgamma_compat and use in defining lgammal.
5674         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
5675         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
5676         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
5677         (USE_AS_COMPAT): New macro.
5678         (LGAMMA_OLD_VER): Undefine and redefine.
5679         (lgammal): Do not define here.
5680         (gammal): Only define here if [GAMMA_ALIAS].
5681         * conform/linknamespace.pl (@whitelist): Remove signgam.
5682         * sysdeps/nacl/libm.abilist: Update.
5683         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5684         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5685         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5686         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5687         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5688         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5689         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5690         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5691         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5692         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5693         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5694         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5696         Likewise.
5697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5698         Likewise.
5699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5700         Likewise.
5701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5702         Likewise.
5703         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5704         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5705         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5706         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5707         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5709         Likewise.
5710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5711         Likewise.
5712         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5713         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5714         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5716 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5718         [BZ #16364]
5719         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
5720         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
5722 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5724         * sysdeps/s390/fpu/bits/mathinline.h:
5725         Use __asm__ [__volatile__] instead of asm [volatile].
5726         * sysdeps/s390/abort-instr.h: Likewise.
5727         * sysdeps/s390/atomic-machine.h: Likewise.
5728         * sysdeps/s390/bits/string.h: Likewise.
5729         * sysdeps/s390/dl-tls.h: Likewise.
5730         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5731         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5732         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5733         * sysdeps/s390/fpu/fesetround.c: Likewise.
5734         * sysdeps/s390/fpu/fpu_control.h: Likewise.
5735         * sysdeps/s390/fpu/s_fma.c: Likewise.
5736         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
5737         * sysdeps/s390/memusage.h: Likewise.
5738         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
5739         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
5740         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
5741         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
5742         * sysdeps/s390/nptl/tls.h: Likewise.
5743         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
5744         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5745         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5746         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5747         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5748         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5749         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
5750         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5751         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5752         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
5753         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5754         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5755         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5756         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
5757         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5758         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5759         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
5760         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5761         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
5762         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5763         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
5764         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5765         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
5767 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5768             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5770         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5771         Add lwarx hint, and use macro for acquire instruction.
5772         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5773         Likewise.
5774         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
5775         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
5776         update to use new atomic macros.
5778 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5780         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5781         (__lll_trylock_elision): Fix setting of adapt_count.
5782         * sysdeps/unix/sysv/linux/powerpc/htm.h
5783         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
5784         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
5785         (_ABORT_SYSCALL): Renumber, and clarify definition.
5786         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
5788 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5790         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
5791         after system headers to prevent MIN/MAX redefinition.  Define
5792         HAVE_ALLOCA to preserve builtin alloca usage.
5794 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5796         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
5797         static and don't set or restore rounding.
5798         (__cos)[IN_SINCOS]: Likewise.
5799         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
5800         (__sincos): Set and restore rounding mode.  Remove check for infinite
5801         or NaN input.
5803         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
5805         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
5806         as used.
5808 2015-11-16  Florian Weimer  <fweimer@redhat.com>
5810         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
5812 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5814         * config.make.in (have-glob-dat-reloc): New.
5815         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
5816         target supports GLOB_DAT relocaton. AC_SUBST.
5817         * configure: Regenerated.
5818         * elf/Makefile (tests): Add tst-prelink.
5819         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5820         (tst-prelink-ENV): New.
5821         ($(objpfx)tst-prelink-conflict.out): Likewise.
5822         ($(objpfx)tst-prelink-cmp.out): Likewise.
5823         * sysdeps/x86/tst-prelink.c: Moved to ...
5824         * elf/tst-prelink.c: Here.
5825         * sysdeps/x86/tst-prelink.exp: Moved to ...
5826         * elf/tst-prelink.exp: Here.
5827         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
5828         (tst-prelink-ENV): Removed.
5829         ($(objpfx)tst-prelink-conflict.out): Likewise.
5830         ($(objpfx)tst-prelink-cmp.out): Likewise.
5831         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
5833 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
5835         [BZ #14551]
5836         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
5837         (__mpn_construct_long_double): If high part overflows to infinity,
5838         set errno and recompute overflowed result of the correct sign.
5839         * sysdeps/ieee754/ldbl-128ibm/Makefile
5840         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
5841         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
5842         $(libm).
5843         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
5845 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
5847         [BZ #15479]
5848         [BZ #19238]
5849         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
5850         floating-point state after first operation on input.  Restore full
5851         state rather than just rounding mode.
5852         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5853         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5854         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5856         [BZ #19235]
5857         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
5858         add 0.5 to integer arguments.
5859         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
5860         Likewise.
5861         (.LC2): New object.
5863 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
5865         * scripts/pylintrc (reports): Set to no.
5867 2015-11-10  Roland McGrath  <roland@hack.frob.com>
5869         * elf/dl-load.c (open_verify): Take new argument FD.
5870         Skip __open call if passed FD is not -1.
5871         (_dl_map_object, open_path): Update callers.
5872         * elf/dl-sysdep-open.h: New file.
5873         * elf/dl-load.c: Include it.
5874         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
5875         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
5876         * sysdeps/nacl/dl-sysdep-open.h: New file.
5877         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
5878         from libc to rtld.
5880 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5882         [BZ #19228]
5883         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
5884         and restore full floating-point state.
5885         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5886         Likewise.
5887         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5888         Likewise.
5889         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5890         Likewise.
5891         * math/test-nearbyint-except-2.c: New file.
5892         * math/Makefile (tests): Add test-nearbyint-except-2.
5894 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
5896         [BZ #19178]
5897         * sysdeps/x86/Makefile (tests): Add tst-prelink.
5898         (tst-prelink-ENV): New.
5899         ($(objpfx)tst-prelink-conflict.out): Likewise.
5900         ($(objpfx)tst-prelink-cmp.out): Likewise.
5901         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5902         * sysdeps/x86/tst-prelink.c: New file.
5903         * sysdeps/x86/tst-prelink.exp: Likewise.
5905 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5907         * math/auto-libm-test-in: Add another test of pow.
5908         * math/auto-libm-test-out: Regenerated.
5909         * math/libm-test.inc (pow_test_data): Add another test.
5911 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5913         [BZ #19219]
5914         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
5915         weak_alias to nearbyintl.
5917 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5919         * sysdeps/aarch64/bits/string.h: New file.
5920         (_STRING_ARCH_unaligned): Define.
5922 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5924         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
5925         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5926         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5927         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
5928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
5930 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
5932         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
5933         for original name of the DSO.  Add it to the name list of the DSO
5934         if it is actually given.
5935         (_dl_map_object): Keep track of whether an audit module rewrote
5936         the file name.  If yes, pass the original name to
5937         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
5938         debugging is enabled, log the change of the file name.
5939         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
5940         _dl_map_object_from_fd.
5941         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
5942         * elf/tst-audit11.c: New file
5943         * elf/tst-auditmod11.c: New file.
5944         * elf/tst-audit11mod1.c: New file.
5945         * elf/tst-audit11mod2.c: New file.
5946         * elf/tst-audit11mod2.map: New file.
5947         * elf/tst-audit12.c: New file
5948         * elf/tst-auditmod12.c: New file.
5949         * elf/tst-audit12mod1.c: New file.
5950         * elf/tst-audit12mod2.c: New file.
5951         * elf/tst-audit12mod2.map: New file.
5952         * elf/tst-audit12mod3.c: New file.
5954 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5956         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
5957         Don't create weak aliases,
5958         because versioned symbols are created later.
5959         * sysdeps/s390/s390-32/setjmp.S
5960         (setjmp, _setjmp): Remove weak and rename to an unique name
5961         in SHARED case due to existing versioned symbols.
5962         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5963         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
5964         (getcontext): Create weak alias only in non SHARED case.
5965         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5967 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5969         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
5970         (__ASSUME_*_SYSCALL) Define new macros.
5971         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
5972         Remove socketcall syscalls.
5973         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
5974         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
5975         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
5976         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
5977         * sysdeps/unix/sysv/linux/send.c (__libc_send):
5978         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
5980 2015-11-09  Florian Weimer  <fweimer@redhat.com>
5982         [BZ #12926]
5983         Terminate process on invalid netlink response.
5984         * sysdeps/unix/sysv/linux/netlinkaccess.h
5985         (__netlink_assert_response): Declare.
5986         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
5987         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
5988         (sysdep_routines): Add netlink_assert_response.
5989         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
5990         __netlink_assert_response.
5991         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5992         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5993         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
5994         __netlink_assert_response.
5996 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5998         [BZ #19178]
5999         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
6000         (RTYPE_CLASS_PLT): Likewise.
6001         (RTYPE_CLASS_COPY): Likewise.
6002         (RTYPE_CLASS_TLS): Likewise.
6003         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
6004         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
6005         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
6006         DL_DEBUG_PRELINK.
6008 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
6010         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
6011         calls with argument -0.5.
6012         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
6014         * configure.ac (libc_cv_z_nodelete): Remove configure test.
6015         (libc_cv_z_nodlopen): Likewise.
6016         (libc_cv_z_initfirst): Likewise.
6017         * configure: Regenerated.
6019 2015-11-06  Florian Weimer  <fweimer@redhat.com>
6021         Simplify abilist format to be line-based.
6022         * scripts/abilist.awk: Collect descriptors in the descs variable.
6023         (emit): Write descs variable and sort it
6024         externally, with sort.
6025         * sysdeps/**/*.abilist: Convert to new format.
6027 2015-11-06  Mark Wielaard  <mjw@redhat.com>
6029         [BZ #11460]
6030         * io/Makefile (routines): Add fts64.
6031         (tests): Add tst-fts and tst-fts-lfs.
6032         (CFLAGS-fts64.c): New.
6033         * io/Versions (GLIBC_2.23): New.
6034         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
6035         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
6036         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
6037         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
6038         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
6039         (FTSENT64): Likewise.
6040         (fts64_children): Likewise.
6041         (fts64_close): Likewise.
6042         (fts64_open): Likewise.
6043         (fts64_read): Likewise.
6044         (fts64_set): Likewise.
6045         * io/fts64.c: New file.
6046         * io/tst-fts.c: New test.
6047         * io/tst-fts-lfs.c: Likewise.
6048         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
6049         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
6050         fts64_set.
6051         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6052         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6053         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6054         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6055         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6056         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6057         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6058         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6059         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6060         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6061         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6062         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6063         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6065         Likewise.
6066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6067         Likewise.
6068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6070         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6071         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6072         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6073         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6074         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6077         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6078         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6079         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6080         * sysdeps/wordsize-64/fts.c: New file.
6081         * sysdeps/wordsize-64/fts64.c: Likewise.
6082         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
6083         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
6084         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
6085         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
6087 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6089         * math/libm-test.inc (NON_FINITE): New macro.
6090         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
6091         * math/gen-libm-test.pl (show_exceptions): Add argument
6092         $non_finite.
6093         (parse_args): Update call to show_exceptions.
6094         * math/test-math-finite.h: New file.
6095         * math/test-math-no-finite.h: Likewise.
6096         * math/test-double-finite.c: Likewise.
6097         * math/test-float-finite.c: Likewise.
6098         * math/test-ldouble-finite.c: Likewise.
6099         * math/test-double.c: Include "test-math-no-finite.h".
6100         * math/test-float.c: Include "test-math-no-finite.h".
6101         * math/test-ldouble.c: Include "test-math-no-finite.h".
6102         * math/test-math-inline.h (TEST_FINITE): New macro.
6103         * math/test-math-vector.h (TEST_FINITE): Likewise.
6104         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
6105         (libm-tests): Add test-float-finite and test-double-finite.
6106         ($(objpfx)test-float-finite.o): New dependency on
6107         $(objpfx)libm-test.stmp.
6108         ($(objpfx)test-double-finite.o): Likewise.
6109         ($(objpfx)test-ldouble-finite.o): Likewise.
6110         (libm-test-no-inline-cflags): New variable.
6111         (libm-test-finite-cflags): Likewise.
6112         (CFLAGS-test-float-finite.c): Likewise.
6113         (CFLAGS-test-double-finite.c): Likewise.
6114         (CFLAGS-test-ldouble-finite.c): Likewise.
6115         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
6116         (CFLAGS-test-double.c): Likewise.
6117         (CFLAGS-test-ldouble.c): Likewise.
6119 2015-11-05  Roland McGrath  <roland@hack.frob.com>
6121         * io/fcntl.c (__fcntl): Add ... to prototype.
6122         * misc/ioctl.c (__ioctl): Likewise.
6123         * misc/syscall.c (syscall): Likewise.
6125 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6127         * scripts/list-fixed-bugs.py: New file.
6129         [BZ #19213]
6130         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
6131         returned for argument 1.
6132         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
6133         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
6134         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
6135         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
6136         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
6137         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
6139         [BZ #19211]
6140         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
6141         __USE_XOPEN], not if [!__USE_ISOC99].
6142         (lgammaf): Likewise.
6143         (lgammal): Likewise.
6144         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
6145         (gammaf): Likewise.
6146         (gammal): Likewise.
6147         * math/test-signgam-finite-c11.c: New file.
6148         * math/test-signgam-finite-c99.c: Likewise.
6149         * math/test-signgam-finite.c: Likewise.
6150         * math/Makefile (tests): Add test-signgam-finite,
6151         test-signgam-finite-c99 and test-signgam-finite-c11.
6152         (CFLAGS-test-signgam-finite.c): New variable.
6153         (CFLAGS-test-signgam-finite-c99.c): Likewise.
6154         (CFLAGS-test-signgam-finite-c11.c): Likewise.
6156         [BZ #19212]
6157         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
6158         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
6159         500].
6160         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
6161         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
6162         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
6163         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
6164         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
6165         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
6166         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
6167         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
6168         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
6169         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
6171         [BZ #19209]
6172         * math/bits/math-finite.h (ldexp): Remove declaration.
6173         (ldexpf): Likewise.
6174         (ldexpl): Likewise.
6176         [BZ #19205]
6177         * math/bits/math-finite.h (acosf): Condition declaration on
6178         [__USE_ISOC99].
6179         (acosl): Likewise.
6180         (acoshf): Likewise.
6181         (acoshl): Likewise.
6182         (asinf): Likewise.
6183         (asinl): Likewise.
6184         (atan2f): Likewise.
6185         (atan2l): Likewise.
6186         (atanhf): Likewise.
6187         (atanhl): Likewise.
6188         (coshf): Likewise.
6189         (coshl): Likewise.
6190         (expf): Likewise.
6191         (expl): Likewise.
6192         (fmodf): Likewise.
6193         (fmodl): Likewise.
6194         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
6195         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
6196         (j0l): Likewise.
6197         (y0f): Likewise.
6198         (y0l): Likewise.
6199         (j1f): Likewise.
6200         (j1l): Likewise.
6201         (y1f): Likewise.
6202         (y1l): Likewise.
6203         (jnf): Likewise.
6204         (jnl): Likewise.
6205         (ynf): Likewise.
6206         (ynl): Likewise.
6207         (lgammaf_r): Condition declaration on [__USE_ISOC99].
6208         (lgammal_r): Likewise.
6209         (__lgamma_r_finite): New declaration.
6210         (__lgammaf_r_finite): Likewise.
6211         (__lgammal_r_finite): Likewise.
6212         (lgamma): Use __lgamma_r_finite.
6213         (lgammaf): Condition definition on [__USE_ISOC99].  Use
6214         __lgammaf_r_finite.
6215         (lgammal): Condition definition on [__USE_ISOC99].  Use
6216         __lgammal_r_finite.
6217         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
6218         __lgamma_r_finite.
6219         (gammaf): Condition definition on [__USE_ISOC99].  Use
6220         __lgammaf_r_finite.
6221         (gammal): Condition definition on [__USE_ISOC99].  Use
6222         __lgammal_r_finite.
6223         (logf): Condition declaration on [__USE_ISOC99].
6224         (logl): Likewise.
6225         (log10f): Likewise.
6226         (log10l): Likewise.
6227         (ldexpf): Likewise.
6228         (ldexpl): Likewise.
6229         (powf): Likewise.
6230         (powl): Likewise.
6231         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
6232         __USE_ISOC99].
6233         (remainderf): Condition declaration on [__USE_ISOC99].
6234         (remainderl): Likewise.
6235         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
6236         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
6237         (scalbl): Likewise.
6238         (sinhf): Condition declaration on [__USE_ISOC99].
6239         (sinhl): Likewise.
6240         (sqrtf): Likewise.
6241         (sqrtl): Likewise.
6243 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6245         * sysdeps/arm/atomic-machine.h
6246         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6247         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6248         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
6249         Remove conditional code.
6250         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6251         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6252         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
6253         Change conditional to [__ASSEMBLER__].
6254         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6255         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
6256         [!__ASSEMBLER__].
6257         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
6258         code.
6259         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
6260         conditional macro definitions.
6261         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
6262         (__arch_compare_and_exchange_val_16_acq): Likewise.
6263         (__arch_compare_and_exchange_val_32_acq): Likewise.
6264         (atomic_exchange_and_add): Likewise.
6265         (atomic_add): Likewise.
6266         (atomic_add_negative): Likewise.
6267         (atomic_add_zero): Likewise.
6268         (atomic_bit_set): Likewise.
6269         (atomic_bit_test_set): Likewise.
6270         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
6271         code unconditional.
6272         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6274         * math/test-math-errno.h: New file.
6275         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
6276         empty.
6277         (TEST_ERRNO): New macro.
6278         (TEST_EXCEPTIONS): Likewise.
6279         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
6280         (TEST_EXCEPTIONS): Likewise.
6281         * math/test-math-vector.h (TEST_ERRNO): Likewise.
6282         * math/test-double.c: Include "test-math-errno.h".
6283         * math/test-float.c: Likewise.
6284         * math/test-ldouble.c: Likewise.
6285         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
6286         code unconditional.
6287         (test_exceptions): Only run code if TEST_EXCEPTIONS.
6288         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
6289         unconditional.
6290         (test_errno): Only run code if TEST_ERRNO.
6291         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
6293 2015-11-04  Florian Weimer  <fweimer@redhat.com>
6295         * nptl/tst-once5.cc: Remove attribution.
6297 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6299         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
6300         sqrt, tan, tanh, y0, y1 and yn.
6301         * math/auto-libm-test-out: Regenerated.
6302         * math/libm-test.inc (scalb_test_data): Add more tests.
6303         (scalbn_test_data): Likewise.
6304         (scalbln_test_data): Likewise.
6305         (signbit_test_data): Likewise.
6306         (sin_test_data): Likewise.
6307         (sincos_test_data): Likewise.
6308         (sinh_test_data): Likewise.
6309         (sqrt_test_data): Likewise.
6310         (tan_test_data): Likewise.
6311         (tanh_test_data): Likewise.
6312         (tgamma_test_data): Likewise.
6313         (y0_test_data): Likewise.
6314         (y1_test_data): Likewise.
6315         (yn_test_data): Likewise.
6316         (significand_test_data): Likewise.
6317         * sysdeps/i386/fpu/libm-test-ulps: Update.
6319 2015-11-03  David Kastrup  <dak@gnu.org>
6321         [BZ #18604]
6322         * assert/assert.h (assert): Don't macro-expand failed assertion
6323         expression in error message.
6324         * malloc/malloc.c (assert): Likewise.
6326 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
6328         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
6329         test.
6330         * configure: Regenerated.
6332 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
6334         * math/libm-test.inc (modf_test_data): Add more tests.
6335         (nearbyint_test_data): Likewise.
6336         (nextafter_test_data): Likewise.
6337         (nexttoward_test_data): Likewise.
6338         (pow_test_data): Likewise.
6339         (remainder_test_data): Likewise.
6340         (remquo_test_data): Likewise.
6341         (rint_test_data): Likewise.
6343         [BZ #19201]
6344         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6345         Check for zero remainder in case of large exponents and ensure
6346         correct sign of result in that case.
6347         * math/libm-test.inc (remainder_test_data): Add more tests.
6349         [BZ #6799]
6350         * math/s_nextafter.c: Include <errno.h>.
6351         (__nextafter): Set errno on overflow and underflow.
6352         * math/s_nexttowardf.c: Include <errno.h>.
6353         (__nexttowardf): Set errno on overflow and underflow.
6354         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
6355         (__nextafterl): Set errno on overflow and underflow.
6356         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
6357         (__nexttoward): Set errno on overflow and underflow.
6358         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
6359         (__nexttowardf): Set errno on overflow and underflow.
6360         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
6361         (__nextafterf): Set errno on overflow and underflow.
6362         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
6363         (__nextafterl): Set errno on overflow and underflow.
6364         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
6365         (__nexttoward): Set errno on overflow and underflow.
6366         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
6367         (__nexttowardf): Set errno on overflow and underflow.
6368         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
6369         (__nextafterl): Set errno on overflow and underflow.
6370         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
6371         (__nexttoward): Set errno on overflow and underflow.
6372         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
6373         (__nexttowardf): Set errno on overflow and underflow.
6374         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
6375         (__nexttoward): Set errno on overflow and underflow.
6376         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
6377         (__nexttowardf): Set errno on overflow and underflow.
6378         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
6379         (__nldbl_nexttowardf): Set errno on overflow and underflow.
6380         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
6381         (__nextafterl): Set errno on overflow and underflow.
6382         * math/libm-test.inc (nextafter_test_data): Do not allow errno
6383         setting to be missing on overflow.  Add more tests.
6384         (nexttoward_test_data): Likewise.
6386         * configure.ac (libc_cv_initfini_array): Remove configure test.
6387         * configure: Regenerated.
6389 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
6391         [BZ #19189]
6392         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
6393         non-finite argument handle arguments with negative sign.
6395         * math/libm-test.inc (j0_test_data): Do not test sign of zero
6396         result from infinite argument.
6397         (j1_test_data): Likewise.
6398         (jn_test_data): Likewise.
6399         (y0_test_data): Likewise.
6400         (y1_test_data): Likewise.
6401         (yn_test_data): Likewise.
6403         [BZ #16171]
6404         * math/w_remainder.c (drem): Define as weak alias of __remainder.
6405         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
6406         * math/w_remainderf.c (dremf): Define as weak alias of
6407         __remainderf.
6408         * math/w_remainderl.c (dreml): Define as weak alias of
6409         __remainderl.
6410         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
6411         __remainder.
6412         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
6413         __remainderf.
6414         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
6415         __remainderl.
6416         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
6417         weak alias of remainderl.
6418         * sysdeps/ieee754/ldbl-opt/w_remainder.c
6419         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
6420         alias of __remainder.
6421         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
6422         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
6423         strong alias of __remainderl.
6424         (dreml): Use long_double_symbol.
6425         * math/Makefile (libm-calls): Remove w_drem.
6426         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
6427         (CFLAGS-nldbl-drem.c): Remove variable.
6428         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
6429         * math/w_drem.c: Remove file.
6430         * math/w_dremf.c: Likewise.
6431         * math/w_dreml.c: Likewise.
6432         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
6433         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
6434         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
6436         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
6437         * sysdeps/i386/configure: Regenerated.
6438         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
6439         * sysdeps/x86_64/configure: Regenerated.
6441         * configure.ac (libc_cv_asm_protected_directive): Remove configure
6442         test.
6443         (libc_cv_visibility_attribute): Likewise.
6444         (libc_cv_protected_data): Test unconditionally.
6445         (libc_cv_broken_visibility_attribute): Remove configure test.
6446         (libc_cv_have_sdata_section): Test unconditionally.
6447         * configure: Regenerated.
6449         * include/libc-internal.h (libc_max_align_t): Remove typedef.
6450         * include/scratch_buffer.h: Include <stddef.h> instead of
6451         <libc-internal.h>.
6452         (struct scratch_buffer): Use max_align_t instead of
6453         libc_max_align_t.
6455 2015-10-29  Florian Weimer  <fweimer@redhat.com>
6457         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
6458         instead of extend_alloca.  Change control flow to avoid a goto.
6459         Remove assert which is trivially always true.
6461 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6463         [BZ #16068]
6464         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
6465         (FE_ALL_EXCEPT_X86): New macro.
6466         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6467         FE_ALL_EXCEPT.  Ensure precision control is included in
6468         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6469         handle "denormal operand exception" and clear FZ and DAZ bits.
6470         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
6471         (FE_ALL_EXCEPT_X86): New macro.
6472         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6473         FE_ALL_EXCEPT.  Ensure precision control is included in
6474         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6475         handle "denormal operand exception" and clear FZ and DAZ bits.
6476         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
6477         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
6478         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6479         test-fenv-x87 and test-fenv-sse-2.
6480         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
6482         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
6483         * math/test-double.h (BUILD_COMPLEX): New macro.
6484         * math/test-float.h (BUILD_COMPLEX): Likewise.
6485         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
6487         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
6488         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
6489         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
6490         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
6491         instead of DBL_DENORM_MIN in comment.
6492         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
6493         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6494         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
6495         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
6496         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
6497         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6499 2015-10-28  Florian Weimer  <fweimer@redhat.com>
6501         [BZ# 19048]
6502         * malloc/malloc.c (struct malloc_state): Update comment.  Add
6503         attached_threads member.
6504         (main_arena): Initialize attached_threads.
6505         * malloc/arena.c (list_lock): Update comment.
6506         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
6507         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
6508         (deattach_arena): New function.
6509         (_int_new_arena): Initialize arena reference count and deattach
6510         replaced arena.
6511         (get_free_list, reused_arena): Update reference count and deattach
6512         replaced arena.
6513         (arena_thread_freeres): Update arena reference count and only put
6514         unreferenced arenas on the free list.
6516 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6518         [BZ #19181]
6519         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
6520         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
6521         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
6522         * math/test-fenv-clear-main.c: New file.
6523         * math/test-fenv-clear.c: Likewise.
6524         * math/Makefile (tests): Add test-fenv-clear.
6525         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
6526         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6527         test-fenv-clear-sse.
6528         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
6530         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
6531         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
6532         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
6534 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6536         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
6537         static libc.
6539 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6541         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
6542         test.
6543         * sysdeps/i386/configure: Regenerated.
6544         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
6545         test.
6546         * sysdeps/x86_64/configure: Regenerated.
6547         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
6548         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6549         memset-avx2 unconditionally instead of conditionally on
6550         [$(config-cflags-avx2) = yes].
6551         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6552         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
6553         unconditional.
6554         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
6555         * sysdeps/x86_64/multiarch/memset_chk.S
6556         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
6557         to [IS_IN (libc) && SHARED].
6559 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6561         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
6562         configure test.
6563         * sysdeps/arm/configure: Regenerated.
6564         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
6565         Define variable if not already defined.
6567         [BZ #17404]
6568         * sysdeps/mips/atomic-machine.h
6569         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
6570         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
6571         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6573         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
6574         unconditional.
6575         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
6576         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6577         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
6578         unconditional.
6579         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6580         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
6581         unconditional.
6582         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6583         * stdlib/setenv.c
6584         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
6585         code unconditional.
6586         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
6587         Remove conditional code.
6588         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6589         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
6590         unconditional.
6591         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6592         code.
6593         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6594         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
6595         unconditional.
6596         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6597         code.
6598         * sysdeps/ieee754/ldbl-128/k_tanl.c
6599         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6600         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6601         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6602         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6603         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6604         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6605         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
6606         unconditional.
6607         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6608         code.
6609         * sysdeps/ieee754/ldbl-96/k_tanl.c
6610         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6611         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6613         * nptl/tst-initializers1-c11.c: New file.
6614         * nptl/tst-initializers1-gnu11.c: Likewise.
6615         * nptl/Makefile (tests): Add these new tests.
6616         (CFLAGS-tst-initializers1-c11.c): New variable.
6617         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
6619         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
6620         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
6621         instead of -std=gnu99.
6622         * configure.ac (systemtap): Test with -std=gnu11 instead of
6623         -std=gnu99.
6624         * configure: Regenerated.
6625         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
6626         in compilation command in comment.
6628         * sysdeps/nptl/configure.ac: Remove file.
6629         * sysdeps/nptl/configure: Remove generated file.
6630         * configure.ac (libc_cv_forced_unwind): Do not substitute.
6631         * configure: Regenerated.
6632         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
6633         * config.make.in (have-forced-unwind): Remove variable.
6634         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6635         unconditional.
6636         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
6637         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
6638         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
6639         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
6640         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6641         unconditional.
6643 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6645         [BZ #19174]
6646         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
6647         .skip_lock_out_of_tbegin_retries.
6648         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6649         (__lll_lock_elision): Likewise, and respect a value of
6650         try_tbegin <= 0.
6652 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6654         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
6655         statement.
6657 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6659         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
6660         variable.
6661         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6662         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6664         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
6665         of -std=c1x -D_ISOC11_SOURCE.
6667         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
6668         * configure: Regenerated.
6669         * manual/install.texi (Tools for Compilation): Document
6670         requirement for GCC 4.7 or later.
6671         * INSTALL: Regenerated.
6673 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
6675         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
6676         on CNT to a conditional jump to 'puntdata'.
6678 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6680         * configure.ac (libc_cv_gcc___thread): Remove configure test.
6681         (libc_cv_gcc_tls_model_attr): Likewise.
6682         * configure: Regenerated.
6684         * configure.ac (libc_cv_need_minus_P): Remove configure test.
6685         * configure: Regenerated.
6686         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
6688 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
6690         * configure.ac (old_glibc_headers): Remove configure test.
6691         * configure: Regenerated.
6692         * config.make.in (old-glibc-headers): Remove variable.
6693         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
6694         (install): Remove dependency on remove-old-headers.
6695         (headers2_0): Remove variable.
6696         (remove-old-headers): Remove rule.
6698         * configure.ac (libc_cv_dot_text): Remove configure test.
6699         (libc_cv_asm_set_directive): Use .text instead of
6700         ${libc_cv_dot_text} in configure test.
6701         * configure: Regenerated.
6703 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6705         [BZ #19168]
6706         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6708 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6710         * configure.ac (CXX): Clear the variable if the C++ toolchain does
6711         not support static linking.
6712         * configure: Regenerate.
6714 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
6716         * math/libm-test.inc (check_float_internal): Do not special-case
6717         errors up to 0.5 ulp.
6719         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6720         log2.
6721         * math/auto-libm-test-out: Regenerated.
6722         * math/libm-test.inc (MAX_EXP): New macro.
6723         (ilogb_test_data): Add more tests.
6724         (isfinite_test_data): Likewise.
6725         (isgreater_test_data): Likewise.
6726         (isgreaterequal_test_data): Likewise.
6727         (isinf_test_data): Likewise.
6728         (isless_test_data): Likewise.
6729         (islessequal_test_data): Likewise.
6730         (islessgreater_test_data): Likewise.
6731         (isnan_test_data): Likewise.
6732         (isnormal_test_data): Likewise.
6733         (issignaling_test_data): Likewise.
6734         (isunordered_test_data): Likewise.
6735         (j0_test_data): Likewise.
6736         (j1_test_data): Likewise.
6737         (jn_test_data): Likewise.
6738         (lgamma_test_data): Likewise.
6739         (log_test_data): Likewise.
6740         (log10_test_data): Likewise.
6741         (log1p_test_data): Likewise.
6742         (log2_test_data): Likewise.
6743         (logb_test_data): Likewise.
6744         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6746         [BZ #18611]
6747         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
6748         avoid excess range and precision on underflow.
6749         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6750         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
6751         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6752         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
6753         underflow.
6754         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6755         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6756         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6757         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6758         * math/auto-libm-test-in: Do not allow missing errno setting for
6759         tests of j1 and jn.
6760         * math/auto-libm-test-out: Regenerated.
6762 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
6764         [BZ #15491]
6765         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
6766         floating-point environment instead of clearing all exceptions.
6767         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6768         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
6769         merging in "invalid" exceptions from frndint.
6770         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6771         * math/test-nearbyint-except.c: New file.
6772         * math/Makefile (tests): Add test-nearbyint-except.
6774 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
6776         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
6778         * sysdeps/tile/libm-test-ulps: Regenerated.
6780 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
6783         (__NR_sync_file_range2): Assume it is always defined.
6784         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6785         (__NR_sync_file_range): Assume it is always defined.
6787 2015-10-22  Andreas Schwab  <schwab@suse.de>
6789         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6790         INTERNAL_SYSCALL_ERRNO.
6791         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6792         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6793         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6794         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6795         Likewise.
6796         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6798 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6800         * io/tst-fcntl.c (fd): New static variable.
6801         (do_prepare): Open temporary file here....
6802         (do_test): ...not here.
6804         * io/ftwtest-sh: Also trap on exit to remove temporary files.
6806 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6808         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
6809         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6810         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6811         Moved before "#ifdef __ASSEMBLER__".
6813 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6815         [BZ #19156]
6816         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
6817         arguments very close to 0.
6819 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
6821         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
6822         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
6824 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6826         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6827         New.  Defined for GCC 5 and above when not compiling for
6828         profiling.
6829         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6831         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6832         Renamed to ...
6833         (CFLAGS-epoll_pwait.o): This.
6834         (CFLAGS-mmap.c): Renamed to ...
6835         (CFLAGS-mmap.o): This.
6836         (CFLAGS-mmap64.c): Renamed to ...
6837         (CFLAGS-mmap64.o): This.
6838         (CFLAGS-epoll_pwait.os): New.
6839         (CFLAGS-mmap.os): Likewise.
6840         (CFLAGS-mmap64.os): Likewise.
6841         (CFLAGS-semtimedop.os): Likewise.
6842         (CFLAGS-semtimedop.c): Renamed to ...
6843         (CFLAGS-semtimedop.o): This.
6845 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6847         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
6848         warning message.
6850 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6852         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
6853         * Makefile ($(objpfx)c++-types-check.out): Filter out
6854         $(+gccwarn-c) instead of -Wstrict-prototypes.
6856         * io/fts.c (fts_open): Convert to prototype-style function
6857         definition.
6858         * malloc/mcheck.c (mcheck): Likewise.
6859         (mcheck_pedantic): Likewise.
6860         * posix/regexec.c (re_search_2_stub): Likewise.  Use
6861         internal_function.
6862         (re_search_internal): Likewise.
6863         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
6864         prototype-style function definition.
6865         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6866         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6867         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
6868         (xdr_utmpptr): Likewise.
6869         (xdr_utmparr): Likewise.
6870         (xdr_utmpidle): Likewise.
6871         (xdr_utmpidleptr): Likewise.
6872         (xdr_utmpidlearr): Likewise.
6874         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
6875         log, log10 and log2.
6876         * math/auto-libm-test-out: Regenerated.
6877         * math/libm-test.inc (fmod_test_data): Add more tests.
6878         (fpclassify_test_data): Likewise.
6879         (frexp_test_data): Likewise.
6880         (hypot_test_data): Likewise.
6881         (ilogb_test_data): Likewise.
6883 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
6885         * debug/fortify_fail.c (__fortify_fail): Convert to
6886         prototype-style function definition.  Use internal_function.
6887         * libio/genops.c (save_for_backup): Convert to prototype-style
6888         function definition.
6889         * libio/wgenops.c (save_for_wbackup): Likewise.
6890         * login/grantpt.c (grantpt): Likewise.
6891         * login/ptsname.c (ptsname): Likewise.
6892         (__ptsname_r): Likewise.
6893         * login/unlockpt.c (unlockpt): Likewise.
6894         * mach/msgserver.c (__mach_msg_server): Likewise.
6895         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
6896         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
6897         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
6898         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
6899         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
6900         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
6901         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
6902         Likewise.
6903         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
6904         internal_function.
6905         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
6906         prototype-style function definition.
6907         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
6908         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
6909         (__pthread_create_2_0): Likewise.
6910         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
6911         * nptl/register-atfork.c (__register_atfork): Likewise.
6912         * posix/glob.c (glob): Likewise.
6913         * posix/regcomp.c (re_comp): Likewise.
6914         * posix/regexec.c (re_exec): Likewise.
6915         * stdlib/add_n.c [__STDC__]: Make code unconditional.
6916         [!__STDC__]: Remove conditional code.
6917         * stdlib/cmp.c [__STDC__]: Make code unconditional.
6918         [!__STDC__]: Remove conditional code.
6919         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
6920         [!__STDC__]: Remove conditional code.
6921         * stdlib/divrem.c [__STDC__]: Make code unconditional.
6922         [!__STDC__]: Remove conditional code.
6923         * stdlib/lshift.c [__STDC__]: Make code unconditional.
6924         [!__STDC__]: Remove conditional code.
6925         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
6926         [!__STDC__]: Remove conditional code.
6927         * stdlib/mul.c [__STDC__]: Make code unconditional.
6928         [!__STDC__]: Remove conditional code.
6929         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
6930         [!__STDC__]: Remove conditional code.
6931         * stdlib/rshift.c [__STDC__]: Make code unconditional.
6932         [!__STDC__]: Remove conditional code.
6933         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
6934         function definition.
6935         (STRTOF): Likewise.
6936         * stdlib/strtod_l.c (__STRTOF): Likewise.
6937         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
6938         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
6939         (__strtol_l): Likewise.
6940         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
6941         [!__STDC__]: Remove conditional code.
6942         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
6943         definition.
6944         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6945         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6946         type.
6947         (__strcasecmp): Convert to prototype-style function definition.
6948         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
6949         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6950         type.
6951         (__strncasecmp): Convert to prototype-style function definition.
6952         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
6953         * sunrpc/xdr.c (xdr_union): Likewise.
6954         * sunrpc/xdr_array.c (xdr_array): Likewise.
6955         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
6956         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
6957         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
6958         Likewise.
6959         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
6960         Likewise.
6961         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
6962         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6963         Likewise.
6964         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
6965         (LOCALE_PARAM_PROTO): Likewise.
6966         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
6967         argument type.
6968         (ut_argument_spec): Remove macro.
6969         (ut_argument_spec_iso): Rename to ut_argument_spec.
6970         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
6971         prototype-style function definition.
6972         (memcpy_uppcase): Likewise.
6973         (__strftime_internal): Likewise.
6974         (my_strftime): Likewise.
6975         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
6976         (LOCALE_PARAM_DECL): Likewise.
6977         [_LIBC] (LOCALE_PARAM): Include argument type.
6978         (__strptime_internal): Convert to prototype-style function
6979         definition.
6980         (strptime): Likewise.
6981         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6982         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6983         type.
6984         (__wcscasecmp): Convert to prototype-style function definition.
6985         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
6986         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6987         type.
6988         (__wcsncasecmp): Convert to prototype-style function definition.
6990         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
6991         function definition.
6992         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6993         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6994         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
6995         * elf/dl-minimal.c (_itoa): Likewise.
6996         * hurd/hurdmalloc.c (malloc): Likewise.
6997         (free): Likewise.
6998         (realloc): Likewise.
6999         * inet/inet6_option.c (inet6_option_space): Likewise.
7000         (inet6_option_init): Likewise.
7001         (inet6_option_append): Likewise.
7002         (inet6_option_alloc): Likewise.
7003         (inet6_option_next): Likewise.
7004         (inet6_option_find): Likewise.
7005         * io/ftw.c (FTW_NAME): Likewise.
7006         (NFTW_NAME): Likewise.
7007         (NFTW_NEW_NAME): Likewise.
7008         (NFTW_OLD_NAME): Likewise.
7009         * libio/iofwide.c (_IO_fwide): Likewise.
7010         * libio/strops.c (_IO_str_init_static_internal): Likewise.
7011         (_IO_str_init_static): Likewise.
7012         (_IO_str_init_readonly): Likewise.
7013         (_IO_str_overflow): Likewise.
7014         (_IO_str_underflow): Likewise.
7015         (_IO_str_count): Likewise.
7016         (_IO_str_seekoff): Likewise.
7017         (_IO_str_pbackfail): Likewise.
7018         (_IO_str_finish): Likewise.
7019         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
7020         (_IO_wstr_overflow): Likewise.
7021         (_IO_wstr_underflow): Likewise.
7022         (_IO_wstr_count): Likewise.
7023         (_IO_wstr_seekoff): Likewise.
7024         (_IO_wstr_pbackfail): Likewise.
7025         (_IO_wstr_finish): Likewise.
7026         * locale/programs/localedef.c (normalize_codeset): Likewise.
7027         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7028         (add_locales_to_archive): Likewise.
7029         (delete_locales_from_archive): Likewise.
7030         * malloc/malloc.c (__libc_mallinfo): Likewise.
7031         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
7032         * misc/tsearch.c (__tfind): Likewise.
7033         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
7034         * nptl/pthread_attr_getdetachstate.c
7035         (__pthread_attr_getdetachstate): Likewise.
7036         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
7037         Likewise.
7038         * nptl/pthread_attr_getinheritsched.c
7039         (__pthread_attr_getinheritsched): Likewise.
7040         * nptl/pthread_attr_getschedparam.c
7041         (__pthread_attr_getschedparam): Likewise.
7042         * nptl/pthread_attr_getschedpolicy.c
7043         (__pthread_attr_getschedpolicy): Likewise.
7044         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
7045         Likewise.
7046         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
7047         Likewise.
7048         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
7049         Likewise.
7050         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
7051         Likewise.
7052         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
7053         (__pthread_attr_init_2_0): Likewise.
7054         * nptl/pthread_attr_setdetachstate.c
7055         (__pthread_attr_setdetachstate): Likewise.
7056         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
7057         Likewise.
7058         * nptl/pthread_attr_setinheritsched.c
7059         (__pthread_attr_setinheritsched): Likewise.
7060         * nptl/pthread_attr_setschedparam.c
7061         (__pthread_attr_setschedparam): Likewise.
7062         * nptl/pthread_attr_setschedpolicy.c
7063         (__pthread_attr_setschedpolicy): Likewise.
7064         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
7065         Likewise.
7066         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
7067         Likewise.
7068         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
7069         Likewise.
7070         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
7071         Likewise.
7072         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
7073         Likewise.
7074         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
7075         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
7076         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
7077         use internal_function.
7078         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
7079         prototype-style function definition.
7080         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
7081         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
7082         internal_function.
7083         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
7084         Convert to prototype-style function definition.
7085         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7086         Likewise.
7087         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
7088         Likewise.
7089         (__pthread_mutex_unlock): Likewise.
7090         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
7091         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
7092         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
7093         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
7094         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
7095         * nss/makedb.c (process_input): Likewise.
7096         * posix/fnmatch.c (__strchrnul): Likewise.
7097         (__wcschrnul): Likewise.
7098         (fnmatch): Likewise.
7099         * posix/fnmatch_loop.c (FCT): Likewise.
7100         * posix/glob.c (globfree): Likewise.
7101         (__glob_pattern_type): Likewise.
7102         (__glob_pattern_p): Likewise.
7103         * posix/regcomp.c (re_compile_pattern): Likewise.
7104         (re_set_syntax): Likewise.
7105         (re_compile_fastmap): Likewise.
7106         (regcomp): Likewise.
7107         (regerror): Likewise.
7108         (regfree): Likewise.
7109         * posix/regexec.c (regexec): Likewise.
7110         (re_match): Likewise.
7111         (re_search): Likewise.
7112         (re_match_2): Likewise.
7113         (re_search_2): Likewise.
7114         (re_search_stub): Likewise.  Use internal_function
7115         (re_copy_regs): Likewise.
7116         (re_set_registers): Convert to prototype-style function
7117         definition.
7118         (prune_impossible_nodes): Likewise.  Use internal_function.
7119         * resolv/inet_net_pton.c (inet_net_pton): Convert to
7120         prototype-style function definition.
7121         (inet_net_pton_ipv4): Likewise.
7122         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7123         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
7124         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
7125         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
7126         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7127         Make variadic.
7128         * time/strptime_l.c (localtime_r): Convert to prototype-style
7129         function definition.
7130         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7131         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7132         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7133         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7135         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
7136         definition.
7137         (_ufc_doit_r): Likewise.
7138         * crypt/crypt_util.c (_ufc_copymem): Likewise.
7139         (_ufc_output_conversion_r): Likewise.
7140         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
7141         * inet/rcmd.c (rcmd_af): Likewise.
7142         (rcmd): Likewise.
7143         (ruserok_af): Likewise.
7144         (ruserok): Likewise.
7145         (ruserok2_sa): Likewise.
7146         (ruserok_sa): Likewise.
7147         (iruserok_af): Likewise.
7148         (iruserok): Likewise.
7149         (__ivaliduser): Likewise.
7150         (__validuser2_sa): Likewise.
7151         * inet/rexec.c (rexec_af): Likewise.
7152         (rexec): Likewise.
7153         * inet/ruserpass.c (ruserpass): Likewise.
7154         * locale/programs/xmalloc.c (xcalloc): Likewise.
7155         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
7156         * math/w_drem.c (__drem): Likewise.
7157         * math/w_dremf.c (__dremf): Likewise.
7158         * math/w_dreml.c (__dreml): Likewise.
7159         * misc/daemon.c (daemon): Likewise.
7160         * resolv/res_debug.c (p_fqnname): Likewise.
7161         * stdlib/div.c (div): Likewise.
7162         * string/memcmp.c (memcmp_bytes): Likewise.
7163         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
7164         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
7166         * crypt/cert.c (main): Convert to prototype-style function
7167         definition.
7168         * io/pipe.c (__pipe): Likewise.
7169         * io/pipe2.c (__pipe2): Likewise.
7170         * misc/futimesat.c (futimesat): Likewise.
7171         * misc/utimes.c (__utimes): Likewise.
7172         * posix/execve.c (__execve): Likewise.
7173         * posix/execvp.c (execvp): Likewise.
7174         * posix/execvpe.c (__execvpe): Likewise.
7175         * posix/fexecve.c (fexecve): Likewise.
7176         * socket/socketpair.c (socketpair): Likewise.
7177         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7178         * stdlib/erand48.c (erand48): Likewise.
7179         * stdlib/erand48_r.c (__erand48_r): Likewise.
7180         * stdlib/jrand48.c (jrand48): Likewise.
7181         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
7182         * stdlib/lcong48.c (lcong48): Likewise.
7183         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
7184         * stdlib/nrand48.c (nrand48): Likewise.
7185         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
7186         * stdlib/seed48.c (seed48): Likewise.
7187         * stdlib/seed48_r.c (__seed48_r): Likewise.
7188         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
7189         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
7190         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
7192 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7194         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
7195         * configure: Regenerated.
7196         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
7197         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
7198         unconditional.
7199         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7200         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7201         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7202         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
7203         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
7204         unconditional.
7205         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7207         * posix/Makefile (CFLAGS-regex.c): Remove variable.
7208         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
7210         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
7211         function definition.
7212         * crypt/crypt_util.c (__encrypt_r): Likewise.
7213         * libio/genops.c (_IO_no_init): Likewise.
7214         * libio/iofopncook.c (_IO_fopencookie): Likewise.
7215         (_IO_old_fopencookie): Likewise.
7216         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7217         * libio/iogetline.c (_IO_getline): Likewise.
7218         (_IO_getline_info): Likewise.
7219         * libio/iogetwline.c (_IO_getwline): Likewise.
7220         (_IO_getwline_info): Likewise.
7221         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
7222         * libio/vswprintf.c (_IO_vswprintf): Likewise.
7223         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
7224         (find_entry): Likewise.
7225         (iterate_table): Likewise.
7226         (lookup): Likewise.
7227         * login/forkpty.c (forkpty): Likewise.
7228         * misc/hsearch_r.c (__hsearch_r): Likewise.
7229         * misc/select.c (__select): Likewise.
7230         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
7231         Likewise.
7232         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
7233         Likewise.
7234         * nptl/old_pthread_cond_timedwait.c
7235         (__pthread_cond_timedwait_2_0): Likewise.
7236         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
7237         * nptl/pthread_barrierattr_getpshared.c
7238         (pthread_barrierattr_getpshared): Likewise.
7239         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7240         Likewise.
7241         * nptl/pthread_mutex_setprioceiling.c
7242         (pthread_mutex_setprioceiling): Likewise.
7243         * nptl/pthread_mutexattr_getprioceiling.c
7244         (pthread_mutexattr_getprioceiling): Likewise.
7245         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7246         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7247         Likewise.
7248         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7249         Likewise.
7250         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
7251         Likewise.
7252         * socket/recvfrom.c (__recvfrom): Likewise.
7253         * socket/sendto.c (__sendto): Likewise.
7254         * socket/setsockopt.c (__setsockopt): Likewise.
7255         * stdio-common/_itoa.c (_itoa): Likewise.
7256         * stdio-common/_itowa.c (_itowa): Likewise.
7257         * stdio-common/reg-printf.c (__register_printf_specifier):
7258         Likewise.
7259         (__register_printf_function): Likewise.
7260         * stdio-common/tempname.c (__path_search): Likewise.
7261         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
7262         * stdlib/mul_1.c (mpn_mul_1): Likewise.
7263         * stdlib/random_r.c (__initstate_r): Likewise.
7264         * stdlib/setenv.c (__add_to_environ): Likewise.
7265         * stdlib/submul_1.c (mpn_submul_1): Likewise.
7266         * streams/getpmsg.c (getpmsg): Likewise.
7267         * streams/putmsg.c (putmsg): Likewise.
7268         * streams/putpmsg.c (putpmsg): Likewise.
7269         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
7270         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7271         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
7272         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7273         * sunrpc/pm_getport.c (pmap_getport): Likewise.
7274         * sunrpc/svc_udp.c (cache_get): Likewise.
7275         * sunrpc/xdr_array.c (xdr_vector): Likewise.
7276         * sysdeps/mach/hurd/getcwd.c
7277         (__canonicalize_directory_name_internal): Likewise.
7278         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
7279         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
7280         * sysdeps/mach/hurd/select.c (__select): Likewise.
7281         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7282         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
7283         * sysdeps/sparc/nptl/pthread_barrier_init.c
7284         (__pthread_barrier_init): Likewise.
7285         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
7286         (__pthread_cond_timedwait): Likewise.
7287         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
7288         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
7289         Likewise.
7290         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
7291         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
7292         Likewise.
7293         * sysvipc/semtimedop.c (semtimedop): Likewise.
7294         * time/setitimer.c (__setitimer): Likewise.
7295         * time/strftime_l.c (emacs_strftime): Likewise.
7297 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7299         * config.make.in (have-ssp): Delete.
7300         (stack-protector): New variable.
7301         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
7302         cache test for -fstack-protector-strong.  Export stack_protector to
7303         the best ssp flag.
7304         * configure: Regenerated.
7305         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
7306         * nscd/Makefile (CFLAGS-nscd): Likewise.
7307         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7309 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
7311         [BZ #19122]
7312         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
7313         attribute_hidden.
7315 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7317         [BZ #18743]
7318         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
7319         code to...
7320         (ELIDE_LOCK): ...here.
7321         (__get_new_count): New function with part of the code from
7322         __elide_lock that updates the value of adapt_count after a
7323         transaction abort.
7324         (__elided_trylock): Moved this code to...
7325         (ELIDE_TRYLOCK): ...here.
7327 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7329         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
7330         * configure: Regenerate.
7331         * INSTALL: Regenerate.
7332         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
7333         and tweak grammar.
7335 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
7337         * login/programs/pt_chown.c: Include signal.h
7338         (main): Clear any signal mask from the parent process.
7340 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7342         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
7343         * configure: Regenerated.
7344         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
7345         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
7346         $(gnu89-inline-CFLAGS).
7348         * configure.ac (libc_cv_asm_weak_directive): Remove configure
7349         test.
7350         (libc_cv_asm_weakext_directive): Likewise.
7351         * configure: Regenerated.
7352         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
7353         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
7354         * include/libc-symbols.h
7355         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
7356         #error.
7357         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
7358         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
7360         * sysdeps/arm/backtrace.c (__backtrace): Convert to
7361         prototype-style function definition.
7362         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7363         * sysdeps/i386/ffs.c (__ffs): Likewise.
7364         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7365         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
7366         Likewise.
7367         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7368         Likewise.
7369         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7370         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7371         Likewise.
7372         * sysdeps/m68k/ffs.c (__ffs): Likewise.
7373         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
7374         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
7375         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
7376         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
7377         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
7378         * sysdeps/mach/hurd/access.c (__access): Likewise.
7379         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
7380         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
7381         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
7382         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
7383         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
7384         (cthread_getspecific): Likewise.
7385         (cthread_setspecific): Likewise.
7386         (__libc_getspecific): Likewise.
7387         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
7388         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
7389         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
7390         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
7391         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
7392         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
7393         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
7394         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
7395         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
7396         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
7397         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
7398         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7399         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
7400         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
7401         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
7402         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
7403         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
7404         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
7405         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
7406         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
7407         * sysdeps/mach/hurd/link.c (__link): Likewise.
7408         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
7409         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
7410         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
7411         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
7412         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7413         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
7414         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
7415         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
7416         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7417         * sysdeps/mach/hurd/rename.c (rename): Likewise.
7418         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
7419         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
7420         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
7421         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
7422         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
7423         * sysdeps/mach/hurd/send.c (__send): Likewise.
7424         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
7425         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
7426         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
7427         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
7428         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
7429         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
7430         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
7431         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
7432         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
7433         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
7434         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
7435         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
7436         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
7437         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
7438         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
7439         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
7440         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
7441         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
7442         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
7443         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7444         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
7445         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
7446         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
7447         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
7448         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
7449         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
7450         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
7451         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7452         * sysdeps/posix/alarm.c (alarm): Likewise.
7453         * sysdeps/posix/cuserid.c (cuserid): Likewise.
7454         * sysdeps/posix/dirfd.c (dirfd): Likewise.
7455         * sysdeps/posix/dup.c (__dup): Likewise.
7456         * sysdeps/posix/dup2.c (__dup2): Likewise.
7457         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
7458         (main): Likewise.
7459         * sysdeps/posix/flock.c (__flock): Likewise.
7460         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7461         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7462         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
7463         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
7464         * sysdeps/posix/isatty.c (__isatty): Likewise.
7465         * sysdeps/posix/killpg.c (killpg): Likewise.
7466         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7467         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
7468         * sysdeps/posix/raise.c (raise): Likewise.
7469         * sysdeps/posix/remove.c (remove): Likewise.
7470         * sysdeps/posix/rename.c (rename): Likewise.
7471         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
7472         * sysdeps/posix/seekdir.c (seekdir): Likewise.
7473         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7474         * sysdeps/posix/sigignore.c (sigignore): Likewise.
7475         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
7476         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
7477         * sysdeps/posix/sigset.c (sigset): Likewise.
7478         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
7479         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7480         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
7481         * sysdeps/posix/time.c (time): Likewise.
7482         * sysdeps/posix/ttyname.c (getttyname): Likewise.
7483         (ttyname): Likewise.
7484         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
7485         * sysdeps/posix/utime.c (utime): Likewise.
7486         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
7487         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7488         Likewise.
7489         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
7490         (pthread_spin_trylock): Likewise.
7491         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
7492         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
7493         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
7494         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
7495         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
7496         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
7497         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
7498         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
7499         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
7500         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
7501         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
7502         * sysdeps/s390/ffs.c (__ffs): Likewise.
7503         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
7504         Likewise.
7505         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7506         Likewise.
7507         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
7508         Likewise.
7509         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
7510         (pthread_barrier_destroy): Likewise.
7511         * sysdeps/sparc/nptl/pthread_barrier_wait.c
7512         (__pthread_barrier_wait): Likewise.
7513         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
7514         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7515         (__pthread_barrier_wait): Likewise.
7516         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
7517         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
7518         (memcmp_not_common_alignment): Likewise.
7519         (MEMCMP): Likewise.
7520         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
7521         (_wordcopy_fwd_dest_aligned): Likewise.
7522         (_wordcopy_bwd_aligned): Likewise.
7523         (_wordcopy_bwd_dest_aligned): Likewise.
7524         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
7525         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
7526         * sysdeps/unix/bsd/stty.c (stty): Likewise.
7527         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
7528         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
7529         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
7530         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
7531         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
7532         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
7533         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
7534         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
7535         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7536         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
7537         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
7538         * sysdeps/unix/stime.c (stime): Likewise.
7539         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
7540         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
7541         Likewise.  Use internal_function.
7542         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
7543         Convert to prototype-style function definition.
7544         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7545         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7546         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
7547         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7548         Likewise.  Use internal_function.
7549         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
7550         prototype-style function definition
7551         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7552         Likewise.
7553         (__getlogin_r): Likewise.
7554         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
7555         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
7556         (__pthread_cond_broadcast): Likewise.
7557         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
7558         (__pthread_cond_destroy): Likewise.
7559         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
7560         (__pthread_cond_init): Likewise.
7561         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
7562         (__pthread_cond_signal): Likewise.
7563         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7564         (__pthread_cond_wait): Likewise.
7565         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
7566         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7567         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
7568         Likewise.
7569         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
7570         Likewise.
7571         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
7572         Likewise.
7573         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
7574         Likewise.
7575         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
7576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
7577         (__ftruncate64): Likewise.
7578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
7579         (truncate64): Likewise.
7580         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
7581         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
7582         (pthread_getcpuclockid): Likewise.
7583         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7584         Likewise.
7585         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7586         Likewise.
7587         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
7588         Likewise.
7589         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7590         Likewise.
7591         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
7592         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
7593         (__libc_sigaction): Likewise.
7594         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
7595         Likewise.
7596         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
7597         (__sigprocmask): Likewise.
7598         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
7599         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
7600         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
7601         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7602         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7603         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
7604         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7605         Likewise.
7606         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7607         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7608         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7609         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
7610         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
7611         Likewise.
7612         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
7613         (__sigprocmask): Likewise.
7614         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
7615         (cfgetispeed): Likewise.
7616         (cfsetospeed): Likewise.
7617         (cfsetispeed): Likewise.
7618         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
7619         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
7620         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7621         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
7622         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
7623         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
7624         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
7625         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
7626         Likewise.
7627         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
7628         Likewise.
7629         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
7630         Likewise.
7631         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
7632         Likewise.
7633         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7635 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7637         sunrpc: Rewrite with explicit TLS access using __thread.
7638         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
7639         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
7640         directly.
7641         (__rpc_thread_variables): Access thread_rpc_vars directly.
7642         Eliminate redundant assignment of the tvp variable.
7644 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7646         malloc: Rewrite with explicit TLS access using __thread.
7647         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
7648         (tsd_setspecific, tsd_getspecific): Remove.
7649         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
7650         (tsd_setspecific, tsd_getspecific): Likewise.
7651         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
7652         (tsd_setspecific, tsd_getspecific): Likewise.
7653         * malloc/arena.c (thread_arena): New TLS variable.
7654         (arena_key): Remove variable.
7655         (arena_get): Use thread_arena.
7656         (arena_lookup): Remove macro.
7657         (malloc_atfork, free_atfork, ptmalloc_lock_all)
7658         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
7659         (_int_new_arena, get_free_list, reused_arena)
7660         (arena_thread_freeres): Use thread_arena.
7661         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
7662         tsd_getspecific, tsd_setspecific from safety annotations.
7663         (Allocating Cleared Space): Remove arena_lookup from safety
7664         annotations.
7666 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7668         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
7669         struct scratch_buffer instead of extend_alloca.
7671 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7673         * sysdeps/unix/sysv/linux/kernel-features.h
7674         (__ASSUME_SOCK_CLOEXEC): Remove.
7675         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
7676         (__have_paccept): Remove unused macro.
7677         * include/unistd.h (__have_sock_cloexec): Remove declaration.
7678         * misc/syslog.c (openlog_internal): Remove fallback code for
7679         !__ASSUME_SOCK_CLOEXEC.
7680         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
7681         missing SOCK_CLOEXEC.
7682         * nscd/connections.c (have_sock_cloexec): Remove definition.
7683         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
7684         * nscd/nscd_helper.c (open_socket): Remove fallback code for
7685         !__ASSUME_SOCK_CLOEXEC.
7686         * resolv/res_send.c (__have_o_nonblock): Remove definition.
7687         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
7688         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
7689         definition.
7690         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
7691         code for !__ASSUME_SOCK_CLOEXEC.
7693 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7695         [BZ #18982]
7696         * manual/stdio.texi (Variable Arguments Output): Add portability
7697         note, explaining that vfprintf clobbers the va_list pointer.
7699 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7701         * math/libm-test.inc (fabs_test_data): Add more tests.
7702         (fdim_test_data): Likewise.
7703         (fma_test_data): Likewise.
7704         (fmax_test_data): Likewise.
7705         (fmin_test_data): Likewise.
7706         (fmod_test_data): Likewise.
7708 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
7710         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
7711         data.
7713 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7715         * math/libm-test.inc (ceil_test_data): Add more tests and more
7716         expectations for "inexact".
7717         (floor_test_data): Add more tests.
7718         (round_test_data): Likewise.
7719         (trunc_test_data): Likewise.
7721         * crypt/cert.c (good_bye): Convert to prototype-style function
7722         definition.
7723         (get8): Likewise.
7724         (put8): Likewise.
7725         * crypt/crypt-entry.c (crypt): Likewise.
7726         (__fcrypt): Likewise.
7727         * crypt/crypt_util.c (_ufc_prbits): Likewise.
7728         (_ufc_set_bits): Likewise.
7729         (_ufc_clearmem): Likewise.
7730         (__init_des_r): Likewise.
7731         (shuffle_sb): Likewise.
7732         (shuffle_sb): Likewise.
7733         (_ufc_setup_salt_r): Likewise.
7734         (_ufc_mk_keytab_r): Likewise.
7735         (_ufc_dofinalperm_r): Likewise.
7736         (encrypt): Likewise.
7737         (__setkey_r): Likewise.
7738         (setkey): Likewise.
7739         * crypt/md5.c (md5_init_ctx): Likewise.
7740         (md5_read_ctx): Likewise.
7741         (md5_finish_ctx): Likewise.
7742         (md5_stream): Likewise.
7743         (md5_buffer): Likewise.
7744         (md5_process_bytes): Likewise.
7745         * crypt/sha256.c (__sha256_init_ctx): Likewise.
7746         (__sha256_finish_ctx): Likewise.
7747         (__sha256_process_bytes): Likewise.
7748         * crypt/sha512.c (__sha512_init_ctx): Likewise.
7749         (__sha512_finish_ctx): Likewise.
7750         (__sha512_process_bytes): Likewise.
7751         * ctype/isctype.c (__isctype): Likewise.
7752         * debug/backtrace.c (__backtrace): Likewise.
7753         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
7754         * debug/fgets_chk.c (__fgets_chk): Likewise.
7755         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
7756         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
7757         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7758         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7759         * debug/memset_chk.c (__memset_chk): Likewise.
7760         * debug/strcat_chk.c (__strcat_chk): Likewise.
7761         * debug/strncat_chk.c (__strncat_chk): Likewise.
7762         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
7763         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
7764         * dirent/dirfd.c (dirfd): Likewise.
7765         * dirent/getdents.c (__getdirentries): Likewise.
7766         * dirent/getdents64.c (getdirentries64): Likewise.
7767         * dirent/rewinddir.c (__rewinddir): Likewise.
7768         * dirent/seekdir.c (seekdir): Likewise.
7769         * dirent/telldir.c (telldir): Likewise.
7770         * elf/sln.c (makesymlinks): Likewise.
7771         (makesymlink): Likewise.
7772         * gmon/gmon.c (__moncontrol): Likewise.
7773         (__monstartup): Likewise.
7774         (write_hist): Likewise.
7775         (write_call_graph): Likewise.
7776         (write_bb_counts): Likewise.
7777         * grp/setgroups.c (setgroups): Likewise.
7778         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7779         * inet/inet_net.c (inet_network): Likewise.
7780         * inet/inet_netof.c (inet_netof): Likewise.
7781         * inet/rcmd.c (rresvport_af): Likewise.
7782         (rresvport): Likewise.
7783         * io/access.c (__access): Likewise.
7784         * io/chdir.c (__chdir): Likewise.
7785         * io/chmod.c (__chmod): Likewise.
7786         * io/chown.c (__chown): Likewise.
7787         * io/close.c (__close): Likewise.
7788         * io/creat.c (creat): Likewise.
7789         * io/creat64.c (creat64): Likewise.
7790         * io/dup.c (__dup): Likewise.
7791         * io/dup2.c (__dup2): Likewise.
7792         * io/dup3.c (__dup3): Likewise.
7793         * io/euidaccess.c (__euidaccess): Likewise.
7794         * io/faccessat.c (faccessat): Likewise.
7795         * io/fchmod.c (__fchmod): Likewise.
7796         * io/fchmodat.c (fchmodat): Likewise.
7797         * io/fchown.c (__fchown): Likewise.
7798         * io/fchownat.c (fchownat): Likewise.
7799         * io/fcntl.c (__fcntl): Likewise.
7800         * io/flock.c (__flock): Likewise.
7801         * io/fts.c (fts_load): Likewise.
7802         (fts_close): Likewise.
7803         (fts_read): Likewise.
7804         (fts_set): Likewise.
7805         (fts_children): Likewise.
7806         (fts_build): Likewise.
7807         (fts_stat): Likewise.
7808         (fts_sort): Likewise.
7809         (fts_alloc): Likewise.
7810         (fts_lfree): Likewise.
7811         (fts_palloc): Likewise.
7812         (fts_padjust): Likewise.
7813         (fts_maxarglen): Likewise.
7814         (fts_safe_changedir): Likewise.
7815         * io/getwd.c (getwd): Likewise.
7816         * io/isatty.c (__isatty): Likewise.
7817         * io/lchown.c (__lchown): Likewise.
7818         * io/link.c (__link): Likewise.
7819         * io/linkat.c (linkat): Likewise.
7820         * io/lseek.c (__libc_lseek): Likewise.
7821         * io/mkdir.c (__mkdir): Likewise.
7822         * io/mkdirat.c (mkdirat): Likewise.
7823         * io/mkfifo.c (mkfifo): Likewise.
7824         * io/mkfifoat.c (mkfifoat): Likewise.
7825         * io/open.c (__libc_open): Likewise.
7826         * io/open64.c (__libc_open64): Likewise.
7827         * io/readlink.c (__readlink): Likewise.
7828         * io/readlinkat.c (readlinkat): Likewise.
7829         * io/rmdir.c (__rmdir): Likewise.
7830         * io/symlink.c (__symlink): Likewise.
7831         * io/symlinkat.c (symlinkat): Likewise.
7832         * io/ttyname.c (ttyname): Likewise.
7833         * io/ttyname_r.c (__ttyname_r): Likewise.
7834         * io/umask.c (__umask): Likewise.
7835         * io/unlink.c (__unlink): Likewise.
7836         * io/unlinkat.c (unlinkat): Likewise.
7837         * io/utime.c (utime): Likewise.
7838         * libio/clearerr.c (clearerr): Likewise.
7839         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
7840         * libio/feof.c (_IO_feof): Likewise.
7841         * libio/feof_u.c (feof_unlocked): Likewise.
7842         * libio/ferror.c (_IO_ferror): Likewise.
7843         * libio/ferror_u.c (ferror_unlocked): Likewise.
7844         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7845         * libio/fileno.c (__fileno): Likewise.
7846         * libio/fputc.c (fputc): Likewise.
7847         * libio/fputc_u.c (fputc_unlocked): Likewise.
7848         * libio/fputwc.c (fputwc): Likewise.
7849         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
7850         * libio/freopen.c (freopen): Likewise.
7851         * libio/freopen64.c (freopen64): Likewise.
7852         * libio/fseek.c (fseek): Likewise.
7853         * libio/fseeko.c (fseeko): Likewise.
7854         * libio/fseeko64.c (fseeko64): Likewise.
7855         * libio/ftello.c (__ftello): Likewise.
7856         * libio/ftello64.c (ftello64): Likewise.
7857         * libio/fwide.c (fwide): Likewise.
7858         * libio/genops.c (_IO_un_link): Likewise.
7859         (_IO_link_in): Likewise.
7860         (_IO_least_marker): Likewise.
7861         (_IO_switch_to_main_get_area): Likewise.
7862         (_IO_switch_to_backup_area): Likewise.
7863         (_IO_switch_to_get_mode): Likewise.
7864         (_IO_free_backup_area): Likewise.
7865         (_IO_switch_to_put_mode): Likewise.
7866         (__overflow): Likewise.
7867         (__underflow): Likewise.
7868         (__uflow): Likewise.
7869         (_IO_setb): Likewise.
7870         (_IO_doallocbuf): Likewise.
7871         (_IO_default_underflow): Likewise.
7872         (_IO_default_uflow): Likewise.
7873         (_IO_default_xsputn): Likewise.
7874         (_IO_sgetn): Likewise.
7875         (_IO_default_xsgetn): Likewise.
7876         (_IO_sync): Likewise.
7877         (_IO_default_setbuf): Likewise.
7878         (_IO_default_seekpos): Likewise.
7879         (_IO_default_doallocate): Likewise.
7880         (_IO_init): Likewise.
7881         (_IO_old_init): Likewise.
7882         (_IO_default_sync): Likewise.
7883         (_IO_default_finish): Likewise.
7884         (_IO_default_seekoff): Likewise.
7885         (_IO_sputbackc): Likewise.
7886         (_IO_sungetc): Likewise.
7887         (_IO_set_column): Likewise.
7888         (_IO_set_column): Likewise.
7889         (_IO_adjust_column): Likewise.
7890         (_IO_get_column): Likewise.
7891         (_IO_init_marker): Likewise.
7892         (_IO_remove_marker): Likewise.
7893         (_IO_marker_difference): Likewise.
7894         (_IO_marker_delta): Likewise.
7895         (_IO_seekmark): Likewise.
7896         (_IO_unsave_markers): Likewise.
7897         (_IO_nobackup_pbackfail): Likewise.
7898         (_IO_default_pbackfail): Likewise.
7899         (_IO_default_seek): Likewise.
7900         (_IO_default_stat): Likewise.
7901         (_IO_default_read): Likewise.
7902         (_IO_default_write): Likewise.
7903         (_IO_default_showmanyc): Likewise.
7904         (_IO_default_imbue): Likewise.
7905         (_IO_iter_next): Likewise.
7906         (_IO_iter_file): Likewise.
7907         * libio/getc.c (_IO_getc): Likewise.
7908         * libio/getwc.c (_IO_getwc): Likewise.
7909         * libio/iofclose.c (_IO_new_fclose): Likewise.
7910         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7911         * libio/iofflush.c (_IO_fflush): Likewise.
7912         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
7913         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
7914         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
7915         * libio/iofgets.c (_IO_fgets): Likewise.
7916         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
7917         * libio/iofgetws.c (fgetws): Likewise.
7918         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7919         * libio/iofopen64.c (_IO_fopen64): Likewise.
7920         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7921         (_IO_cookie_write): Likewise.
7922         (_IO_cookie_seek): Likewise.
7923         (_IO_cookie_close): Likewise.
7924         (_IO_cookie_seekoff): Likewise.
7925         (_IO_old_cookie_seek): Likewise.
7926         * libio/iofputs.c (_IO_fputs): Likewise.
7927         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
7928         * libio/iofputws.c (fputws): Likewise.
7929         * libio/iofputws_u.c (fputws_unlocked): Likewise.
7930         * libio/iofread.c (_IO_fread): Likewise.
7931         * libio/iofread_u.c (__fread_unlocked): Likewise.
7932         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
7933         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7934         * libio/ioftell.c (_IO_ftell): Likewise.
7935         * libio/iofwrite.c (_IO_fwrite): Likewise.
7936         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7937         * libio/iogets.c (_IO_gets): Likewise.
7938         * libio/iopadn.c (_IO_padn): Likewise.
7939         * libio/iopopen.c (_IO_new_proc_open): Likewise.
7940         (_IO_new_popen): Likewise.
7941         (_IO_new_proc_close): Likewise.
7942         * libio/ioputs.c (_IO_puts): Likewise.
7943         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
7944         (_IO_seekoff): Likewise.
7945         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
7946         (_IO_seekpos): Likewise.
7947         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
7948         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7949         * libio/ioungetc.c (_IO_ungetc): Likewise.
7950         * libio/ioungetwc.c (ungetwc): Likewise.
7951         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7952         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
7953         * libio/iowpadn.c (_IO_wpadn): Likewise.
7954         * libio/libc_fatal.c (__libc_fatal): Likewise.
7955         * libio/memstream.c (__open_memstream): Likewise.
7956         (_IO_mem_sync): Likewise.
7957         (_IO_mem_finish): Likewise.
7958         * libio/oldfileops.c (_IO_old_file_init): Likewise.
7959         (_IO_old_file_close_it): Likewise.
7960         (_IO_old_file_finish): Likewise.
7961         (_IO_old_file_fopen): Likewise.
7962         (_IO_old_file_attach): Likewise.
7963         (_IO_old_file_setbuf): Likewise.
7964         (_IO_old_do_write): Likewise.
7965         (old_do_write): Likewise.
7966         (_IO_old_file_underflow): Likewise.
7967         (_IO_old_file_overflow): Likewise.
7968         (_IO_old_file_sync): Likewise.
7969         (_IO_old_file_seekoff): Likewise.
7970         (_IO_old_file_write): Likewise.
7971         (_IO_old_file_xsputn): Likewise.
7972         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
7973         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7974         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
7975         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
7976         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7977         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
7978         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
7979         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7980         (_IO_old_popen): Likewise.
7981         (_IO_old_proc_close): Likewise.
7982         * libio/oldpclose.c (__old_pclose): Likewise.
7983         * libio/pclose.c (__new_pclose): Likewise.
7984         * libio/peekc.c (_IO_peekc_locked): Likewise.
7985         * libio/putc.c (_IO_putc): Likewise.
7986         * libio/putc_u.c (putc_unlocked): Likewise.
7987         * libio/putchar.c (putchar): Likewise.
7988         * libio/putchar_u.c (putchar_unlocked): Likewise.
7989         * libio/putwc.c (putwc): Likewise.
7990         * libio/putwc_u.c (putwc_unlocked): Likewise.
7991         * libio/putwchar.c (putwchar): Likewise.
7992         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7993         * libio/rewind.c (rewind): Likewise.
7994         * libio/setbuf.c (setbuf): Likewise.
7995         * libio/setlinebuf.c (setlinebuf): Likewise.
7996         * libio/vasprintf.c (_IO_vasprintf): Likewise.
7997         * libio/vscanf.c (_IO_vscanf): Likewise.
7998         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
7999         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
8000         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8001         * libio/wgenops.c (_IO_least_wmarker): Likewise.
8002         (_IO_switch_to_main_wget_area): Likewise.
8003         (_IO_switch_to_wbackup_area): Likewise.
8004         (_IO_wsetb): Likewise.
8005         (_IO_wdefault_pbackfail): Likewise.
8006         (_IO_wdefault_finish): Likewise.
8007         (_IO_wdefault_uflow): Likewise.
8008         (__woverflow): Likewise.
8009         (__wuflow): Likewise.
8010         (__wunderflow): Likewise.
8011         (_IO_wdefault_xsputn): Likewise.
8012         (_IO_wdefault_xsgetn): Likewise.
8013         (_IO_wdoallocbuf): Likewise.
8014         (_IO_wdefault_doallocate): Likewise.
8015         (_IO_switch_to_wget_mode): Likewise.
8016         (_IO_free_wbackup_area): Likewise.
8017         (_IO_switch_to_wput_mode): Likewise.
8018         (_IO_sputbackwc): Likewise.
8019         (_IO_sungetwc): Likewise.
8020         (_IO_adjust_wcolumn): Likewise.
8021         (_IO_init_wmarker): Likewise.
8022         (_IO_wmarker_delta): Likewise.
8023         (_IO_seekwmark): Likewise.
8024         (_IO_unsave_wmarkers): Likewise.
8025         * libio/wmemstream.c (open_wmemstream): Likewise.
8026         (_IO_wmem_sync): Likewise.
8027         (_IO_wmem_finish): Likewise.
8028         * locale/nl_langinfo.c (nl_langinfo): Likewise.
8029         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
8030         * locale/programs/simple-hash.c (init_hash): Likewise.
8031         (delete_hash): Likewise.
8032         (insert_entry): Likewise.
8033         (set_entry): Likewise.
8034         (next_prime): Likewise.
8035         (is_prime): Likewise.
8036         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
8037         (xmalloc): Likewise.
8038         (xrealloc): Likewise.
8039         * locale/programs/xstrdup.c (xstrdup): Likewise.
8040         * localedata/collate-test.c (xstrcoll): Likewise.
8041         * localedata/xfrm-test.c (xstrcmp): Likewise.
8042         * login/getlogin_r.c (__getlogin_r): Likewise.
8043         * login/getpt.c (__posix_openpt): Likewise.
8044         * login/login_tty.c (login_tty): Likewise.
8045         * login/setlogin.c (setlogin): Likewise.
8046         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
8047         (mach_msg_destroy_port): Likewise.
8048         (mach_msg_destroy_memory): Likewise.
8049         * malloc/mcheck.c (flood): Likewise.
8050         * misc/acct.c (acct): Likewise.
8051         * misc/brk.c (__brk): Likewise.
8052         * misc/chflags.c (chflags): Likewise.
8053         * misc/chroot.c (chroot): Likewise.
8054         * misc/fchflags.c (fchflags): Likewise.
8055         * misc/fstab.c (getfsspec): Likewise.
8056         (getfsfile): Likewise.
8057         * misc/fsync.c (fsync): Likewise.
8058         * misc/ftruncate.c (__ftruncate): Likewise.
8059         * misc/ftruncate64.c (__ftruncate64): Likewise.
8060         * misc/getdomain.c (getdomainname): Likewise.
8061         (getdomainname): Likewise.
8062         * misc/gethostname.c (__gethostname): Likewise.
8063         * misc/getpass.c (getpass): Likewise.
8064         * misc/getttyent.c (skip): Likewise.
8065         (value): Likewise.
8066         * misc/gtty.c (gtty): Likewise.
8067         * misc/hsearch.c (hsearch): Likewise.
8068         (hcreate): Likewise.
8069         * misc/hsearch_r.c (__hcreate_r): Likewise.
8070         (__hdestroy_r): Likewise.
8071         * misc/ioctl.c (__ioctl): Likewise.
8072         * misc/mkdtemp.c (mkdtemp): Likewise.
8073         * misc/mkostemp.c (mkostemp): Likewise.
8074         * misc/mkostemp64.c (mkostemp64): Likewise.
8075         * misc/mkostemps.c (mkostemps): Likewise.
8076         * misc/mkostemps64.c (mkostemps64): Likewise.
8077         * misc/mkstemp.c (mkstemp): Likewise.
8078         * misc/mkstemp64.c (mkstemp64): Likewise.
8079         * misc/mkstemps.c (mkstemps): Likewise.
8080         * misc/mkstemps64.c (mkstemps64): Likewise.
8081         * misc/mktemp.c (__mktemp): Likewise.
8082         * misc/preadv.c (preadv): Likewise.
8083         * misc/preadv64.c (preadv64): Likewise.
8084         * misc/pwritev.c (pwritev): Likewise.
8085         * misc/pwritev64.c (pwritev64): Likewise.
8086         * misc/readv.c (__readv): Likewise.
8087         * misc/revoke.c (revoke): Likewise.
8088         * misc/setdomain.c (setdomainname): Likewise.
8089         * misc/setegid.c (setegid): Likewise.
8090         * misc/seteuid.c (seteuid): Likewise.
8091         * misc/sethostid.c (sethostid): Likewise.
8092         * misc/sethostname.c (sethostname): Likewise.
8093         * misc/setregid.c (__setregid): Likewise.
8094         * misc/setreuid.c (__setreuid): Likewise.
8095         * misc/sstk.c (sstk): Likewise.
8096         * misc/stty.c (stty): Likewise.
8097         * misc/syscall.c (syscall): Likewise.
8098         * misc/syslog.c (setlogmask): Likewise.
8099         * misc/truncate.c (__truncate): Likewise.
8100         * misc/truncate64.c (truncate64): Likewise.
8101         * misc/ualarm.c (ualarm): Likewise.
8102         * misc/usleep.c (usleep): Likewise.
8103         * misc/ustat.c (ustat): Likewise.
8104         * misc/writev.c (__writev): Likewise.
8105         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
8106         * nptl/old_pthread_cond_broadcast.c
8107         (__pthread_cond_broadcast_2_0): Likewise.
8108         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
8109         Likewise.
8110         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
8111         Likewise.
8112         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
8113         Likewise.
8114         * nptl/pt-raise.c (raise): Likewise.
8115         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
8116         Likewise.
8117         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
8118         * nptl/pthread_barrierattr_destroy.c
8119         (pthread_barrierattr_destroy): Likewise.
8120         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
8121         Likewise.
8122         * nptl/pthread_barrierattr_setpshared.c
8123         (pthread_barrierattr_setpshared): Likewise.
8124         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8125         Likewise.
8126         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8127         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8128         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8129         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
8130         Likewise.
8131         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
8132         Likewise.
8133         * nptl/pthread_condattr_getpshared.c
8134         (pthread_condattr_getpshared): Likewise.
8135         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
8136         Likewise.
8137         * nptl/pthread_condattr_setpshared.c
8138         (pthread_condattr_setpshared): Likewise.
8139         * nptl/pthread_detach.c (pthread_detach): Likewise.
8140         * nptl/pthread_equal.c (__pthread_equal): Likewise.
8141         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
8142         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
8143         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
8144         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
8145         Likewise.
8146         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8147         Likewise.
8148         * nptl/pthread_mutex_getprioceiling.c
8149         (pthread_mutex_getprioceiling): Likewise.
8150         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
8151         Likewise.
8152         * nptl/pthread_mutexattr_getprotocol.c
8153         (pthread_mutexattr_getprotocol): Likewise.
8154         * nptl/pthread_mutexattr_getpshared.c
8155         (pthread_mutexattr_getpshared): Likewise.
8156         * nptl/pthread_mutexattr_getrobust.c
8157         (pthread_mutexattr_getrobust): Likewise.
8158         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8159         Likewise.
8160         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
8161         Likewise.
8162         * nptl/pthread_mutexattr_setprioceiling.c
8163         (pthread_mutexattr_setprioceiling): Likewise.
8164         * nptl/pthread_mutexattr_setprotocol.c
8165         (pthread_mutexattr_setprotocol): Likewise.
8166         * nptl/pthread_mutexattr_setpshared.c
8167         (pthread_mutexattr_setpshared): Likewise.
8168         * nptl/pthread_mutexattr_setrobust.c
8169         (pthread_mutexattr_setrobust): Likewise.
8170         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
8171         Likewise.
8172         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
8173         Likewise.
8174         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
8175         Likewise.
8176         * nptl/pthread_rwlockattr_getkind_np.c
8177         (pthread_rwlockattr_getkind_np): Likewise.
8178         * nptl/pthread_rwlockattr_getpshared.c
8179         (pthread_rwlockattr_getpshared): Likewise.
8180         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
8181         Likewise.
8182         * nptl/pthread_rwlockattr_setkind_np.c
8183         (pthread_rwlockattr_setkind_np): Likewise.
8184         * nptl/pthread_rwlockattr_setpshared.c
8185         (pthread_rwlockattr_setpshared): Likewise.
8186         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
8187         Likewise.
8188         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
8189         Likewise.
8190         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
8191         Likewise.
8192         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8193         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
8194         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
8195         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
8196         * nptl/sem_close.c (sem_close): Likewise.
8197         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
8198         * nptl/sem_init.c (__old_sem_init): Likewise.
8199         * nptl/sigaction.c (__sigaction): Likewise.
8200         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8201         * posix/_exit.c (_exit): Likewise.
8202         * posix/alarm.c (alarm): Likewise.
8203         * posix/confstr.c (confstr): Likewise.
8204         * posix/fpathconf.c (__fpathconf): Likewise.
8205         * posix/getgroups.c (__getgroups): Likewise.
8206         * posix/getpgid.c (__getpgid): Likewise.
8207         * posix/group_member.c (__group_member): Likewise.
8208         * posix/pathconf.c (__pathconf): Likewise.
8209         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
8210         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
8211         * posix/setgid.c (__setgid): Likewise.
8212         * posix/setpgid.c (__setpgid): Likewise.
8213         * posix/setuid.c (__setuid): Likewise.
8214         * posix/sleep.c (__sleep): Likewise.
8215         * posix/sysconf.c (__sysconf): Likewise.
8216         * posix/times.c (__times): Likewise.
8217         * posix/uname.c (__uname): Likewise.
8218         * posix/waitid.c (__waitid): Likewise.
8219         * pwd/getpw.c (__getpw): Likewise.
8220         * resolv/base64.c (b64_pton): Likewise.
8221         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
8222         * resolv/gethnamaddr.c (Dprintf): Likewise.
8223         (gethostbyname): Likewise.
8224         (gethostbyname2): Likewise.
8225         (gethostbyaddr): Likewise.
8226         (_sethtent): Likewise.
8227         (_gethtbyname): Likewise.
8228         (_gethtbyname2): Likewise.
8229         (_gethtbyaddr): Likewise.
8230         (map_v4v6_address): Likewise.
8231         (map_v4v6_hostent): Likewise.
8232         (addrsort): Likewise.
8233         (ht_sethostent): Likewise.
8234         (ht_gethostbyname): Likewise.
8235         (ht_gethostbyaddr): Likewise.
8236         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
8237         (inet_net_ntop_ipv4): Likewise.
8238         * resolv/inet_neta.c (inet_neta): Likewise.
8239         * resolv/inet_ntop.c (inet_ntop): Likewise.
8240         (inet_ntop4): Likewise.
8241         (inet_ntop6): Likewise.
8242         * resolv/inet_pton.c (__inet_pton): Likewise.
8243         (inet_pton4): Likewise.
8244         (inet_pton6): Likewise.
8245         * resolv/res_debug.c (loc_aton): Likewise.
8246         (loc_ntoa): Likewise.
8247         * resource/getpriority.c (__getpriority): Likewise.
8248         * resource/getrusage.c (__getrusage): Likewise.
8249         * resource/nice.c (nice): Likewise.
8250         * resource/setpriority.c (__setpriority): Likewise.
8251         * resource/setrlimit64.c (setrlimit64): Likewise.
8252         * resource/vlimit.c (vlimit): Likewise.
8253         * resource/vtimes.c (vtimes): Likewise.
8254         * rt/aio_error.c (aio_error): Likewise.
8255         * rt/aio_return.c (aio_return): Likewise.
8256         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
8257         * signal/kill.c (__kill): Likewise.
8258         * signal/killpg.c (killpg): Likewise.
8259         * signal/raise.c (raise): Likewise.
8260         * signal/sigaction.c (__sigaction): Likewise.
8261         * signal/sigaddset.c (sigaddset): Likewise.
8262         * signal/sigaltstack.c (sigaltstack): Likewise.
8263         * signal/sigandset.c (sigandset): Likewise.
8264         * signal/sigblock.c (__sigblock): Likewise.
8265         * signal/sigdelset.c (sigdelset): Likewise.
8266         * signal/sigempty.c (sigemptyset): Likewise.
8267         * signal/sigfillset.c (sigfillset): Likewise.
8268         * signal/sighold.c (sighold): Likewise.
8269         * signal/sigignore.c (sigignore): Likewise.
8270         * signal/sigintr.c (siginterrupt): Likewise.
8271         * signal/sigisempty.c (sigisemptyset): Likewise.
8272         * signal/sigismem.c (sigismember): Likewise.
8273         * signal/signal.c (signal): Likewise.
8274         * signal/sigorset.c (sigorset): Likewise.
8275         * signal/sigpause.c (__sigpause): Likewise.
8276         * signal/sigpending.c (sigpending): Likewise.
8277         * signal/sigprocmask.c (__sigprocmask): Likewise.
8278         * signal/sigrelse.c (sigrelse): Likewise.
8279         * signal/sigreturn.c (__sigreturn): Likewise.
8280         * signal/sigset.c (sigset): Likewise.
8281         * signal/sigsetmask.c (__sigsetmask): Likewise.
8282         * signal/sigstack.c (sigstack): Likewise.
8283         * signal/sigsuspend.c (__sigsuspend): Likewise.
8284         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
8285         * signal/sysv_signal.c (__sysv_signal): Likewise.
8286         * socket/accept.c (accept): Likewise.
8287         * socket/accept4.c (__libc_accept4): Likewise.
8288         * socket/bind.c (__bind): Likewise.
8289         * socket/connect.c (__connect): Likewise.
8290         * socket/getpeername.c (getpeername): Likewise.
8291         * socket/getsockname.c (__getsockname): Likewise.
8292         * socket/getsockopt.c (getsockopt): Likewise.
8293         * socket/listen.c (__listen): Likewise.
8294         * socket/recv.c (__recv): Likewise.
8295         * socket/recvmsg.c (__recvmsg): Likewise.
8296         * socket/send.c (__send): Likewise.
8297         * socket/sendmsg.c (__sendmsg): Likewise.
8298         * socket/shutdown.c (shutdown): Likewise.
8299         * socket/sockatmark.c (sockatmark): Likewise.
8300         * socket/socket.c (__socket): Likewise.
8301         * stdio-common/ctermid.c (ctermid): Likewise.
8302         * stdio-common/cuserid.c (cuserid): Likewise.
8303         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
8304         * stdio-common/remove.c (remove): Likewise.
8305         * stdio-common/rename.c (rename): Likewise.
8306         * stdio-common/renameat.c (renameat): Likewise.
8307         * stdio-common/tempname.c (__gen_tempname): Likewise.
8308         * stdio-common/xbug.c (InitBuffer): Likewise.
8309         (AppendToBuffer): Likewise.
8310         (ReadFile): Likewise.
8311         * stdlib/a64l.c (a64l): Likewise.
8312         * stdlib/drand48_r.c (drand48_r): Likewise.
8313         * stdlib/getcontext.c (getcontext): Likewise.
8314         * stdlib/getenv.c (getenv): Likewise.
8315         * stdlib/l64a.c (l64a): Likewise.
8316         * stdlib/llabs.c (llabs): Likewise.
8317         * stdlib/lldiv.c (lldiv): Likewise.
8318         * stdlib/lrand48_r.c (lrand48_r): Likewise.
8319         * stdlib/mrand48_r.c (mrand48_r): Likewise.
8320         * stdlib/putenv.c (putenv): Likewise.
8321         * stdlib/random.c (__srandom): Likewise.
8322         (__initstate): Likewise.
8323         (__setstate): Likewise.
8324         * stdlib/random_r.c (__srandom_r): Likewise.
8325         (__setstate_r): Likewise.
8326         (__random_r): Likewise.
8327         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
8328         * stdlib/setcontext.c (setcontext): Likewise.
8329         * stdlib/setenv.c (setenv): Likewise.
8330         (unsetenv): Likewise.
8331         * stdlib/srand48.c (srand48): Likewise.
8332         * stdlib/srand48_r.c (__srand48_r): Likewise.
8333         * stdlib/swapcontext.c (swapcontext): Likewise.
8334         * stdlib/system.c (__libc_system): Likewise.
8335         * stdlib/tst-strtod.c (expand): Likewise.
8336         * stdlib/tst-strtol.c (expand): Likewise.
8337         * stdlib/tst-strtoll.c (expand): Likewise.
8338         * streams/fattach.c (fattach): Likewise.
8339         * streams/fdetach.c (fdetach): Likewise.
8340         * streams/getmsg.c (getmsg): Likewise.
8341         * streams/isastream.c (isastream): Likewise.
8342         * string/ffs.c (__ffs): Likewise.
8343         * string/ffsll.c (ffsll): Likewise.
8344         * string/memcmp.c (memcmp_common_alignment): Likewise.
8345         (memcmp_not_common_alignment): Likewise.
8346         (MEMCMP): Likewise.
8347         * string/memcpy.c (memcpy): Likewise.
8348         * string/memmove.c (MEMMOVE): Likewise.
8349         * string/memset.c (memset): Likewise.
8350         * string/rawmemchr.c (RAWMEMCHR): Likewise.
8351         * string/strchrnul.c (STRCHRNUL): Likewise.
8352         * string/strerror.c (strerror): Likewise.
8353         * string/strndup.c (__strndup): Likewise.
8354         * string/strverscmp.c (__strverscmp): Likewise.
8355         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
8356         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
8357         (clnttcp_freeres): Likewise.
8358         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
8359         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
8360         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
8361         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
8362         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
8363         (xdr_callhdr): Likewise.
8364         * sunrpc/rpcinfo.c (udpping): Likewise.
8365         (tcpping): Likewise.
8366         (pstatus): Likewise.
8367         (pmapdump): Likewise.
8368         (brdcst): Likewise.
8369         (deletereg): Likewise.
8370         (getprognum): Likewise.
8371         (getvers): Likewise.
8372         (get_inet_address): Likewise.
8373         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
8374         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8375         (svcudp_stat): Likewise.
8376         (svcudp_recv): Likewise.
8377         (svcudp_reply): Likewise.
8378         (svcudp_getargs): Likewise.
8379         (svcudp_freeargs): Likewise.
8380         (svcudp_destroy): Likewise.
8381         * sunrpc/xdr.c (xdr_bytes): Likewise.
8382         (xdr_netobj): Likewise.
8383         (xdr_string): Likewise.
8384         (xdr_wrapstring): Likewise.
8385         * sunrpc/xdr_float.c (xdr_float): Likewise.
8386         (xdr_double): Likewise.
8387         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
8388         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
8389         * sysvipc/ftok.c (ftok): Likewise.
8390         * sysvipc/msgctl.c (msgctl): Likewise.
8391         * sysvipc/msgget.c (msgget): Likewise.
8392         * sysvipc/msgrcv.c (msgrcv): Likewise.
8393         * sysvipc/msgsnd.c (msgsnd): Likewise.
8394         * sysvipc/semget.c (semget): Likewise.
8395         * sysvipc/semop.c (semop): Likewise.
8396         * sysvipc/shmat.c (shmat): Likewise.
8397         * sysvipc/shmctl.c (shmctl): Likewise.
8398         * sysvipc/shmdt.c (shmdt): Likewise.
8399         * sysvipc/shmget.c (shmget): Likewise.
8400         * termios/cfmakeraw.c (cfmakeraw): Likewise.
8401         * termios/speed.c (cfgetospeed): Likewise.
8402         (cfgetispeed): Likewise.
8403         (cfsetospeed): Likewise.
8404         (cfsetispeed): Likewise.
8405         * termios/tcflow.c (tcflow): Likewise.
8406         * termios/tcflush.c (tcflush): Likewise.
8407         * termios/tcgetattr.c (__tcgetattr): Likewise.
8408         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
8409         * termios/tcgetsid.c (tcgetsid): Likewise.
8410         * termios/tcsendbrk.c (tcsendbreak): Likewise.
8411         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
8412         * time/adjtime.c (__adjtime): Likewise.
8413         * time/dysize.c (dysize): Likewise.
8414         * time/ftime.c (ftime): Likewise.
8415         * time/getitimer.c (__getitimer): Likewise.
8416         * time/gettimeofday.c (__gettimeofday): Likewise.
8417         * time/gmtime.c (__gmtime_r): Likewise.
8418         (gmtime): Likewise.
8419         * time/localtime.c (__localtime_r): Likewise.
8420         (localtime): Likewise.
8421         * time/offtime.c (__offtime): Likewise.
8422         * time/settimeofday.c (__settimeofday): Likewise.
8423         * time/stime.c (stime): Likewise.
8424         * time/strftime_l.c (tm_diff): Likewise.
8425         (iso_week_days): Likewise.
8426         * time/strptime.c (strptime): Likewise.
8427         * time/time.c (time): Likewise.
8428         * time/timespec_get.c (timespec_get): Likewise.
8429         * time/tzset.c (tzset_internal): Likewise.
8430         (compute_change): Likewise.
8431         (__tz_compute): Likewise.
8432         * wcsmbs/btowc.c (__btowc): Likewise.
8433         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
8434         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
8435         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
8436         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
8437         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
8438         * wcsmbs/wcscat.c (__wcscat): Likewise.
8439         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8440         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
8441         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
8442         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8443         * wcsmbs/wcsdup.c (wcsdup): Likewise.
8444         * wcsmbs/wcslen.c (__wcslen): Likewise.
8445         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
8446         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
8447         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
8448         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
8449         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8450         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
8451         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8452         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8453         * wcsmbs/wcstok.c (wcstok): Likewise.
8454         * wcsmbs/wctob.c (wctob): Likewise.
8455         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
8456         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8457         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
8458         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
8459         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
8460         * wcsmbs/wmemset.c (__wmemset): Likewise.
8461         * wctype/wcfuncs.c (__towlower): Likewise.
8462         (__towupper): Likewise.
8464         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
8465         (lll_unlock_elision): Add adapt_count parameter.
8467 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8469         * sysdeps/nptl/configure.ac: Do not give errors based on the
8470         results of top-level configure tests.
8471         * sysdeps/nptl/configure: Regenerated.
8473         * configure.ac (libc_cv_Bgroup): Remove configure test.
8474         * configure: Regenerated.
8475         * config.make.in (have-Bgroup): Remove variable.
8477         * configure.ac (sizeof_long_double): Remove configure test.
8478         * configure: Regenerated.
8479         * config.make.in (sizeof-long-double): Remove variable.
8481         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
8482         * configure: Regenerated.
8483         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
8484         variable.
8485         (exceptions): Likewise.
8486         * sysdeps/arm/configure: Regenerated.
8487         * config.make.in (exceptions): Remove variable.
8488         * Makeconfig (uses-callbacks): Use -fexceptions instead of
8489         $(exceptions).
8490         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
8491         (CFLAGS-vdprintf_chk.c): Likewise.
8492         (CFLAGS-printf_chk.c): Likewise.
8493         (CFLAGS-fprintf_chk.c): Likewise.
8494         (CFLAGS-vprintf_chk.c): Likewise.
8495         (CFLAGS-vfprintf_chk.c): Likewise.
8496         (CFLAGS-gets_chk.c): Likewise.
8497         (CFLAGS-fgets_chk.c): Likewise.
8498         (CFLAGS-fgets_u_chk.c): Likewise.
8499         (CFLAGS-fread_chk.c): Likewise.
8500         (CFLAGS-fread_u_chk.c): Likewise.
8501         (CFLAGS-wprintf_chk.c): Likewise.
8502         (CFLAGS-fwprintf_chk.c): Likewise.
8503         (CFLAGS-vwprintf_chk.c): Likewise.
8504         (CFLAGS-vfwprintf_chk.c): Likewise.
8505         (CFLAGS-fgetws_chk.c): Likewise.
8506         (CFLAGS-fgetws_u_chk.c): Likewise.
8507         * libio/Makefile (CFLAGS-fileops.c): Likewise.
8508         (CFLAGS-fputc.c): Likewise.
8509         (CFLAGS-fputwc.c): Likewise.
8510         (CFLAGS-freopen64.c): Likewise.
8511         (CFLAGS-freopen.c): Likewise.
8512         (CFLAGS-fseek.c): Likewise.
8513         (CFLAGS-fseeko64.c): Likewise.
8514         (CFLAGS-fseeko.c): Likewise.
8515         (CFLAGS-ftello64.c): Likewise.
8516         (CFLAGS-ftello.c): Likewise.
8517         (CFLAGS-fwide.c): Likewise.
8518         (CFLAGS-genops.c): Likewise.
8519         (CFLAGS-getc.c): Likewise.
8520         (CFLAGS-getchar.c): Likewise.
8521         (CFLAGS-getwc.c): Likewise.
8522         (CFLAGS-getwchar.c): Likewise.
8523         (CFLAGS-iofclose.c): Likewise.
8524         (CFLAGS-iofflush.c): Likewise.
8525         (CFLAGS-iofgetpos64.c): Likewise.
8526         (CFLAGS-iofgetpos.c): Likewise.
8527         (CFLAGS-iofgets.c): Likewise.
8528         (CFLAGS-iofgetws.c): Likewise.
8529         (CFLAGS-iofputs.c): Likewise.
8530         (CFLAGS-iofputws.c): Likewise.
8531         (CFLAGS-iofread.c): Likewise.
8532         (CFLAGS-iofsetpos64.c): Likewise.
8533         (CFLAGS-iofsetpos.c): Likewise.
8534         (CFLAGS-ioftell.c): Likewise.
8535         (CFLAGS-iofwrite.c): Likewise.
8536         (CFLAGS-iogetdelim.c): Likewise.
8537         (CFLAGS-iogetline.c): Likewise.
8538         (CFLAGS-iogets.c): Likewise.
8539         (CFLAGS-iogetwline.c): Likewise.
8540         (CFLAGS-ioputs.c): Likewise.
8541         (CFLAGS-ioseekoff.c): Likewise.
8542         (CFLAGS-ioseekpos.c): Likewise.
8543         (CFLAGS-iosetbuffer.c): Likewise.
8544         (CFLAGS-iosetvbuf.c): Likewise.
8545         (CFLAGS-ioungetc.c): Likewise.
8546         (CFLAGS-ioungetwc.c): Likewise.
8547         (CFLAGS-oldfileops.c): Likewise.
8548         (CFLAGS-oldiofclose.c): Likewise.
8549         (CFLAGS-oldiofgetpos64.c): Likewise.
8550         (CFLAGS-oldiofgetpos.c): Likewise.
8551         (CFLAGS-oldiofsetpos64.c): Likewise.
8552         (CFLAGS-oldiofsetpos.c): Likewise.
8553         (CFLAGS-peekc.c): Likewise.
8554         (CFLAGS-putc.c): Likewise.
8555         (CFLAGS-putchar.c): Likewise.
8556         (CFLAGS-putwc.c): Likewise.
8557         (CFLAGS-putwchar.c): Likewise.
8558         (CFLAGS-rewind.c): Likewise.
8559         (CFLAGS-wfileops.c): Likewise.
8560         (CFLAGS-wgenops.c): Likewise.
8561         (CFLAGS-oldiofopen.c): Likewise.
8562         (CFLAGS-iofopen.c): Likewise.
8563         (CFLAGS-iofopen64.c): Likewise.
8564         (CFLAGS-oldtmpfile.c): Likewise.
8565         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
8566         (CFLAGS-fprintf.c): Likewise.
8567         (CFLAGS-printf.c): Likewise.
8568         (CFLAGS-vfwprintf.c): Likewise.
8569         (CFLAGS-vfscanf.c): Likewise.
8570         (CFLAGS-vfwscanf.c): Likewise.
8571         (CFLAGS-fscanf.c): Likewise.
8572         (CFLAGS-scanf.c): Likewise.
8573         (CFLAGS-isoc99_vfscanf.c): Likewise.
8574         (CFLAGS-isoc99_vscanf.c): Likewise.
8575         (CFLAGS-isoc99_fscanf.c): Likewise.
8576         (CFLAGS-isoc99_scanf.c): Likewise.
8577         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
8578         (CFLAGS-isoc99_fwscanf.c): Likewise.
8579         (CFLAGS-isoc99_vwscanf.c): Likewise.
8580         (CFLAGS-isoc99_vfwscanf.c): Likewise.
8582         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
8583         after mkstemp64.
8584         * login/tst-utmp.c (do_prepare): Likewise.
8585         * rt/tst-aio.c (do_prepare): Likewise.
8586         * rt/tst-aio64.c (do_prepare): Likewise.
8588 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8590         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8591         (__lll_lock_elision): Remove adapt_count decrement...
8592         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8593         (__lll_trylock_elision): Likewise.
8594         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8595         (__lll_unlock_elision): ... to here. And utilize
8596         new adapt_count parameter.
8597         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8598         (__lll_unlock_elision): Update to include adapt_count
8599         parameter.
8600         (lll_unlock_elision): Pass pointer to adapt_count
8601         variable.
8603 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8605         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
8606         Add elision adapt_count parameter to list of arguments.
8607         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8608         (lll_unlock_elision): Update with new parameter list
8609         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8610         (lll_unlock_elision): Likewise.
8611         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
8612         (lll_unlock_elision): Likewise.
8614 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8616         [BZ #19122]
8617         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
8618         attribute_hidden.
8620         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
8621         attribute_hidden.
8622         [IS_IN (rtld)] (__strdup): Likewise.
8623         [IS_IN (rtld)] (__strerror_r): Likewise.
8624         [IS_IN (rtld)] (__strsep_g): Likewise.
8625         [IS_IN (rtld)] (memchr): Likewise.
8626         [IS_IN (rtld)] (memcmp): Likewise.
8627         [IS_IN (rtld)] (memcpy): Likewise.
8628         [IS_IN (rtld)] (memmove): Likewise.
8629         [IS_IN (rtld)] (memset): Likewise.
8630         [IS_IN (rtld)] (rawmemchr): Likewise.
8631         [IS_IN (rtld)] (stpcpy): Likewise.
8632         [IS_IN (rtld)] (strchr): Likewise.
8633         [IS_IN (rtld)] (strcmp): Likewise.
8634         [IS_IN (rtld)] (strlen): Likewise.
8635         [IS_IN (rtld)] (strnlen): Likewise.
8636         [IS_IN (rtld)] (strsep): Likewise.
8638         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
8639         attribute_hidden.
8640         [IS_IN (rtld)] (__strtoul_internal): Likewise.
8642         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
8643         attribute_hidden.
8644         [IS_IN (rtld)] (__libc_sigaction): Likewise.
8646         * include/setjmp.h (__longjmp): Add attribute_hidden.
8647         [IS_IN (rtld)] (__sigsetjmp): Likewise.
8649         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
8650         Add attribute_hidden.
8652         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
8653         [IS_IN (rtld)] (__open): Likewise.
8654         [IS_IN (rtld)] (__fcntl): Likewise.
8656         * include/dirent.h (__opendirat): Add attribute_hidden.
8657         (__getdents): Likewise.
8658         (__getdents64): Likewise.
8659         (__alloc_dir): Likewise.
8660         [IS_IN (rtld)] (__closedir): Likewise.
8661         [IS_IN (rtld)] (__fdopendir): Likewise.
8662         [IS_IN (rtld)] (__readdir): Likewise.
8663         [IS_IN (rtld)] (__readdir64): Likewise.
8664         [IS_IN (rtld)] (__rewinddir): Likewise.
8666         * include/dlfcn.h (_dl_catch_error): Moved to ...
8667         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
8668         attribute_hidden.
8670         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
8671         (_itoa_word): Likewise.
8673         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
8674         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
8675         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
8676         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
8677         (_dl_higher_prime_number): Likewise.
8678         (_dl_debug_printf_c): Likewise.
8679         (_dl_signal_cerror): Likewise.
8680         (_dl_receive_error): Likewise.
8681         (_dl_reloc_bad_type): Likewise.
8682         (_dl_resolve_conflicts): Likewise.
8683         (_dl_check_all_versions): Likewise.
8684         (_dl_check_map_versions): Likewise.
8685         (_dl_sort_fini): Likewise.
8686         (_dl_debug_initialize): Likewise.
8687         (_dl_init_paths): Likewise.
8688         (_dl_show_auxv): Likewise.
8689         (_dl_next_ld_env_entry): Likewise.
8690         (_dl_important_hwcaps): Likewise.
8691         (_dl_load_cache_lookup): Likewise.
8692         (_dl_update_slotinfo): Likewise.
8693         (_dl_show_scope): Likewise.
8695         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
8696         attribute_hidden.
8697         (_wordcopy_fwd_dest_aligned): Likewise.
8698         (_wordcopy_bwd_aligned): Likewise.
8699         (_wordcopy_bwd_dest_aligned): Likewise.
8701         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8702         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8703         Likewise.
8704         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8705         Likewise.
8706         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
8708 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8710         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
8711         GCC 5 requirement.
8713 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8715         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
8716         test.
8717         * sysdeps/i386/configure: Regenerated.
8718         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
8719         code unconditional.
8721         * configure.ac (libc_cv_asm_previous_directive): Remove configure
8722         test.
8723         (libc_cv_asm_popsection_directive): Likewise.
8724         * configure: Regenerated.
8725         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
8726         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
8727         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
8728         (__make_section_unallocated): Make definition unconditional.
8729         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
8730         Remove conditional definition.
8731         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
8732         (__make_section_unallocated): Likewise.
8734         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
8735         * configure: Regenerated.
8736         * config.make.in (static-libgcc): Remove variable.
8737         * Makerules (build-shlib-helper): Use -static-libgcc instead of
8738         $(static-libgcc).
8739         (build-module-helper): Likewise.
8741         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
8742         * configure: Regenerated.
8744 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8746         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
8747         (struct char_buffer): New type.
8748         (char_buffer_start, char_buffer_size, char_buffer_error)
8749         (char_buffer_rewind, char_buffer_add): New functions.
8750         (ADDW): Remove macro, replaced by the char_buffer_add function.
8751         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
8752         of extend_alloca.  Make control flow more explicit.
8754 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8756         [BZ #19137]
8757         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8758         Add -fomit-frame-pointer.
8759         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
8761 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8763         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
8764         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
8765         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
8766         only if !__GNUC_PREREQ (5,0).
8767         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
8768         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
8769         (INTERNAL_SYSCALL_NCS): Likewise.
8770         (LOADREGS_0): New macro for GCC 5.
8771         (ASMARGS_0): Likewise.
8772         (LOADREGS_1): Likewise.
8773         (ASMARGS_1): Likewise.
8774         (LOADREGS_2): Likewise.
8775         (ASMARGS_2): Likewise.
8776         (LOADREGS_3): Likewise.
8777         (ASMARGS_3): Likewise.
8778         (LOADREGS_4): Likewise.
8779         (ASMARGS_4): Likewise.
8780         (LOADREGS_5): Likewise.
8781         (ASMARGS_5): Likewise.
8782         (LOADREGS_6): Likewise.
8783         (ASMARGS_6): Likewise.
8785 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8787         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
8788         -fomit-frame-pointer.
8789         (CFLAGS-mmap64.c): Likewise.
8790         (CFLAGS-semtimedop.c): Likewise.
8791         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
8792         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
8793         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8794         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8796 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8798         [BZ #18928]
8799         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
8800         _dl_pointer_guard member.
8801         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
8802         initializer.
8803         (security_init): Always set up pointer guard.
8804         (process_envvars): Do not process LD_POINTER_GUARD.
8806 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
8808         [BZ #19134]
8809         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
8810         (.LC2): Likewise.
8811         (.LC3): Likewise.
8812         (__lround): Do not add 0.5 to integer or out-of-range arguments.
8814 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8816         [BZ #19129]
8817         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
8818         r0 and r1.
8820 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
8822         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
8824 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
8826         * include/stap-probe.h: Fix macro definition formatting.
8828 2015-10-14  Florian Weimer  <fweimer@redhat.com>
8830         [BZ #19074]
8831         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
8832         load and store num_ifs.
8834 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8836         [BZ #18822]
8837         * sysdeps/unix/sysv/linux/sched_getaffinity.c
8838         (__sched_getaffinity_new): Add libc_hidden_proto and
8839         libc_hidden_def.
8841 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8843         [BZ #19007]
8844         * scripts/localplt.awk: Also allow GOT references.
8845         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
8846         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
8847         with "+ REL R_386_GLOB_DAT".
8848         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
8849         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
8851 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8853         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
8854         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8855         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
8856         Likewise.
8857         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8858         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
8859         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8860         INTERNAL_SYSCALLINTERNAL_SYSCALL and
8861         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8862         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8863         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8864         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8865         Likewise.
8866         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8868 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8870         [BZ #19125]
8871         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
8872         <math_private.h> and <stdint.h>.
8873         (__llround): Avoid conversions to and from long long int, and
8874         subtractions, where those might raise spurious exceptions.
8875         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
8876         <math_private.h> and <stdint.h>.
8877         (__llroundf): Avoid conversions to and from long long int, and
8878         subtractions, where those might raise spurious exceptions.
8880 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8882         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
8883         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8884         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8885         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
8886         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8887         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8888         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
8889         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
8890         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
8891         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8892         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8893         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8894         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
8895         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8896         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8897         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
8898         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
8899         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8900         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
8901         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
8902         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8903         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
8904         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
8905         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8906         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
8907         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8908         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
8909         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8910         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8911         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
8912         (__xstat64_conv): Likewise.
8913         (__xstat32_conv): Likewise.
8915 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8917         * sysdeps/unix/sysv/linux/sysdep.h: New file.
8918         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
8919         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
8920         <sysdeps/unix/sysv/linux/sysdep.h>.
8921         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8922         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
8923         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
8924         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8925         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8926         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
8927         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
8928         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8929         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8932         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8933         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8934         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8935         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8936         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8937         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
8938         (sysdep-dl-routines): Add sysdep.
8939         [$(subdir) == nptl] (libpthread-routines): Likewise.
8940         [$(subdir) == rt] (librt-routines): Likewise.
8941         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
8942         PIC when branching to SYSCALL_ERROR_LABEL.
8943         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
8944         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
8945         <sysdeps/unix/sysv/linux/sysdep.h>.
8946         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
8947         (SYSCALL_ERROR_ERRNO): Removed.
8948         (SYSCALL_ERROR_HANDLER): Changed to empty.
8949         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
8950         (__syscall_error): New prototype.
8951         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
8952         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
8954 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8956         [BZ #19124]
8957         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
8958         (_dl_runtime_resolve_avx512): Make it a hidden alias of
8959         _dl_runtime_resolve_avx.
8960         (_dl_runtime_profile_avx512): Make it a hidden alias of
8961         _dl_runtime_profile_avx.
8963 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8965         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
8966         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
8967         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
8968         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
8970         [BZ #16422]
8971         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
8972         New configure test.
8973         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
8974         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
8975         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
8976         <math_private.h> and <stdint.h>.
8977         (__llrint): Avoid conversions to long long int where those might
8978         raise spurious exceptions.
8979         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
8980         <math_private.h> and <stdint.h>.
8981         (__llrintf): Avoid conversions to long long int where those might
8982         raise spurious exceptions.
8984 2015-10-12  Andreas Schwab  <schwab@suse.de>
8986         [BZ #18969]
8987         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
8988         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
8989         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
8990         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
8991         $(gen-locales).
8992         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
8993         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
8994         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
8995         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
8996         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
8997         $(gen-locales).
8998         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
8999         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
9000         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
9001         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
9002         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
9003         ($(objpfx)tst-ftell-active-handler.out)
9004         ($(objpfx)tst-ftell-append.out)
9005         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
9006         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
9007         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
9008         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
9009         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
9010         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
9011         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
9012         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
9013         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
9014         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
9015         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
9016         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
9017         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
9018         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
9019         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
9020         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
9021         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
9022         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
9023         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
9024         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
9025         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
9026         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
9027         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
9028         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
9029         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
9030         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
9031         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
9032         $(gen-locales).
9033         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
9034         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
9035         $(gen-locales).
9036         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
9037         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
9038         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
9039         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
9040         $(gen-locales).
9041         * libio/tst_wprintf2.c (main): Use explicit locale.
9042         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
9044 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9046         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
9047         __msg_sig_post.
9048         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
9050 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9052         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9053         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9055         * sysdeps/arm/libm-test-ulps: Regenerated.
9057         [BZ #15470]
9058         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
9060         [BZ #16399]
9061         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
9062         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
9063         and <fix-fp-int-convert-overflow.h>.
9064         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9065         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9066         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
9067         and <fix-fp-int-convert-overflow.h>.
9068         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
9069         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9070         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
9071         <fix-fp-int-convert-overflow.h>.
9072         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9073         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9074         * sysdeps/ieee754/dbl-64/s_lround.c: Include
9075         <fix-fp-int-convert-overflow.h>.
9076         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
9077         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9078         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
9079         and <fix-fp-int-convert-overflow.h>.
9080         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9081         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9082         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
9083         <limits.h> and <fix-fp-int-convert-overflow.h>.
9084         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9085         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9086         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
9087         and <fix-fp-int-convert-overflow.h>.
9088         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9089         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9090         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
9091         and <fix-fp-int-convert-overflow.h>.
9092         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9093         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9094         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
9096 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
9098         [BZ #18589]
9099         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
9100         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
9101         $(gen-locales).
9103 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9104             Phil Blundell <pb@pbcl.net>
9106         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
9107         * nptl/tst-cancel26.c: New file.
9108         * nptl/tst-cancel27.c: Likewise.
9110 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
9112         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
9113         __ILP32__ isn't defined.
9114         (lrint): Likewise.
9115         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
9116         (lrintf): Likewise.
9117         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
9118         (lrintl): Likewise.
9119         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
9120         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
9121         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
9123 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9125         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9126         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9128         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
9129         file.
9130         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
9131         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9133 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9135         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
9136         configure test.
9137         * sysdeps/i386/configure: Regenerated.
9138         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
9139         configure test.
9140         * sysdeps/x86_64/configure: Regenerated.
9141         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
9142         Make code unconditional.
9144         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
9145         test.
9146         * sysdeps/i386/configure: Regenerated.
9147         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
9148         test.
9149         * sysdeps/x86_64/configure: Regenerated.
9150         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
9151         Make code unconditional.
9152         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9153         Likewise.
9154         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
9155         Likewise.
9156         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9157         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
9158         code unconditional.
9159         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9160         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
9161         code unconditional.
9162         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9163         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
9164         code unconditional.
9165         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
9166         code unconditional.
9167         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9168         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
9169         code unconditional.
9170         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9171         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
9172         code unconditional.
9173         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9174         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
9175         code unconditional.
9176         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9177         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
9178         code unconditional.
9179         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9180         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
9182         [BZ #19095]
9183         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
9184         mantissa to long int before shifting left.
9186 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9188         [BZ #19094]
9189         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
9190         <limits.h>.
9191         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9192         when result overflows but exception would not result from cast.
9193         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
9194         <limits.h>.
9195         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9196         when result overflows but exception would not result from cast.
9197         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
9198         <limits.h>.
9199         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9200         when result overflows but exception would not result from cast.
9201         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
9202         <limits.h>.
9203         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9204         when result overflows but exception would not result from cast.
9205         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
9206         <limits.h>.
9207         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9208         when result overflows but exception would not result from cast.
9209         * math/libm-test.inc (lrint_test_data): Add more tests.
9210         (llrint_test_data): Likewise.
9212 2015-10-08  Roland McGrath  <roland@hack.frob.com>
9214         [BZ #18872]
9215         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
9216         Move out from under [$(run-built-tests) = yes] conditional.
9217         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
9218         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
9220 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
9222         [BZ #18589]
9223         * string/Makefile (tests): Add bug-strcoll2.
9224         (LOCALES): Add cs_CZ.UTF-8.
9225         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
9227         [BZ #18589]
9228         * string/bug-strcoll2.c: New file.
9229         * locale/categories.def: Revert commit
9230         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
9231         * locale/langinfo.h: Likewise.
9232         * locale/localeinfo.h: Likewise.
9233         * locale/C-collate.c: Likewise.
9234         * locale/programs/ld-collate.c (collate_output): Likewise.
9235         * string/strcoll_l.c (STRDIFF): Likewise.
9236         (STRCOLL): Likewise.
9237         * wcsmbs/wcscoll_l.c: Likewise.
9239 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9241         * math/libm-test.inc (lround_test_data): Do not expect the absence
9242         of "inexact" for some tests with non-integer arguments.
9243         (llround_test_data): Likewise.
9245         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
9246         test.
9247         (libc_cv_cc_sse2avx): Likewise.
9248         * sysdeps/i386/configure: Regenerated.
9249         * sysdeps/i386/i686/multiarch/Makefile
9250         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
9251         [$(subdir) = math].
9252         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
9253         code unconditional.
9254         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9255         Likewise.
9256         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
9257         Likewise.
9258         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9259         Likewise.
9260         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
9261         test.
9262         (libc_cv_cc_sse2avx): Likewise.
9263         * sysdeps/x86_64/configure: Regenerated.
9264         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
9265         unconditional.
9266         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
9267         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
9268         unconditional.
9269         (_dl_runtime_profile)
9270         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
9271         conditional code.
9272         * sysdeps/x86_64/fpu/multiarch/Makefile
9273         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
9274         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9275         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9276         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9277         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9278         * sysdeps/x86_64/fpu/multiarch/e_log.c
9279         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9280         * sysdeps/x86_64/fpu/multiarch/s_atan.c
9281         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9282         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9283         Likewise.
9284         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9285         Likewise.
9286         * sysdeps/x86_64/fpu/multiarch/s_sin.c
9287         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9288         * sysdeps/x86_64/fpu/multiarch/s_tan.c
9289         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9290         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
9291         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
9292         (HAVE_SSE2AVX_SUPPORT): Likewise.
9294 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
9296         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
9297         instead of #pragma optimize.
9299 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9301         [BZ #17195]
9302         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
9303         as is similarly done in systrim and _int_free already.
9305 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9307         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
9309 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9311         [BZ #19088]
9312         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
9313         <limits.h>.
9314         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9315         overflows but exception would not result from cast.
9316         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
9317         and <limits.h>.
9318         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9319         overflows but exception would not result from cast.
9320         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
9321         <limits.h>.
9322         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9323         overflows but exception would not result from cast.
9324         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
9325         <limits.h>.
9326         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9327         overflows but exception would not result from cast.
9328         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
9329         <limits.h>.
9330         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9331         overflows but exception would not result from cast.
9332         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
9333         <limits.h>.
9334         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9335         overflows but exception would not result from cast.
9336         * math/libm-test.inc (lround_test_data): Add more tests.
9337         (llround_test_data): Likewise.
9339 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
9341         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
9342         (CFLAGS-ialloc.c): Ditto.
9343         (CFLAGS-scheck.c): Ditto.
9345 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9347         [BZ #19086]
9348         * manual/filesys.texi (Storage Allocation): Fix argument order for
9349         posix_fallocate64.
9351 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9353         [BZ #19085]
9354         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
9355         exponent below 48 inside case for non-overflowing exponent.
9356         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
9358 2015-10-07  Florian Weimer  <fweimer@redhat.com>
9360         * iconvdata/cp737.h (from_idx): Add const.
9361         * iconvdata/cp775.h (from_idx): Likewise.
9363 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9365         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
9366         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
9367         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
9369         [BZ #19079]
9370         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
9371         file, conditioned on [!_LP64].
9372         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
9373         [!_LP64] (__lround): Do not define as function or alias.
9374         [!_LP64] (lround): Likewise.
9375         [!_LP64] (__lroundl): Likewise.
9376         [!_LP64] (lroundl): Likewise.
9377         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
9378         macro.
9379         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9380         Likewise.
9382 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9384         * math/libm-test.inc (lrint_test_data): Add more tests.
9385         (llrint_test_data): Likewise.
9386         (lround_test_data): Likewise.
9387         (llround_test_data): Likewise.
9389         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
9390         (llrint_test_data): Add tests used for lrint.
9392         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
9393         test.
9394         * sysdeps/i386/configure: Regenerated.
9395         * sysdeps/i386/i686/multiarch/Makefile
9396         [$(config-cflags-sse4) = yes]: Make code unconditional.
9397         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9398         Likewise.
9399         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
9400         Likewise.
9401         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
9402         test.
9403         * sysdeps/x86_64/configure: Regenerated.
9404         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
9405         Make code unconditional.
9406         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9407         Likewise.
9408         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
9409         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
9411         * scripts/rpm2dynsym.sh: Remove file.
9413 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9415         * configure.ac (libc_cv_cxx_thread_local): Define.
9416         * configure: Regenerate.
9417         * config.make.in (have-cxx-thread_local): Define.
9418         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
9419         (LDLIBS-tst-thread_local1): Define.
9420         (tests): Add tst-thread_local1.
9421         [have-cxx-thread_local != yes] (tests-unsupported): Add
9422         tst-thread_local1.
9423         * nptl/tst-thread_local1.cc: New file.
9425 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9427         [BZ #19078]
9428         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
9429         (u_thres): Likewise.
9430         (__expl): Determine whether to call __kernel_standard_l based on
9431         value of result, not argument.
9433         * math/libm-test.inc (scalb_test_data): Add more expectations for
9434         the "inexact" exception.
9436         [BZ #19077]
9437         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
9438         0.0L for argument 1.0L.
9440         [BZ #19076]
9441         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
9442         constant 0.0L when computing infinite result.
9444 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9446         [BZ #10432]
9447         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
9448         malloc_usable_size.
9450 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9452         [BZ #19018]
9453         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9454         Mangle function pointer before storing it.
9455         (__call_tls_dtors): Demangle function pointer before calling it.
9457 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9459         [BZ #19012]
9460         * iconv/gconv_db.c (gen_steps): Check for additional errors.
9461         Clean up on failure.
9463 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
9465         [BZ #19071]
9466         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
9467         long int variable to store possibly incremented high part of
9468         mantissa.
9469         * math/libm-test.inc (lround_test_data): Add tests used for
9470         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
9471         for tests requiring 64-bit long.  Do not condition tests on
9472         [TEST_FLOAT] unnecessarily.
9473         (llround_test_data): Add tests used for lround.  Add another
9474         expectation for the "inexact" exception.  Do not condition tests
9475         on [TEST_FLOAT] unnecessarily.
9477         [BZ #887]
9478         [BZ #19049]
9479         [BZ #19050]
9480         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
9481         * sysdeps/ieee754/dbl-64/e_log10.c: Include
9482         <fix-int-fp-convert-zero.h>.
9483         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9484         * sysdeps/ieee754/dbl-64/e_log2.c: Include
9485         <fix-int-fp-convert-zero.h>.
9486         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9487         * sysdeps/ieee754/dbl-64/s_erf.c: Include
9488         <fix-int-fp-convert-zero.h>.
9489         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9490         * sysdeps/ieee754/dbl-64/s_logb.c: Include
9491         <fix-int-fp-convert-zero.h>.
9492         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9493         * sysdeps/ieee754/flt-32/e_log10f.c: Include
9494         <fix-int-fp-convert-zero.h>.
9495         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9496         * sysdeps/ieee754/flt-32/e_log2f.c: Include
9497         <fix-int-fp-convert-zero.h>.
9498         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9499         * sysdeps/ieee754/flt-32/s_erff.c: Include
9500         <fix-int-fp-convert-zero.h>.
9501         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9502         * sysdeps/ieee754/flt-32/s_logbf.c: Include
9503         <fix-int-fp-convert-zero.h>.
9504         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9505         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
9506         <fix-int-fp-convert-zero.h>.
9507         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9508         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
9509         <fix-int-fp-convert-zero.h>.
9510         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9511         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
9512         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
9513         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
9514         file.
9515         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
9517 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9519         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9521 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
9523         [BZ #19059]
9524         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
9525         overflowing computation.
9526         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9527         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9528         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9529         Likewise.
9530         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9531         Likewise.
9532         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9533         Likewise.
9534         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9535         Likewise.
9536         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9537         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9538         Likewise.
9539         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9540         Likewise.
9541         * math/libm-test.inc (nexttoward_test_data): Add more tests.
9543         * nss/rewrite_field.c (__nss_rewrite_field): Use
9544         internal_function.
9545         * nss/valid_field.c (__nss_valid_field): Likewise.
9546         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
9548 2015-10-02  Florian Weimer  <fweimer@redhat.com>
9550         [BZ #18724]
9551         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
9552         (__nss_invalid_field_characters, __nss_valid_field)
9553         (__nss_valid_list_field, __nss_rewrite_field): Declare.
9554         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
9555         tst-field.c: New file.
9556         * nss/Makefile (routines): Add valid_field, rewrite_field.
9557         (tests-static): Define unconditionally.
9558         (tests): Include tests-static.
9559         [build-static-nss] (tests-static): Use append.
9560         [build-static-nss] (tests): Remove modification.
9561         * nss/getent.c (print_group): Call putgrent.  Report error.
9562         (print_gshadow): Call putsgent.  Report error.
9563         (print_passwd): Call putpwent.  Report error.
9564         (print_shadow): Call putspent.  Report error.
9565         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
9566         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
9567         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
9568         name, password, directory, shell fields for valid syntax.  Rewrite
9569         GECOS field to match syntax.
9570         * pwd/Makefile (tests): Add tst-putpwent.
9571         * pwd/tst-putpwent.c: New file.
9572         * grp/putgrent.c (putgrent): Convert to ISO function definition.
9573         Check grName, grpasswd, gr_mem fields for valid syntax.
9574         Change loop variable i to size_t.
9575         * grp/Makefile (tests): Add tst-putgrent.
9576         * grp/tst-putgrent.c: New file.
9577         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
9578         valid syntax.
9579         * shadow/Makefile (tests): Add tst-putspent.
9580         * shadow/tst-putspent.c: New file.
9581         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
9582         sg_mem fields for valid syntax.
9583         * gshadow/Makefile (tests): Add tst-putsgent.
9584         * gshadow/tst-putsgent.c: New file.
9586 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9588         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
9589         assembly instructions.
9591 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9593         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
9594         prefix from operands.
9596 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
9598         [BZ #16347]
9599         [BZ #19046]
9600         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
9601         <libc-internal.h>.
9602         (MAXLGM): Do not use diagnostic control macros.
9603         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
9604         threshold for ldbl-128ibm.
9605         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
9606         instead of multiplying by log then subtracting.
9607         * math/auto-libm-test-in: Add more tests of lgamma.
9608         * math/auto-libm-test-out: Regenerated.
9610         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
9611         (TYPE_HEX_DIG): Likewise.
9612         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
9613         precisions when printing floating-point numbers.
9614         (check_float_internal): Likewise.
9616 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9618         [BZ #16620]
9619         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
9620         of log (10) rounded downward to 48 bits.
9621         (log10_low): Use corresponding low part of log (10).
9623         [BZ #19032]
9624         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
9625         compute result as (x - x) / (x - x) not as 0 / 0.
9626         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9627         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
9629         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9630         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
9631         and expm1.
9632         * math/auto-libm-test-out: Regenerated.
9633         * math/libm-test.inc (acos_test_data): Add more tests.
9634         (asin_test_data): Likewise.
9635         (asinh_test_data): Likewise.
9636         (atan_test_data): Likewise.
9637         (atanh_test_data): Likewise.
9638         (atan2_test_data): Likewise.
9639         (cbrt_test_data): Likewise.
9640         (ceil_test_data): Likewise.
9641         (copysign_test_data): Likewise.
9642         (cos_test_data): Likewise.
9643         (cosh_test_data): Likewise.
9644         (erf_test_data): Likewise.
9645         (erfc_test_data): Likewise.
9646         (exp_test_data): Likewise.
9647         (exp10_test_data): Likewise.
9648         (exp2_test_data): Likewise.
9649         (expm1_test_data): Likewise.
9650         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9652 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
9654         [BZ #19006]
9655         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
9656         to ...
9657         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
9658         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
9659         to ...
9660         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
9661         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
9662         to ...
9663         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
9664         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
9665         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
9666         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
9667         to ...
9668         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
9669         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9670         Moved to ...
9671         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
9672         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9673         Moved to ...
9674         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
9675         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
9676         to ...
9677         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
9678         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9679         Moved to ...
9680         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
9681         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
9682         to ...
9683         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
9684         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
9685         Removed.
9686         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
9687         Likewise.
9688         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
9689         Likewise.
9690         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
9691         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
9692         Likewise.
9693         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9694         Likewise.
9695         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9696         Likewise.
9697         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9698         Likewise.
9699         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9700         Likewise.
9701         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
9702         Likewise.
9703         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
9704         Likewise.
9705         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
9706         Likewise.
9707         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
9708         Likewise.
9709         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
9710         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
9711         Likewise.
9712         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9713         Likewise.
9714         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9715         Likewise.
9716         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9717         Likewise.
9718         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
9719         Likewise.
9720         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9721         Replace ../i486/pthread_cond_timedwait.S with
9722         ../pthread_cond_timedwait.S.
9724 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9726         * math/libm-test.inc (acos_test_data): Refine expectations for
9727         errno and "inexact" exceptions.
9728         (acosh_test_data): Likewise.
9729         (asin_test_data): Likewise.
9730         (asinh_test_data): Likewise.
9731         (atan_test_data): Likewise.
9732         (atanh_test_data): Likewise.
9733         (atan2_test_data): Likewise.
9734         (cbrt_test_data): Likewise.
9735         (ceil_test_data): Likewise.
9736         (copysign_test_data): Likewise.
9737         (cosh_test_data): Likewise.
9738         (erf_test_data): Likewise.
9739         (erfc_test_data): Likewise.
9740         (exp_test_data): Likewise.
9741         (exp10_test_data): Likewise.
9742         (exp2_test_data): Likewise.
9743         (expm1_test_data): Likewise.
9744         (fabs_test_data): Likewise.
9745         (floor_test_data): Likewise.
9746         (fma_test_data): Likewise.
9747         (fmax_test_data): Likewise.
9748         (fmin_test_data): Likewise.
9749         (fmod_test_data): Likewise.
9750         (fpclassify_test_data): Likewise.
9751         (frexp_test_data): Likewise.
9752         (hypot_test_data): Likewise.
9753         (ilogb_test_data): Likewise.
9754         (isgreater_test_data): Likewise.
9755         (isgreaterequal_test_data): Likewise.
9756         (isinf_test_data): Likewise.
9757         (isless_test_data): Likewise.
9758         (islessequal_test_data): Likewise.
9759         (islessgreater_test_data): Likewise.
9760         (isnan_test_data): Likewise.
9761         (isnormal_test_data): Likewise.
9762         (issignaling_test_data): Likewise.
9763         (isunordered_test_data): Likewise.
9764         (j0_test_data): Likewise.
9765         (j1_test_data): Likewise.
9766         (jn_test_data): Likewise.
9767         (lgamma_test_data): Likewise.
9768         (lrint_test_data): Likewise.
9769         (llrint_test_data): Likewise.
9770         (log_test_data): Likewise.
9771         (log10_test_data): Likewise.
9772         (log1p_test_data): Likewise.
9773         (log2_test_data): Likewise.
9774         (logb_test_data): Likewise.
9775         (lround_test_data): Likewise.
9776         (llround_test_data): Likewise.
9777         (modf_test_data): Likewise.
9778         (nearbyint_test_data): Likewise.
9779         (nextafter_test_data): Likewise.
9780         (nexttoward_test_data): Likewise.
9781         (pow_test_data): Likewise.
9782         (remainder_test_data): Likewise.
9783         (remquo_test_data): Likewise.
9784         (rint_test_data): Likewise.
9785         (round_test_data): Likewise.
9786         (signbit_test_data): Likewise.
9787         (sinh_test_data): Likewise.
9788         (sqrt_test_data): Likewise.
9789         (tanh_test_data): Likewise.
9790         (tgamma_test_data): Likewise.
9791         (trunc_test_data): Likewise.
9792         (y0_test_data): Likewise.
9793         (y1_test_data): Likewise.
9794         (yn_test_data): Likewise.
9795         (significand_test_data): Likewise.
9797 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
9799         * manual/filesys.texi (Storage Allocation): Document that
9800         posix_fallocate emulation fails when fd is open with O_WRONLY.
9802 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
9804         [BZ #19016]
9805         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
9806         allow more cases with X^2 + Y^2 >= 0.5.
9807         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
9808         normal element in sum instead of special-casing based on values of
9809         arguments.
9810         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
9811         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
9812         -1 as normal element in sum instead of special-casing based on
9813         values of arguments.
9814         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
9815         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
9816         (__x2y2m1): Update comment.
9817         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
9818         as normal element in sum instead of special-casing based on values
9819         of arguments.
9820         * math/s_clog.c (__clog): Handle more cases using log1p without
9821         hypot.
9822         * math/s_clog10.c (__clog10): Likewise.
9823         * math/s_clog10f.c (__clog10f): Likewise.
9824         * math/s_clog10l.c (__clog10l): Likewise.
9825         * math/s_clogf.c (__clogf): Likewise.
9826         * math/s_clogl.c (__clogl): Likewise.
9827         * math/auto-libm-test-in: Add more tests of clog and clog10.
9828         * math/auto-libm-test-out: Regenerated.
9829         * sysdeps/i386/fpu/libm-test-ulps: Update.
9830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9832 2015-09-28  Martin Sebor  <msebor@redhat.com>
9834         [BZ #18969]
9835         * string/Makefile (LOCALES): Define.
9836         (gen-locales.mk): Include.
9837         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
9838         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
9839         * string/tst-strxfrm2.c (do_test): Print the name of the locale
9840         on setlocale failure.
9842 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9844         [BZ #18985]
9845         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
9846         (__strftime_internal): Likewise.
9847         * time/tst-strftime.c (do_bz18985): New test.
9848         (do_test): Call it.
9850 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
9852         [BZ #18956]
9853         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
9854         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
9855         extracting high part.
9856         * math/auto-libm-test-in: Add another test of pow.
9857         * math/auto-libm-test-out: Regenerated.
9858         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9860 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9862         [BZ #18825]
9863         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
9864         New macro.
9865         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
9866         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9867         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
9868         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
9869         DBL_NARROW_EVAL, reloading the PIC register as needed.
9870         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
9871         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
9872         FLT_NARROW_EVAL.  Use separate return path for case when first
9873         argument is NaN.
9874         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
9875         DEFINE_LDBL_MIN.
9876         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
9877         PIC register.
9878         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
9879         math_check_force_underflow_nonneg.
9880         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
9881         underflow for subnormal result.
9882         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9883         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
9884         math_check_force_underflow_nonneg.
9885         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
9886         math_check_force_underflow.
9887         * sysdeps/x86_64/fpu/x86_64-math-asm.h
9888         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
9889         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
9890         DEFINE_LDBL_MIN.
9891         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
9892         * math/auto-libm-test-in: Add more tests of pow.
9893         * math/auto-libm-test-out: Regenerated.
9895 2015-09-25  Florian Weimer  <fweimer@redhat.com>
9897         * nss/bug17079.c (init_test_items): Add diagnostic for
9898         inconsistent entries.
9899         (test_buffer_size): Skip inconsistent entries.
9901 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9903         [BZ #13304]
9904         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
9905         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
9906         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
9908         [BZ #13304]
9909         * sysdeps/microblaze/s_fma.c: New file.
9910         * sysdeps/microblaze/s_fmaf.c: Likewise.
9911         * sysdeps/microblaze/sfp-machine.h: Likewise.
9913 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
9915         [BZ #17250]
9916         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
9917         member.
9919 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9921         [BZ #18803]
9922         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
9923         (MO): New macro.
9924         (__ieee754_hypot) [PIC]: Load PIC register.
9925         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
9926         DBL_NARROW_EVAL.
9927         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
9928         math_check_force_underflow_nonneg in case where result might be
9929         tiny.
9930         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9931         Likewise.
9932         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9933         Likewise.
9934         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9935         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
9936         * math/auto-libm-test-in: Add more tests of hypot.
9937         * math/auto-libm-test-out: Regenerated.
9939 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
9941         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
9943 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9945         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
9946         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
9947         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9948         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9949         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
9950         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9951         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9953         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
9954         LOAD_PIC_REG.
9956         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
9957         (FLT_CHECK_FORCE_UFLOW): Likewise.
9958         (DBL_CHECK_FORCE_UFLOW): Likewise.
9959         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
9960         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
9961         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
9962         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9963         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9964         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9965         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9966         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9967         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
9968         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9969         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
9970         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
9971         (flt_min): Replace with use of DEFINE_FLT_MIN.
9972         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
9973         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
9974         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9975         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
9976         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
9977         (flt_min): Replace with use of DEFINE_FLT_MIN.
9978         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
9979         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
9980         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9981         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
9982         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
9983         (flt_min): Replace with use of DEFINE_FLT_MIN.
9984         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
9985         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
9986         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9987         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9988         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
9989         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9990         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9991         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
9992         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9993         (__atan): Use DBL_CHECK_FORCE_UFLOW.
9994         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
9995         (flt_min): Replace with use of DEFINE_FLT_MIN.
9996         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
9997         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
9998         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9999         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
10000         main computation.
10001         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
10002         (flt_min): Replace with use of DEFINE_FLT_MIN.
10003         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
10004         main computation.
10005         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
10006         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10007         (MO): New macro.
10008         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
10009         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
10010         (flt_min): Replace with use of DEFINE_FLT_MIN.
10011         (MO): New macro.
10012         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
10013         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
10014         (__log1pl): Use MO.
10016         [BZ #19003]
10017         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
10018         $(config-cflags-nofma).
10020 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10022         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10024 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
10026         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
10027         (TWO127): Likewise.
10029         * sysdeps/generic/math_private.h (fabs_tg): New macro.
10030         (min_of_type): Likewise.
10031         (math_check_force_underflow): Likewise.
10032         (math_check_force_underflow_nonneg): Likewise.
10033         (math_check_force_underflow_complex): Likewise.
10034         * math/e_exp2l.c (__ieee754_exp2l): Use
10035         math_check_force_underflow_nonneg.
10036         * math/k_casinh.c (__kernel_casinh): Likewise.
10037         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10038         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10039         * math/s_catan.c (__catan): Use
10040         math_check_force_underflow_complex.
10041         * math/s_catanf.c (__catanf): Likewise.
10042         * math/s_catanh.c (__catanh): Likewise.
10043         * math/s_catanhf.c (__catanhf): Likewise.
10044         * math/s_catanhl.c (__catanhl): Likewise.
10045         * math/s_catanl.c (__catanl): Likewise.
10046         * math/s_ccosh.c (__ccosh): Likewise.
10047         * math/s_ccoshf.c (__ccoshf): Likewise.
10048         * math/s_ccoshl.c (__ccoshl): Likewise.
10049         * math/s_cexp.c (__cexp): Likewise.
10050         * math/s_cexpf.c (__cexpf): Likewise.
10051         * math/s_cexpl.c (__cexpl): Likewise.
10052         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
10053         * math/s_clog10.c (__clog10): Likewise.
10054         * math/s_clog10f.c (__clog10f): Likewise.
10055         * math/s_clog10l.c (__clog10l): Likewise.
10056         * math/s_clogf.c (__clogf): Likewise.
10057         * math/s_clogl.c (__clogl): Likewise.
10058         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
10059         * math/s_csinf.c (__csinf): Likewise.
10060         * math/s_csinh.c (__csinh): Likewise.
10061         * math/s_csinhf.c (__csinhf): Likewise.
10062         * math/s_csinhl.c (__csinhl): Likewise.
10063         * math/s_csinl.c (__csinl): Likewise.
10064         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
10065         * math/s_csqrtf.c (__csqrtf): Likewise.
10066         * math/s_csqrtl.c (__csqrtl): Likewise.
10067         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
10068         * math/s_ctanf.c (__ctanf): Likewise.
10069         * math/s_ctanh.c (__ctanh): Likewise.
10070         * math/s_ctanhf.c (__ctanhf): Likewise.
10071         * math/s_ctanhl.c (__ctanhl): Likewise.
10072         * math/s_ctanl.c (__ctanl): Likewise.
10073         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
10074         instead of volatile.
10075         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
10076         math_check_force_underflow.
10077         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10078         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
10079         volatile when forcing underflow.
10080         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10081         math_check_force_underflow_nonneg.
10082         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10083         Likewise.
10084         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
10085         math_check_force_underflow.
10086         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10087         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10088         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10089         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
10090         math_check_force_underflow_nonneg.
10091         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
10092         math_check_force_underflow.
10093         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10094         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
10095         instead of volatile.
10096         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
10097         math_check_force_underflow.
10098         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10099         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10100         math_check_force_underflow_nonneg.
10101         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
10102         math_check_force_underflow.
10103         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
10104         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10105         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
10106         math_check_force_underflow_nonneg.
10107         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10108         Likewise.
10109         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
10110         math_check_force_underflow.
10111         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10112         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10113         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10114         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
10115         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10116         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
10117         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
10118         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
10119         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10120         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
10121         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
10122         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
10123         Likewise.
10124         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
10125         math_check_force_underflow_nonneg.
10126         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10127         Likewise.
10128         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
10129         math_check_force_underflow.
10130         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10131         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
10132         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10133         Likewise.
10134         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
10135         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
10136         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
10137         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
10138         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
10139         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10140         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
10141         instead of volatile.
10142         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
10143         math_check_force_underflow.
10144         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
10145         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
10146         math_check_force_underflow.
10147         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
10148         Likewise.
10149         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10150         Use math_check_force_underflow_nonneg.
10151         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
10152         math_check_force_underflow.
10153         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10154         Likewise.
10155         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10156         Likewise.
10157         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10158         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10159         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10160         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10161         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
10162         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10163         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10164         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
10165         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
10166         math_check_force_underflow_nonneg.
10167         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
10168         math_check_force_underflow.
10169         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10170         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
10171         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
10172         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
10173         math_check_force_underflow_nonneg.
10174         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
10175         math_check_force_underflow.
10176         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
10177         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
10178         instead of volatile.
10179         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
10180         math_check_force_underflow.
10182         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
10183         * stdlib/strtod_l.c: Include <math_private.h>.
10184         (overflow_value): Use math_narrow_eval.
10185         (underflow_value): Likewise.
10186         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10187         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10188         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
10189         (__ieee754_gamma_r): Likewise.
10190         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
10191         Likewise.
10192         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10193         Likewise.
10194         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10195         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
10196         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10197         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10198         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10199         (__ieee754_gammaf_r): Likewise.
10200         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10201         Likewise.
10202         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10203         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
10204         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10205         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10206         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
10207         volatile.
10208         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10209         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
10210         math_narrow_eval.
10211         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10212         Likewise.
10213         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10214         Likewise.
10215         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
10216         Likewise.
10217         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
10218         volatile.
10219         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10220         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
10221         math_narrow_eval.
10222         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10223         Likewise.
10224         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10225         Likewise.
10227 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
10229         * nptl/Versions: Remove ignored symbols.
10231 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10233         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
10234         * nss/Makefile (tests): Update.
10236 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10238         * nss/bug18287.c: New file.
10239         * nss/Makefile (tests): Add bug18287.
10241 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10243         * mach/Versions (__mach_host_self_): Add symbol.
10245 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10247         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
10248         vm_page_size.
10250 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10252         Really fix sysdeps/i386/fpu/s_scalbn.S build
10254         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
10255         (libc: GLIBC_2_22): Remove unused version set.
10257 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10259         * config.make.in (enable-timezone-tools): New variable.
10260         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
10261         (enable_timezone_tools): Export to generated files.
10262         * configure: Regenerate.
10263         * INSTALL: Regenerate.
10264         * manual/install.texi (--disable-timezone-tools): Document new flag.
10265         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10266         ifeq ($(enable-timezone-tools),yes) check.
10268 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10270         * timezone/Makefile: Revert previous change.
10272         [BZ #18980]
10273         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
10274         (DEFINE_DBL_MIN): Likewise.
10275         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10276         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10277         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10278         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10279         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
10280         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10281         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10282         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
10283         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
10284         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10285         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10286         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
10287         (flt_min): Replace with use of DEFINE_FLT_MIN.
10288         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10289         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
10290         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10291         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10292         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
10293         (flt_min): Replace with use of DEFINE_FLT_MIN.
10294         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10295         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
10296         (flt_min): Replace with use of DEFINE_FLT_MIN.
10297         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10298         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
10299         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
10300         (__ieee754_hypot): Use DBL_NARROW_EVAL.
10301         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
10302         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
10303         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
10304         (__ieee754_pow): Use DBL_NARROW_EVAL.
10305         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
10306         (__ieee754_powf): Use FLT_NARROW_EVAL.
10307         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
10308         (__ieee754_expf_sse2): Convert double-precision result to single
10309         precision.
10310         * sysdeps/i386/fpu/libm-test-ulps: Update.
10312 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10314         * timezone/Makefile: Ignore unused variable errors due to private.h
10315         (time_t_min) and (time_t_max).
10316         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
10317         Likewise.
10319 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10321         [BZ #18981]
10322         * sysdeps/i386/fpu/i386-math-asm.h: New file.
10323         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
10324         (__ieee754_scalb): Use DBL_NARROW_EVAL.
10325         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
10326         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
10327         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
10328         (__scalbn): Use DBL_NARROW_EVAL.
10329         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
10330         (__scalbnf): Use FLT_NARROW_EVAL.
10332 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10334         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
10335         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
10336         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
10337         * stdio-common/printf_fp.c (___printf_fp):
10338         Use signbit to get the sign. Use isinf macro to allow inlining.
10339         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
10340         * stdio-common/printf_size.c (__printf_size): Likewise.
10342 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10344         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
10346 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10348         [BZ #18980]
10349         * sysdeps/generic/math_private.h: Include <float.h>.
10350         (math_narrow_eval): New macro.
10351         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10352         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
10353         math_narrow_eval on overflowing return value.
10354         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
10355         Likewise.
10356         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10357         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
10358         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
10359         Likewise.
10360         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10362 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10364         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
10365         * math/Makefile: Remove isinf_ns.c.
10366         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
10367         * math/multc3.c (__multc3): Likewise.
10368         * math/s_casin.c (__casin): Likewise.
10369         * math/s_casinf.c (__casinf): Likewise.
10370         * math/s_casinl.c (__casinl): Likewise.
10371         * math/s_cproj.c (__cproj): Likewise.
10372         * math/s_cprojf.c (__cprojf): Likewise.
10373         * math/s_cprojl.c (__cprofl): Likewise.
10374         * math/s_ctan.c (__ctan): Likewise.
10375         * math/s_ctanf.c (__ctanf): Likewise.
10376         * math/s_ctanh.c (__ctanh): Likewise.
10377         * math/s_ctanhf.c (__ctanhf): Likewise.
10378         * math/s_ctanhl.c (__ctanhl): Likewise.
10379         * math/s_ctanl.c (__ctanl): Likewise.
10380         * math/w_fmod.c (__fmod): Likewise.
10381         * math/w_fmodf.c (__fmodf): Likewise.
10382         * math/w_fmodl.c (_fmodl): Likewise.
10383         * math/w_remainder.c (__remainder): Likewise.
10384         * math/w_remainderf.c (__remainderf): Likewise.
10385         * math/w_remainderl.c (__remainderl): Likewise.
10386         * math/w_scalb.c (__scalb): Likewise.
10387         * math/w_scalbf.c (__scalbf): Likewise.
10388         * math/w_scalbl.c (__scalbl): Likewise.
10389         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
10390         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
10391         with isinf.
10392         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
10393         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
10394         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
10395         __isinf_nsf with isinf.
10396         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
10397         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
10398         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
10399         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
10400         with isinf.
10401         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
10402         __isinf_nsl with isinf.
10403         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
10404         with isinf.
10405         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
10406         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
10407         __isinf_nsl with isinf.
10408         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
10409         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
10410         with isinf.
10412 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10414         * resolv/base64.c (rcsid): Remove unused static.
10415         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
10416         static.  (tqpi1): Likewise.
10417         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
10418         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
10419         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
10420         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
10421         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
10422         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
10423         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
10424         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
10425         Likewise.
10427 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
10429         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
10430         <nptl/pthreadP.h>.
10431         (_longjmp_unwind): Use __libc_ptf_call.
10432         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
10434 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
10436         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
10437         * sysdeps/arm/__longjmp.S: Likewise.
10439 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10441         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
10442         Use __builtin_signbit.
10443         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
10444         Use __builtin_signbitf.
10445         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
10446         Use __builtin_signbitl.
10447         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10448         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
10450 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10452         [BZ #15367]
10453         [BZ #17441]
10455         * math/Makefile: Build test-snan.c with -fsignaling-nans.
10456         * math/math.h (fpclassify): Use __builtin_fpclassify when
10457         available.  (signbit): Use __builtin_signbit(f/l).
10458         (isfinite): Use__builtin_isfinite.  (isnormal): Use
10459         __builtin_isnormal.  (isnan): Use __builtin_isnan.
10460         (isinf): Use __builtin_isinf_sign.
10462 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10464         * benchtests/Makefile: Add bench-math-inlines, link with libm.
10465         * benchtests/bench-math-inlines.c: New benchmark.
10466         * benchtests/bench-util.h: New file.
10467         * benchtests/bench-util.c: New file.
10468         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
10470 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
10472         * elf/tst-dlmopen1.c: Define TEST_SO.
10473         (do_test): Use TEST_SO.
10475         * elf/dl-load.c: Include libc-internal.h.
10476         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
10478 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10480         [BZ #17887]
10481         * time/strptime_l.c (__strptime_internal): Make %z accept
10482         [+-]HH:MM time zones.
10484 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10486         [BZ #17886]
10487         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
10488         valid time zone.
10490 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
10492         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
10493         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
10494         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10495         (__ASSUME_FDATASYNC): Delete.
10497 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10499         * conform/linknamespace.pl: Require weak undefined symbols to be
10500         in the standard namespace.
10501         (%strong_syms): Rename to %seen_syms.
10502         (%strong_seen): Rename to %seen_where.
10504 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
10506         [BZ #18970]
10507         * misc/error.c (error): Replace pthread_setcancelstate with
10508         __pthread_setcancelstate.
10509         (error_at_line): Likewise.
10510         * posix/wordexp.c (parse_comm): Likewise.
10511         * stdlib/fmtmsg.c (fmtmsg): Likewise.
10512         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
10513         (__pthread_setcancelstate): This.
10514         (pthread_setcancelstate): Add an alias.
10515         * nptl/nptl-init.c (pthread_functions): Replace
10516         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
10517         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
10518         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
10519         hidden_proto.
10520         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
10521         it with hidden_def.
10522         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
10523         (pthread_setcancelstate): Renamed to ...
10524         (__pthread_setcancelstate): This.
10525         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
10526         __libc_ptf_call with __pthread_setcancelstate.
10528 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10529             Andreas Schwab  <schwab@suse.de>
10531         [BZ #17118]
10532         * math/s_ctan.c (__ctan): Determine sign of zero real part of
10533         result when imaginary part of argument is infinite using sine and
10534         cosine.
10535         * math/s_ctanf.c (__ctanf): Likewise.
10536         * math/s_ctanl.c (__ctanl): Likewise.
10537         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
10538         of result when real part of argument is infinite using sine and
10539         cosine.
10540         * math/s_ctanhf.c (__ctanhf): Likewise.
10541         * math/s_ctanhl.c (__ctanhl): Likewise.
10542         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
10543         (ctanh_test_data): Add more tests of ctanh.
10545 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10547         [BZ #15384]
10548         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
10549         bit-mask as in subtraction.
10550         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
10551         Likewise.
10552         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10553         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10554         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
10556         [BZ #18951]
10557         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
10558         underflow exception for small results.
10559         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10560         Likewise.
10561         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10562         Likewise.
10563         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10564         Likewise.
10565         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10566         Likewise.
10567         * math/auto-libm-test-in: Add more tests of tgamma.
10568         * math/auto-libm-test-out: Regenerated.
10570 2015-09-17  Andreas Schwab  <schwab@suse.de>
10572         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
10574 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10576         [BZ #18977]
10577         * math/bits/mathcalls.h
10578         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
10579         not declare.
10580         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
10581         Likewise.
10582         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
10583         Likewise.
10584         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
10585         Likewise.
10586         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
10587         Likewise.
10588         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
10589         Likewise.
10590         * conform/data/math.h-data
10591         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
10592         function.
10593         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
10594         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
10595         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
10596         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
10597         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
10598         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
10599         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
10600         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
10601         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
10602         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
10603         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
10605         [BZ #6803]
10606         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
10607         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
10608         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
10609         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
10610         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
10611         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
10612         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
10613         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
10614         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10615         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
10616         Likewise.
10617         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10618         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
10619         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
10620         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
10621         long_double_symbol calls.
10622         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
10623         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
10624         strong alias of __ldexpl.
10625         (scalbnl): Define using long_double_symbol.
10626         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
10627         Remove alias.
10628         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
10629         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
10630         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
10631         (scalbln_test_data): Add more errno expectations.
10633 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
10635         Cache the host port like we cache the task port.  This way we do not
10636         need to call the kernel just to get the port.  Furthermore, we no
10637         longer increase the reference count on every invocation of
10638         `mach_host_self'.
10640         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
10641         Protect declarations against the macro expansion.
10642         * mach/mach_init.c (__mach_host_self_): New variable.
10643         (mach_init): Initialize `__mach_host_self_'.
10644         * mach/mach_init.h (__mach_host_self_): New declaration.
10645         (__mach_host_self, mach_host_self): New macros.
10646         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
10647         Release reference.
10649 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10651         [BZ #4404]
10652         * po/de.po: Update from Translation Project.
10654         [BZ #16415]
10655         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
10656         (__expm1l): Remove code to handle positive infinity and overflow.
10657         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
10658         variable.
10659         (__expm1l): Remove code to handle positive infinity and overflow.
10661 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
10662             Paul Pluzhnikov  <ppluzhnikov@google.com>
10664         [BZ #18872]
10665         * stdio-common/Makefile (tst-printf-bz18872): New test.
10666         (tst-printf-bz18872-mem.out): Likewise.
10667         * stdio-common/tst-printf-bz18872.sh: Generate new test.
10668         * stdio-common/vfprintf.c: Fix memory leaks.
10670 2015-09-16  Andreas Schwab  <schwab@suse.de>
10672         [BZ #17244]
10673         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
10674         Remove extra va_start/va_end calls.
10676         [BZ #17243]
10677         * posix/execl.c (execl): Add missing va_end.
10678         * posix/execle.c (execle): Likewise.
10679         * posix/execlp.c (execlp): Likewise.
10681 2015-09-15  Roland McGrath  <roland@hack.frob.com>
10683         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
10684         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
10686 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
10688         [BZ #18967]
10689         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
10690         undefine around includes of <bits/mathcalls.h>.
10691         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
10692         not declare function.
10693         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
10694         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
10695         (scalb): Likewise.
10696         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
10697         not define macro.
10698         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
10699         variable.
10700         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10701         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10702         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10704         [BZ #18857]
10705         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
10706         return non-finite argument without doing ordered comparisons on
10707         it.
10709         [BZ #16296]
10710         * math/fenv.h (fegetround): Use __attribute_pure__.
10711         * include/fenv.h (__fegetround): Likewise.
10713         [BZ #18595]
10714         * math/s_ctan.c (__ctan): Force underflow exception for results
10715         whose real or imaginary part has small absolute value.
10716         * math/s_ctanf.c (__ctanf): Likewise.
10717         * math/s_ctanh.c (__ctanh): Likewise.
10718         * math/s_ctanhf.c (__ctanhf): Likewise.
10719         * math/s_ctanhl.c (__ctanhl): Likewise.
10720         * math/s_ctanl.c (__ctanl): Likewise.
10721         * math/auto-libm-test-in: Do not allow missing underflow for ctan
10722         and ctanh.  Add more tests of ctan and ctanh.
10724         [BZ #15918]
10725         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
10726         handling of cases where one argument is an infinity.
10728         [BZ #18875]
10729         [BZ #18966]
10730         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
10731         (MO): New macro.
10732         (__ieee754_exp10): For small results, force underflow exception
10733         and remove excess range and precision from return value.
10734         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
10735         (MO): New macro.
10736         (__ieee754_exp10f): For small results, force underflow exception
10737         and remove excess range and precision from return value.
10738         * math/auto-libm-test-in: Add more tests of exp10.
10739         * math/auto-libm-test-out: Regenerated.
10741 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
10743         [BZ #18875]
10744         [BZ #18961]
10745         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
10746         (MO): New macro.
10747         (__ieee754_exp): For small results, force underflow exception and
10748         remove excess range and precision from return value.
10749         (__exp_finite): Likewise.
10750         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
10751         (MO): New macro.
10752         (__ieee754_expf): For small results, force underflow exception and
10753         remove excess range and precision from return value.
10754         (__expf_finite): Likewise.
10755         * math/auto-libm-test-in: Add more tests of exp.
10756         * math/auto-libm-test-out: Regenerated.
10758         [BZ #16521]
10759         [BZ #18875]
10760         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
10761         small results.
10762         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
10763         (MO): New macro.
10764         (__ieee754_exp2): For small results, force underflow exception and
10765         remove excess range and precision from return value.
10766         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
10767         (MO): New macro.
10768         (__ieee754_exp2f): For small results, force underflow exception
10769         and remove excess range and precision from return value.
10770         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
10771         (MO): New macro.
10772         (__ieee754_exp2l): Force underflow exception for small results.
10773         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10774         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10775         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
10776         (MO): New macro.
10777         (__ieee754_exp2l): Force underflow exception for small results.
10778         * math/auto-libm-test-in: Add more tests or exp2.
10779         * math/auto-libm-test-out: Regenerated.
10781 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
10783         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
10785         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
10786         /dev/null.
10788 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10790         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10791         io fs process)): Drop spurious backslash.
10793 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10795         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
10796         Use sysinfo system call instead of parsing /proc/meminfo.
10797         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
10798         Likewise.
10800 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
10802         [BZ #16985]
10803         * programs/localedef.c (main): Display argv[remaining] when
10804         output_path is NULL.
10806 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10808         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10809         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
10810         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
10811         tanh.
10812         * math/auto-libm-test-out: Regenerated.
10813         * sysdeps/i386/fpu/libm-test-ulps: Update.
10814         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10815         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10818 2015-09-11  Roland McGrath  <roland@hack.frob.com>
10820         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
10821         Use 'override' keyword to freeze the value here, preventing
10822         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
10824 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10826         [BZ #14912]
10827         * sysdeps/aarch64/bits/atomic.h: Move to ...
10828         * sysdeps/aarch64/atomic-machine.h: ...here.
10829         (_AARCH64_BITS_ATOMIC_H): Rename macro to
10830         _AARCH64_ATOMIC_MACHINE_H.
10831         * sysdeps/alpha/bits/atomic.h: Move to ...
10832         * sysdeps/alpha/atomic-machine.h: ...here.
10833         * sysdeps/arm/bits/atomic.h: Move to ...
10834         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
10835         * bits/atomic.h: Move to ...
10836         * sysdeps/generic/atomic-machine.h: ...here.
10837         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10838         * sysdeps/i386/bits/atomic.h: Move to ...
10839         * sysdeps/i386/atomic-machine.h: ...here.
10840         * sysdeps/ia64/bits/atomic.h: Move to ...
10841         * sysdeps/ia64/atomic-machine.h: ...here.
10842         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
10843         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
10844         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10845         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
10846         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
10847         * sysdeps/microblaze/bits/atomic.h: Move to ...
10848         * sysdeps/microblaze/atomic-machine.h: ...here.
10849         * sysdeps/mips/bits/atomic.h: Move to ...
10850         * sysdeps/mips/atomic-machine.h: ...here.
10851         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
10852         * sysdeps/powerpc/bits/atomic.h: Move to ...
10853         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
10854         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
10855         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
10856         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
10857         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
10858         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
10859         <atomic-machine.h> instead of <bits/atomic.h>.
10860         * sysdeps/s390/bits/atomic.h: Move to ...
10861         * sysdeps/s390/atomic-machine.h: ...here.
10862         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
10863         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
10864         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10865         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
10866         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
10867         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
10868         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
10869         * sysdeps/tile/bits/atomic.h: Move to ...
10870         * sysdeps/tile/atomic-machine.h: ...here.
10871         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
10872         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
10873         <sysdeps/tile/atomic-machine.h> instead of
10874         <sysdeps/tile/bits/atomic.h>.
10875         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10876         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
10877         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
10878         <sysdeps/tile/atomic-machine.h> instead of
10879         <sysdeps/tile/bits/atomic.h>.
10880         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10881         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
10882         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
10883         <sysdeps/arm/atomic-machine.h> instead of
10884         <sysdeps/arm/bits/atomic.h>.
10885         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
10886         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
10887         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10888         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
10889         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
10890         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10891         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
10892         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
10893         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
10894         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
10895         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
10896         * sysdeps/x86_64/bits/atomic.h: Move to ...
10897         * sysdeps/x86_64/atomic-machine.h: ...here.
10898         * include/atomic.h: Include <atomic-machine.h> instead of
10899         <bits/atomic.h>.
10901         * sysdeps/mips/mips32/libm-test-ulps: Update.
10902         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10904         [BZ #18952]
10905         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
10906         not convert non-integer negative arguments to int to determine the
10907         value of signgam.
10908         * math/auto-libm-test-in: Add more tests of lgamma.
10909         * math/auto-libm-test-out: Regenerated.
10911         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
10912         cosh, csqrt, erfc, expm1 and lgamma.
10913         * math/auto-libm-test-out: Regenerated.
10914         * sysdeps/i386/fpu/libm-test-ulps: Update.
10915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10917 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
10919         [BZ #2542]
10920         [BZ #2543]
10921         [BZ #2558]
10922         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
10923         __lgamma_neg for arguments from -28.0 to -2.0.
10924         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
10925         __lgamma_negf for arguments from -15.0 to -2.0.
10926         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10927         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
10928         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
10929         Call __lgamma_negl for arguments from -33.0 to -2.0.
10930         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
10931         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10932         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10933         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
10934         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10935         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10936         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10937         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
10938         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10939         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10940         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
10941         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
10942         (__lgamma_neg): Likewise.
10943         (__lgamma_negl): Likewise.
10944         (__lgamma_product): Likewise.
10945         (__lgamma_productl): Likewise.
10946         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
10947         * math/auto-libm-test-in: Add more tests of lgamma.
10948         * math/auto-libm-test-out: Regenerated.
10949         * sysdeps/i386/fpu/libm-test-ulps: Update.
10950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10952 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
10954         [BZ #18675]
10955         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
10957 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
10959         [BZ #14912]
10960         * bits/libc-lock.h: Move to ...
10961         * sysdeps/generic/libc-lock.h: ...here.
10962         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10963         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
10964         * sysdeps/mach/hurd/libc-lock.h: ...here.
10965         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10966         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
10967         * sysdeps/mach/bits/libc-lock.h: Move to ...
10968         * sysdeps/mach/libc-lock.h: ...here.
10969         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10970         * sysdeps/nptl/bits/libc-lock.h: Move to ...
10971         * sysdeps/nptl/libc-lock.h: ...here.
10972         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10973         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
10974         * sysdeps/nptl/libc-lockP.h: ...here.
10975         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
10976         * crypt/crypt_util.c: Include <libc-lock.h> instead of
10977         <bits/libc-lock.h>.
10978         * dirent/scandir-tail.c: Likewise.
10979         * dlfcn/dlerror.c: Likewise.
10980         * elf/dl-close.c: Likewise.
10981         * elf/dl-iteratephdr.c: Likewise.
10982         * elf/dl-lookup.c: Likewise.
10983         * elf/dl-open.c: Likewise.
10984         * elf/dl-support.c: Likewise.
10985         * elf/dl-writev.h: Likewise.
10986         * elf/rtld.c: Likewise.
10987         * grp/fgetgrent.c: Likewise.
10988         * gshadow/fgetsgent.c: Likewise.
10989         * gshadow/sgetsgent.c: Likewise.
10990         * iconv/gconv_conf.c: Likewise.
10991         * iconv/gconv_db.c: Likewise.
10992         * iconv/gconv_dl.c: Likewise.
10993         * iconv/gconv_int.h: Likewise.
10994         * iconv/gconv_trans.c: Likewise.
10995         * include/link.h: Likewise.
10996         * inet/getnameinfo.c: Likewise.
10997         * inet/getnetgrent.c: Likewise.
10998         * inet/getnetgrent_r.c: Likewise.
10999         * intl/bindtextdom.c: Likewise.
11000         * intl/dcigettext.c: Likewise.
11001         * intl/finddomain.c: Likewise.
11002         * intl/gettextP.h: Likewise.
11003         * intl/loadmsgcat.c: Likewise.
11004         * intl/localealias.c: Likewise.
11005         * intl/textdomain.c: Likewise.
11006         * libidn/idn-stub.c: Likewise.
11007         * libio/libioP.h: Likewise.
11008         * locale/duplocale.c: Likewise.
11009         * locale/freelocale.c: Likewise.
11010         * locale/newlocale.c: Likewise.
11011         * locale/setlocale.c: Likewise.
11012         * login/getutent_r.c: Likewise.
11013         * login/getutid_r.c: Likewise.
11014         * login/getutline_r.c: Likewise.
11015         * login/utmp-private.h: Likewise.
11016         * login/utmpname.c: Likewise.
11017         * malloc/mtrace.c: Likewise.
11018         * misc/efgcvt.c: Likewise.
11019         * misc/error.c: Likewise.
11020         * misc/fstab.c: Likewise.
11021         * misc/getpass.c: Likewise.
11022         * misc/mntent.c: Likewise.
11023         * misc/syslog.c: Likewise.
11024         * nis/nis_call.c: Likewise.
11025         * nis/nis_callback.c: Likewise.
11026         * nis/nss-default.c: Likewise.
11027         * nis/nss_compat/compat-grp.c: Likewise.
11028         * nis/nss_compat/compat-initgroups.c: Likewise.
11029         * nis/nss_compat/compat-pwd.c: Likewise.
11030         * nis/nss_compat/compat-spwd.c: Likewise.
11031         * nis/nss_nis/nis-alias.c: Likewise.
11032         * nis/nss_nis/nis-ethers.c: Likewise.
11033         * nis/nss_nis/nis-grp.c: Likewise.
11034         * nis/nss_nis/nis-hosts.c: Likewise.
11035         * nis/nss_nis/nis-network.c: Likewise.
11036         * nis/nss_nis/nis-proto.c: Likewise.
11037         * nis/nss_nis/nis-pwd.c: Likewise.
11038         * nis/nss_nis/nis-rpc.c: Likewise.
11039         * nis/nss_nis/nis-service.c: Likewise.
11040         * nis/nss_nis/nis-spwd.c: Likewise.
11041         * nis/nss_nisplus/nisplus-alias.c: Likewise.
11042         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
11043         * nis/nss_nisplus/nisplus-grp.c: Likewise.
11044         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
11045         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
11046         * nis/nss_nisplus/nisplus-network.c: Likewise.
11047         * nis/nss_nisplus/nisplus-proto.c: Likewise.
11048         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
11049         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
11050         * nis/nss_nisplus/nisplus-service.c: Likewise.
11051         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
11052         * nis/ypclnt.c: Likewise.
11053         * nptl/libc_pthread_init.c: Likewise.
11054         * nss/getXXbyYY.c: Likewise.
11055         * nss/getXXent.c: Likewise.
11056         * nss/getXXent_r.c: Likewise.
11057         * nss/nss_db/db-XXX.c: Likewise.
11058         * nss/nss_db/db-netgrp.c: Likewise.
11059         * nss/nss_db/nss_db.h: Likewise.
11060         * nss/nss_files/files-XXX.c: Likewise.
11061         * nss/nss_files/files-alias.c: Likewise.
11062         * nss/nsswitch.c: Likewise.
11063         * posix/regex_internal.h: Likewise.
11064         * posix/wordexp.c: Likewise.
11065         * pwd/fgetpwent.c: Likewise.
11066         * resolv/res_hconf.c: Likewise.
11067         * resolv/res_libc.c: Likewise.
11068         * shadow/fgetspent.c: Likewise.
11069         * shadow/lckpwdf.c: Likewise.
11070         * shadow/sgetspent.c: Likewise.
11071         * socket/opensock.c: Likewise.
11072         * stdio-common/reg-modifier.c: Likewise.
11073         * stdio-common/reg-printf.c: Likewise.
11074         * stdio-common/reg-type.c: Likewise.
11075         * stdio-common/vfprintf.c: Likewise.
11076         * stdio-common/vfscanf.c: Likewise.
11077         * stdlib/abort.c: Likewise.
11078         * stdlib/cxa_atexit.c: Likewise.
11079         * stdlib/fmtmsg.c: Likewise.
11080         * stdlib/random.c: Likewise.
11081         * stdlib/setenv.c: Likewise.
11082         * string/strsignal.c: Likewise.
11083         * sunrpc/auth_none.c: Likewise.
11084         * sunrpc/bindrsvprt.c: Likewise.
11085         * sunrpc/create_xid.c: Likewise.
11086         * sunrpc/key_call.c: Likewise.
11087         * sunrpc/rpc_thread.c: Likewise.
11088         * sysdeps/arm/backtrace.c: Likewise.
11089         * sysdeps/generic/ldsodefs.h: Likewise.
11090         * sysdeps/generic/stdio-lock.h: Likewise.
11091         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
11092         * sysdeps/i386/backtrace.c: Likewise.
11093         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11094         * sysdeps/m68k/backtrace.c: Likewise.
11095         * sysdeps/mach/hurd/cthreads.c: Likewise.
11096         * sysdeps/mach/hurd/dirstream.h: Likewise.
11097         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11098         * sysdeps/nptl/malloc-machine.h: Likewise.
11099         * sysdeps/nptl/stdio-lock.h: Likewise.
11100         * sysdeps/posix/dirstream.h: Likewise.
11101         * sysdeps/posix/getaddrinfo.c: Likewise.
11102         * sysdeps/posix/system.c: Likewise.
11103         * sysdeps/pthread/aio_suspend.c: Likewise.
11104         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11105         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11106         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11107         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11108         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
11109         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
11110         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
11111         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11112         * sysdeps/unix/sysv/linux/system.c: Likewise.
11113         * sysdeps/x86_64/backtrace.c: Likewise.
11114         * time/alt_digit.c: Likewise.
11115         * time/era.c: Likewise.
11116         * time/tzset.c: Likewise.
11117         * wcsmbs/wcsmbsload.c: Likewise.
11118         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
11119         instead of <bits/libc-lock.h> in comment.
11121 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
11123         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
11124         Only use .set mips2 if the current ISA is below mips2.
11125         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
11126         Likewise.
11127         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
11128         mips32r2 if the current ISA is below mips32r2.
11129         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
11130         (TLS_IE): Updated to use the TLD_RDHWR macro.
11131         (TLS_LE): Likewise.
11132         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
11133         __ASSEMBLER__ condition.
11135 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11137         Fix parallel build of before-compile targets.
11139         * sysdeps/mach/Makefile ($(patsubst
11140         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
11141         mach-before-compile target.
11142         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11143         io fs process)): Move rule to dedicated hurd-before-compile target.
11145 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11147         Fix rules generating headers in hurd/ and mach/ when initial make call
11148         has subdir= explicitly set.
11150         * sysdeps/mach/Makefile ($(patsubst
11151         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
11152         calling $(MAKE).
11153         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11154         io fs process)): Force subdir to hurd when calling $(MAKE).
11155         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
11156         subdir to mach when calling $(MAKE).
11158 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
11160         Check sysheaders when looking for Mach and Hurd headers
11162         * sysdeps/mach/configure.ac: Add sysheaders check.
11163         * sysdeps/mach/configure: Regenerate.
11164         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
11165         * sysdeps/mach/hurd/configure: Regenerate.
11167 2015-09-04  Roland McGrath  <roland@hack.frob.com>
11169         [BZ #18921]
11170         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
11171         Fix inverted sense of test of 'o_directory_works' value.
11172         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
11173         Bernhard Voelker <mail@bernhard-voelker.de>.
11175 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11177         [BZ #14912]
11178         * bits/linkmap.h: Move to ...
11179         * sysdeps/generic/linkmap.h: ...here.
11180         * sysdeps/aarch64/bits/linkmap.h: Move to ...
11181         * sysdeps/aarch64/linkmap.h: ...here.
11182         * sysdeps/arm/bits/linkmap.h: Move to ...
11183         * sysdeps/arm/linkmap.h: ...here.
11184         * sysdeps/hppa/bits/linkmap.h: Move to ...
11185         * sysdeps/hppa/linkmap.h: ...here.
11186         * sysdeps/ia64/bits/linkmap.h: Move to ...
11187         * sysdeps/ia64/linkmap.h: ...here.
11188         * sysdeps/mips/bits/linkmap.h: Move to ...
11189         * sysdeps/mips/linkmap.h: ...here.
11190         * sysdeps/s390/bits/linkmap.h: Move to ...
11191         * sysdeps/s390/linkmap.h: ...here.
11192         * sysdeps/sh/bits/linkmap.h: Move to ...
11193         * sysdeps/sh/linkmap.h: ...here.
11194         * sysdeps/x86/bits/linkmap.h: Move to ...
11195         * sysdeps/x86/linkmap.h: ...here.
11196         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
11198 2015-09-04  Andreas Schwab  <schwab@suse.de>
11200         [BZ #18635]
11201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
11202         (__makecontext): Terminate FDE before return label.
11203         (__novec_makecontext): Likewise.
11205 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11207         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
11208         first member of struct sv in syscall macro.
11210 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11212         [BZ #14912]
11213         * bits/stdio-lock.h: Move to ...
11214         * sysdeps/generic/stdio-lock.h: ...here.
11215         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11216         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
11217         * sysdeps/nptl/stdio-lock.h: ...here.
11218         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11219         * include/libio.h: Include <stdio-lock.h> instead of
11220         <bits/stdio-lock.h>.
11221         * sysdeps/nptl/fork.c: Likewise.
11222         * sysdeps/pthread/flockfile.c: Likewise.
11223         * sysdeps/pthread/ftrylockfile.c: Likewise.
11224         * sysdeps/pthread/funlockfile.c: Likewise.
11226         [BZ #14912]
11227         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
11228         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
11229         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
11230         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
11231         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
11232         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11233         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
11235 2015-09-03  Roland McGrath  <roland@hack.frob.com>
11237         * elf/Makefile (test-xfail-tst-protected1a): New variable.
11238         (test-xfail-tst-protected1b): New variable.
11240 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
11242         [BZ #14912]
11243         * bits/libc-tsd.h: Move to ...
11244         * sysdeps/generic/libc-tsd.h: ...here.
11245         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
11246         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
11247         * sysdeps/mach/hurd/libc-tsd.h: ...here.
11248         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
11249         * include/ctype.h: Include <libc-tsd.h> instead of
11250         <bits/libc-tsd.h>.
11251         * include/rpc/rpc.h: Likewise.
11252         * locale/localeinfo.h: Likewise.
11253         * sunrpc/rpc_thread.c: Likewise.
11254         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11255         * sysdeps/nptl/malloc-machine.h: Likewise.
11257         * Makefile (headers): Remove bits/libc-lock.h.
11258         * libio/Makefile (headers): Remove bits/stdio-lock.h.
11260         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
11261         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
11262         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
11263         <bits/stdio-lock.h>.
11264         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
11265         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
11267 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11269         [BZ #18757]
11270         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
11271         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
11272         BZ #18757.
11274 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11276         * malloc/mtrace.pl: Filter out NULL entries.
11278 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
11280         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
11281         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
11282         macro.
11284         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
11285         (TCP_CC_INFO): Likewise.
11286         (TCP_SAVE_SYN): Likewise.
11287         (TCP_SAVED_SYN): Likewise.
11289 2015-08-31  Brett Neumeier <brett@neumeier.us>
11291         [BZ #18870]
11292         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
11294 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
11296         [BZ #18873]
11297         Fix broken overflow check in posix_fallocate
11298         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
11299         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11300         Fix parenthesization typo.
11302 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11304         [BZ #18887]
11305         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
11306         tst-mntent-blank-passno.
11307         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
11308         * misc/tst-mntent-blank-corrupt.c: New test.
11309         * misc/tst-mntent-blank-passno.c: New test ripped from ...
11310         * misc/tst-mntent.c (do_test): ... here.
11312 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
11314         [BZ #4404]
11315         * po/de.po: Fix SIGALRM typo.
11317 2015-08-28  James Perkins  <james@loowit.net>
11319         * time/tst-strptime2.c (tests): Replace short list of test
11320         strings for strptime %z specifier with code which exhaustively
11321         tests every combination of sign and 0 to 5 digits. Tests for
11322         rejection of invalid strings.
11324 2015-08-28  James Perkins  <james@loowit.net>
11326         [BZ #16141]
11327         * time/strptime_l.c (__strptime_internal): Fix %z minutes
11328         calculation, removing incorrect decimal time rounding, so that
11329         all minute values result in a valid seconds value.
11330         * time/strptime_l.c (__strptime_internal): Extend %z time zone
11331         offset range limits to UTC-99:59 through UTC+99:59 to parse
11332         current and historical use cases.
11333         * time/tst-strptime2.c (tests): Modify and add tests for the
11334         strptime %z input field descriptor, specifically conversion of
11335         minutes to seconds and validating an offset range of -9959 to
11336         +9959.
11338 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11339             Dmitry V. Levin  <ldv@altlinux.org>
11341         [BZ #18877]
11342         * posix/Makefile (tests): Add tst-mmap-offset.
11343         * posix/tst-mmap.c: New file.
11344         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
11345         offset calculation for negative values.
11347 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11349         * sysdeps/i386/init-arch.h: New file.
11350         * sysdeps/i386/i586/init-arch.h: Likewise.
11351         * sysdeps/i386/i686/init-arch.h: Likewise.
11352         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
11353         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
11354         * sysdeps/x86/cpu-features.h (bit_I586): New.
11355         (bit_I686): Likewise.
11356         (bit_CX8): Likewise.
11357         (bit_CMOV): Likewise.
11358         (index_CX8): Likewise.
11359         (index_CMOV): Likewise.
11360         (index_I586): Likewise.
11361         (index_I686): Likewise.
11362         (reg_CX8): Likewise.
11363         (reg_CMOV): Likewise.
11364         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
11365         available at compile-time.
11366         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
11367         available at compile-time.
11368         * sysdeps/x86/init-arch.h (USE_I586): New macro.
11369         (USE_I686): Likewise.
11371 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11373         * sysdeps/i386/bcopy.S: New file.
11374         * sysdeps/i386/bzero.S: Likewise.
11375         * sysdeps/i386/memcpy.S: Likewise.
11376         * sysdeps/i386/memmove.S: Likewise.
11377         * sysdeps/i386/mempcpy.S: Likewise.
11378         * sysdeps/i386/memset.S: Likewise.
11379         * sysdeps/i386/bzero.c: Removed.
11380         * sysdeps/i386/memset.c: Likewise.
11381         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
11382         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
11383         * sysdeps/i386/i586/memset_chk.S: Likewise.
11384         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
11385         * sysdeps/i386/memcpy_chk.S: Here.
11386         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
11387         * sysdeps/i386/memmove_chk.S: Here.
11388         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
11389         * sysdeps/i386/mempcpy_chk.S: Likewise.
11390         * sysdeps/i386/i686/memset_chk.S: Moved to ...
11391         * sysdeps/i386/memset_chk.S: Likewise.
11393 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
11395         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
11396         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
11397         file, move DIAG_POP_NEEDS_COMMENT to end of file.
11398         * soft-fp/fmadf4.c: Ditto.
11399         * soft-fp/fmatf4.c: Ditto.
11401 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11403         * sysdeps/i386/i586/Implies: Removed.
11404         * sysdeps/i386/i686/Implies: Likewise.
11406 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11408         * sysdeps/i386/i486/strlen.S: Moved to ...
11409         * sysdeps/i386/strlen.S: Here.
11411 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11413         * sysdeps/i386/i486/strcat.S: Moved to ...
11414         * sysdeps/i386/strcat.S: Here.
11416 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11418         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
11419         * sysdeps/i386/pthread_spin_trylock.S: Here.
11420         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
11421         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
11423 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11425         * sysdeps/i386/i486/string-inlines.c: Moved to ...
11426         * sysdeps/i386/string-inlines.c: Here.
11428 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11430         * sysdeps/i386/i486/htonl.S: Moved ...
11431         * sysdeps/i386/htonl.S: here.
11433 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11435         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
11436         * sysdeps/i386/bits/atomic.h: Here.
11438 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11440         * sysdeps/i386/i486/Versions: Removed.
11442 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11444         [BZ #2898]
11445         * misc/mktemp.c: Add mkdtemp to the link_warning message.
11446         Based on patch by Aurelien Jarno.
11448 2015-08-26  Stan Shebs  <stanshebs@google.com>
11450         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
11451         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11453 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11455         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
11456         * sysdeps/powerpc/dl-procinfo.c:
11457         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
11458         feature so it shows when LD_SHOW_AUXV=1.
11460 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11462         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11463         (__arch_compare_and_exchange_val_32_acq): Remove and use common
11464         definition.  ISA 2.07B no longer requires full sync.
11466 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
11468         [BZ #18863]
11469         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
11470         (si_call_addr): Define.
11471         (si_syscall): Define.
11472         (si_arch): Define.
11474 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11476         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
11477         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
11478         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
11479         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11480         (__memset_zero_constant_len_parameter): New.
11481         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
11482         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11483         (__memset_zero_constant_len_parameter): Don't define if
11484         __memset_chk or USE_AS_BZERO are defined.
11486         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
11487         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
11488         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
11490         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
11491         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
11492         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
11493         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
11494         comments.
11495         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
11496         -mno-mmx for $(all-rtld-routines).
11497         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
11498         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
11499         i386.
11501 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11503         * sysdeps/generic/unwind.h
11504         (_Unwind_Word): Use __mode__(__unwind_word__)
11505         instead of __mode__(__word__).
11506         (_Unwind_Sword): Likewise.
11508         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11509         (MAX_NEEDED_INPUT): New define.
11510         (MAX_NEEDED_OUTPUT): New define.
11512         * NEWS: New item for IBM z13 string optimizations.
11514         * sysdeps/s390/multiarch/memrchr-c.c: New File.
11515         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
11516         * sysdeps/s390/multiarch/memrchr.c: Likewise.
11517         * sysdeps/s390/multiarch/Makefile
11518         (sysdep_routines): Add memrchr functions.
11519         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11520         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
11522         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
11523         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
11524         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
11525         * sysdeps/s390/multiarch/Makefile
11526         (sysdep_routines): Add wmemcmp functions.
11527         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11528         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
11529         * benchtests/bench-wmemcmp.c: New File.
11530         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
11532         * sysdeps/s390/multiarch/wmemset-c.c: New File.
11533         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
11534         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11535         * sysdeps/s390/multiarch/Makefile
11536         (sysdep_routines): Add wmemset functions.
11537         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11538         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
11539         * wcsmbs/wmemset.c: Use WMEMSET if defined.
11540         * string/test-memset.c: Add wmemset support.
11541         * wcsmbs/test-wmemset.c: New File.
11542         * wcsmbs/Makefile (strop-tests): Add wmemset.
11543         * benchtests/bench-memset.c: Add wmemset support.
11544         * benchtests/bench-wmemset.c: New File.
11545         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
11547         * sysdeps/s390/multiarch/memccpy-c.c: New File.
11548         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
11549         * sysdeps/s390/multiarch/memccpy.c: Likewise.
11550         * sysdeps/s390/multiarch/Makefile
11551         (sysdep_routines): Add memccpy functions.
11552         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11553         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
11554         * string/memccpy.c: Use MEMCCPY if defined.
11556         * sysdeps/s390/multiarch/memchr-vx.S: New File.
11557         * sysdeps/s390/multiarch/memchr.c: Likewise.
11558         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
11559         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
11560         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11561         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
11562         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
11563         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11564         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
11565         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
11566         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
11567         and rawmemchr functions.
11568         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11569         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
11570         and wmemchr.
11571         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
11572         * string/test-memchr.c: Add wmemchr support.
11573         * wcsmbs/test-wmemchr.c: New File.
11574         * wcsmbs/Makefile (strop-tests): Add wmemchr.
11575         * benchtests/bench-memchr.c: Add wmemchr support.
11576         * benchtests/bench-wmemchr.c: New File.
11577         * benchtests/Makefile (wcsmbs-bench): wmemchr.
11579         * sysdeps/s390/multiarch/strcspn-c.c: New File.
11580         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
11581         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11582         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
11583         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
11584         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
11585         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
11586         wcscspn functions.
11587         * sysdeps/s390/multiarch/ifunc-impl-list.c
11588         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
11589         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
11590         * string/test-strcspn.c: Add wcscspn support.
11591         * wcsmbs/test-wcscspn.c: New File.
11592         * wcsmbs/Makefile (strop-tests): Add wcscspn.
11593         * benchtests/bench-strcspn.c: Add wcscspn support.
11594         * benchtests/bench-wcscspn.c: New File.
11595         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
11597         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
11598         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
11599         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11600         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
11601         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
11602         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11603         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
11604         wcspbrk functions.
11605         * sysdeps/s390/multiarch/ifunc-impl-list.c
11606         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
11607         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
11608         * string/test-strpbrk.c: Add wcspbrk support.
11609         * wcsmbs/test-wcspbrk.c: New File.
11610         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
11611         * benchtests/bench-strpbrk.c: Add wcspbrk support.
11612         * benchtests/bench-wcspbrk.c: New File.
11613         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
11615         * sysdeps/s390/multiarch/strspn-c.c: New File.
11616         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
11617         * sysdeps/s390/multiarch/strspn.c: Likewise.
11618         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
11619         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
11620         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
11621         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
11622         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
11623         wcsspn functions.
11624         * sysdeps/s390/multiarch/ifunc-impl-list.c
11625         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
11626         * string/test-strspn.c: Add wcsspn support.
11627         * wcsmbs/test-wcsspn.c: New File.
11628         * wcsmbs/Makefile (strop-tests): Add wcsspn.
11629         * benchtests/bench-strspn.c: Add wcsspn support.
11630         * benchtests/bench-wcsspn.c: New File.
11631         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
11633         * sysdeps/s390/multiarch/strrchr-c.c: New File.
11634         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
11635         * sysdeps/s390/multiarch/strrchr.c: Likewise.
11636         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
11637         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
11638         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
11639         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
11640         wcsrchr functions.
11641         * sysdeps/s390/multiarch/ifunc-impl-list.c
11642         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
11643         * benchtests/bench-wcsrchr.c: New File.
11644         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
11646         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
11647         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
11648         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
11649         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
11650         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
11651         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
11652         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
11653         wcschrnul functions.
11654         * sysdeps/s390/multiarch/ifunc-impl-list.c
11655         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
11656         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
11657         * string/test-strchr.c: Add wcschrnul support.
11658         * wcsmbs/test-wcschrnul.c: New File.
11659         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
11660         * benchtests/bench-strchr.c: Add wcschrnul support.
11661         * benchtests/bench-wcschrnul.c: New File.
11662         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
11664         * sysdeps/s390/multiarch/strchr-c.c: New File.
11665         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
11666         * sysdeps/s390/multiarch/strchr.c: Likewise.
11667         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
11668         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
11669         * sysdeps/s390/multiarch/wcschr.c: Likewise.
11670         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
11671         wcschr functions.
11672         * sysdeps/s390/multiarch/ifunc-impl-list.c
11673         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
11674         * string/strchr.c (STRCHR): Define and use macro.
11675         * benchtests/bench-wcschr.c: New File.
11676         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
11678         * sysdeps/s390/multiarch/strncmp-c.c: New File.
11679         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
11680         * sysdeps/s390/multiarch/strncmp.c: Likewise.
11681         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
11682         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
11683         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
11684         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
11685         wcsncmp functions.
11686         * sysdeps/s390/multiarch/ifunc-impl-list.c
11687         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
11688         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
11689         * benchtests/bench-strncmp.c: Add wcsncmp support.
11690         * benchtests/bench-wcsncmp.c: New File.
11691         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
11693         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
11694         * sysdeps/s390/multiarch/strcmp.c: Likewise.
11695         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
11696         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
11697         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
11698         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
11699         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
11700         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
11701         wcscmp functions.
11702         * sysdeps/s390/multiarch/ifunc-impl-list.c
11703         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
11704         * string/strcmp.c (STRCMP): Define and use macro.
11705         * benchtests/bench-wcscmp.c: New File.
11706         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
11707         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
11708         instead of _HAVE_STRING_ARCH_memchr.
11710         * sysdeps/s390/multiarch/strncat-c.c: New File.
11711         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
11712         * sysdeps/s390/multiarch/strncat.c: Likewise.
11713         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
11714         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
11715         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
11716         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
11717         wcsncat functions.
11718         * sysdeps/s390/multiarch/ifunc-impl-list.c
11719         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
11720         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
11721         * string/test-strncat.c: Add wcsncat support.
11722         * wcsmbs/test-wcsncat.c: New File.
11723         * wcsmbs/Makefile (strop-tests): Add wcsncat.
11724         * benchtests/bench-strncat.c: Add wcsncat support.
11725         * benchtests/bench-wcsncat.c: New File.
11726         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
11728         * sysdeps/s390/multiarch/strcat-c.c: New File.
11729         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
11730         * sysdeps/s390/multiarch/strcat.c: Likewise.
11731         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
11732         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
11733         * sysdeps/s390/multiarch/wcscat.c: Likewise.
11734         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
11735         wcscat functions.
11736         * sysdeps/s390/multiarch/ifunc-impl-list.c
11737         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
11738         * string/strcat.c (STRCAT): Define and use macro.
11739         * wcsmbs/wcscat.c: Use WCSCAT if defined.
11740         * string/test-strcat.c: Add wcscat support.
11741         * wcsmbs/test-wcscat.c: New File.
11742         * wcsmbs/Makefile (strop-tests): Add wcscat.
11743         * benchtests/bench-strcat.c: Add wcscat support.
11744         * benchtests/bench-wcscat.c: New File.
11745         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
11747         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
11748         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
11749         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
11750         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
11751         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
11752         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
11753         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
11754         wcpncpy functions.
11755         * sysdeps/s390/multiarch/ifunc-impl-list.c
11756         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
11757         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
11758         * string/test-stpncpy.c: Add wcpncpy support.
11759         * wcsmbs/test-wcpncpy.c: New File.
11760         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
11761         * benchtests/bench-stpncpy.c: Add wcpncpy support.
11762         * benchtests/bench-wcpncpy.c: New File.
11763         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
11765         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
11766         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11767         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
11768         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
11769         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
11770         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
11771         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
11772         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
11773         wcsncpy functions.
11774         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
11775         * sysdeps/s390/multiarch/ifunc-impl-list.c
11776         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
11777         * string/test-strncpy.c: Add wcsncpy support.
11778         * wcsmbs/test-wcsncpy.c: New File.
11779         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
11780         * benchtests/bench-strncpy.c: Add wcsncpy support.
11781         * benchtests/bench-wcsncpy.c: New File.
11782         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
11784         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
11785         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
11786         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11787         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
11788         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
11789         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
11790         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
11791         wcpcpy functions.
11792         * string/stpcpy.c: Use STPCPY if defined.
11793         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
11794         * sysdeps/s390/multiarch/ifunc-impl-list.c
11795         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
11796         * string/test-stpcpy.c: Add wcpcpy support.
11797         * wcsmbs/test-wcpcpy.c: New File.
11798         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
11799         * benchtests/bench-stpcpy.c: Add wcpcpy support.
11800         * benchtests/bench-wcpcpy.c: New File.
11801         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
11803         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
11804         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11805         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
11806         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
11807         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
11808         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
11809         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
11810         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
11811         wcscpy functions.
11812         * sysdeps/s390/multiarch/ifunc-impl-list.c
11813         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
11814         * benchtests/bench-wcscpy.c: New File.
11815         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
11817         * sysdeps/s390/multiarch/strnlen-c.c: New File.
11818         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
11819         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11820         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
11821         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
11822         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
11823         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
11824         wcsnlen functions.
11825         * sysdeps/s390/multiarch/ifunc-impl-list.c
11826         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
11827         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
11828         * string/test-strnlen.c: Add wcsnlen support.
11829         * wcsmbs/test-wcsnlen.c: New File.
11830         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
11831         * benchtests/bench-strnlen.c: Add wcsnlen support.
11832         * benchtests/bench-wcsnlen.c: New File.
11833         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
11835         * sysdeps/s390/multiarch/Makefile: New File.
11836         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
11837         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
11838         * sysdeps/s390/multiarch/strlen.c: Likewise.
11839         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
11840         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
11841         * sysdeps/s390/multiarch/wcslen.c: Likewise.
11842         * string/strlen.c (STRLEN): Define and use macro.
11843         * sysdeps/s390/multiarch/ifunc-impl-list.c
11844         (IFUNC_VX_IMPL): New macro function.
11845         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
11846         * benchtests/Makefile (wcsmbs-bench): New variable.
11847         (string-bench-all): Added wcsmbs-bench.
11848         * benchtests/bench-wcslen.c: New File.
11850         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
11851         s390_vx_libc_ifunc2): New macro function.
11853         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
11854         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
11855         assembler support.
11856         * sysdeps/s390/configure: Regenerated.
11858         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
11859         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
11861         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
11862         * sysdeps/s390/dl-procinfo.h: Add vector capability.
11863         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
11865         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
11866         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
11867         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
11868         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
11869         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
11870         (memcmp, bcmp): Use __memcmp_default as alias source.
11871         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
11872         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
11873         Rename to __memcmp_default.
11874         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
11875         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
11876         (memcpy): Use __memcpy_default as alias source.
11877         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
11878         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
11879         Rename to __memcpy_default.
11880         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
11881         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
11882         (memset): Use __memset_default as alias source.
11883         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
11884         * sysdeps/s390/s390-32/memset.S (__memset_g5):
11885         Rename to __memset_default.
11886         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
11887         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
11888         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
11889         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
11890         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
11891         (memcmp, bcmp): Use __memcmp_default as alias source.
11892         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
11893         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
11894         Rename to __memcmp_default.
11895         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
11896         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
11897         (memcpy): Use __memcpy_default as alias source.
11898         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
11899         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
11900         Rename to __memcpy_default.
11901         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
11902         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
11903         (memset): Use __memset_default as alias source.
11904         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
11905         * sysdeps/s390/s390-64/memset.S (__memset_z900):
11906         Rename to __memset_default.
11907         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
11908         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
11910         [BZ #18610]
11911         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
11912         __ieee_instruction_pointer to __unused.
11913         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
11914         __ieee_instruction_pointer.
11915         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
11916         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
11917         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11918         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11919         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
11920         Mark dxc-field as reserved.
11922 2015-08-25  Roland McGrath  <roland@hack.frob.com>
11924         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
11925         if the weak reference is not null.
11927 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11929         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
11931         [BZ #11214]
11932         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
11934 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11936         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
11937         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
11938         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
11939         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
11940         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
11941         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
11942         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
11943         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
11944         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
11945         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
11946         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
11947         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
11948         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
11949         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
11950         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
11951         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
11952         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
11953         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
11955 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11957         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
11958         register other than r0 for tabort, it has special meaning.
11959         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
11960         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
11961         transaction before starting syscall.
11963 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11965         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
11967 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11969         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
11971         * sysdeps/x86_64/rtld-memcmp.c: Removed.
11972         * sysdeps/x86_64/rtld-memset.S: Likewise.
11973         * sysdeps/x86_64/rtld-strchr.S: Likewise.
11974         * sysdeps/x86_64/rtld-strlen.S: Likewise.
11975         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
11976         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11978         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
11980 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
11982         * debug/strcpy_chk.c: Improve performance.
11983         * debug/stpcpy_chk.c: Likewise.
11984         * sysdeps/x86_64/strcpy_chk.S: Remove.
11985         * sysdeps/x86_64/stpcpy_chk.S: Remove.
11987         [BZ #18240]
11988         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
11990 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11992         [BZ #15128]
11993         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
11994         ifuncmain8.
11995         (modules-names): Add ifuncmod8.
11996         ($(objpfx)ifuncmain8): New rule.
11997         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
11998         <cpuid.h>.
11999         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
12000         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
12001         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
12002         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
12003         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
12004         * sysdeps/x86_64/dl-trampoline.h: Likewise.
12005         * sysdeps/x86_64/ifuncmain8.c: New file.
12006         * sysdeps/x86_64/ifuncmod8.c: Likewise.
12007         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
12008         Removed.
12009         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
12010         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
12011         Change rtld_savespace_sse to __glibc_unused2.
12012         (RTLD_CHECK_FOREIGN_CALL): Removed.
12013         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
12014         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
12015         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
12017 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12019         * sysdeps/aarch64/bzero.S (__bzero): Remove.
12021 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12023         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
12024         Unconditionally set __fpcr to avoid uninialized warning.
12025         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
12027 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12029         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
12030         is corrupt.
12032         * malloc/arena.c (arena_get2): Drop unused argument.
12033         (arena_lock): Adjust.
12034         (arena_get_retry): Likewise.
12036 2015-08-24  Andreas Schwab  <schwab@suse.de>
12038         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
12039         Don't define.
12040         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12041         (__ASSUME_IPC64): Don't undef.
12042         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
12043         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12044         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12045         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
12046         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
12047         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
12048         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
12049         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
12050         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
12051         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
12052         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
12053         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
12054         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
12055         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
12056         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
12057         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
12058         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
12059         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
12060         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
12061         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
12062         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
12064 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
12066         * manual/Makefile (install): Only build manual when perl is available.
12068 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12070         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
12071         '#undef memcpy' by '#undef memchr'.
12073 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12075         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
12076         memchr not point to the internal __GI_memchr implementation.
12078 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12080         * timezone/Makefile (CFLAGS-zdump.c): Remove
12081         -Wno-strict-prototypes.
12082         (CFLAGS-zic.c): Likewise.
12083         (CFLAGS-ialloc.c): Likewise.
12084         (CFLAGS-scheck.c): Likewise.
12086         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
12087         -Wno-error=undef.
12089 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12091         * i386/i686/multiarch/strcasestr-c.c: Removed.
12092         * x86_64/multiarch/strcasestr.c: Likewise.
12093         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12094         Remove strcasestr.
12096 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12098         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
12100         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
12101         variables for high and low parts before possibly modifying them.
12103 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12105         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
12106         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
12107         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
12108         of "multiarch/init-arch.h".
12109         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
12110         * sysdeps/x86/init-arch.h: This.
12112 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12114         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
12115         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
12117 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
12119         [BZ #17787]
12120         * manual/macros.texi: Add twoexp macro.
12121         * manual/filesys.texi: Fix exponents.
12122         * manual/llio.texi: Likewise.
12123         * manual/stdio.texi: Likewise.
12125 2015-08-20  Florian Weimer  <fweimer@redhat.com>
12127         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
12128         incorrect use.
12130 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12132         [BZ #18370]
12133         * math/s_csqrt.c (__csqrt): Force underflow exception for results
12134         whose real or imaginary part has small absolute value.
12135         * math/s_csqrtf.c (__csqrtf): Likewise.
12136         * math/s_csqrtl.c (__csqrtl): Likewise.
12137         * math/auto-libm-test-in: Add more tests of csqrt.
12138         * math/auto-libm-test-out: Regenerated.
12139         * sysdeps/i386/fpu/libm-test-ulps: Update.
12141 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12143         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
12144         __ppc_set_ppr_very_low): New functions.
12145         * manual/platform.texi: Add documentation about
12146         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
12148 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
12150         * string/stpncpy.c (stpncpy): Improve performance using
12151         __strnlen/memcpy/memset.
12153 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12155         [BZ #18796]
12156         * scripts/test-installation.pl: Don't add -lmvec to build options if
12157         libmvec wasn't built.
12159 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
12161         [BZ #14341]
12162         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
12163         case when there is a gap between DT_REL and DT_JMPREL sections.
12164         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
12165         (LDFLAGS-tst-split-dynreloc): New.
12166         (tst-split-dynreloc-ENV): Likewise.
12167         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
12168         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
12170 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12172         [BZ #18822]
12173         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
12174         attribute_hidden.
12175         (__xstat64_conv): Likewise.
12176         (__xstat32_conv): Likewise.
12178 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12180         [BZ #18822]
12181         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
12182         Don't load %ebx when calling __setcontext.  Call __setcontext
12183         with HIDDEN_JUMPTARGET.
12184         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
12185         libc_hidden_def.
12187 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12189         * sysdeps/i386/i686/Makefile
12190         [$(subdir) == string] (sysdep_routines): Moved to ...
12191         * sysdeps/i386/Makefile: Here.
12192         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
12193         * sysdeps/i386/cacheinfo.c: Here.
12194         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
12195         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
12196         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
12197         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
12199 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12201         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
12202         __i586__ is defined.
12203         (HAS_I686): Defined to 1 if __i686__ is defined.
12205 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12207         * elf/Makefile [$(have-z-execstack) = yes]
12208         (CPPFLAGS-tst-execstack.c): New variable.
12210         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
12211         conditional to [defined UTMPX || _HAVE_UT_TYPE].
12212         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
12213         UTMPX || _HAVE_UT_TV].
12214         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
12215         UTMPX || _HAVE_UT_TV - 0].
12217 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
12219         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
12220         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
12221         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
12223 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12225         * sysdeps/powerpc/dl-procinfo.c:
12226         (_dl_powerpc_cap_flags): Added missing strings for some
12227         hwcap features.
12228         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
12230 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
12232         Port the 0x7efe...feff pattern to GCC 6.
12233         See Steve Ellcey's bug report in:
12234         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
12235         * string/memrchr.c (MEMRCHR):
12236         * string/rawmemchr.c (RAWMEMCHR):
12237         * string/strchr.c (strchr):
12238         * string/strchrnul.c (STRCHRNUL):
12239         Rewrite code to avoid issues with signed shift overflow.
12241 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
12243         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
12244         whether cpuid is available only if HAS_CPUID is 0.
12245         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
12246         (HAS_I586): Likewise.
12247         (HAS_I686): Likewise.
12249 2015-08-18  Zack Weinberg  <zackw@panix.com>
12251         * misc/Versions (libc): Add GLIBC_2.23.
12253 2015-08-18  Alan Modra  <amodra@gmail.com>
12255         [BZ #18421]
12256         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
12257         .Lp__global.
12258         (_start): Load %dp via .Lp__global.
12259         [!SHARED]: Use .section .rodata.
12261 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12263         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
12264         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
12266 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12268         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
12269         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
12271 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12273         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
12274         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
12276 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12278         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
12279         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
12281 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12283         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
12284         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
12286 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12288         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
12289         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
12291 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12293         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
12295 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12297         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
12298         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
12299         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12300         (__ASSUME_LWS_CAS): Delete.
12302 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12304         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
12305         * sysdeps/hppa/configure: Regenerated.
12306         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
12307         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
12308         * sysdeps/hppa/nptl/tls.h: Likewise.
12310 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
12312         [BZ #18823]
12313         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
12314         for scaling up small arguments.
12315         * math/s_csqrtf.c (__csqrtf): Likewise.
12316         * math/s_csqrtl.c (__csqrtl): Likewise.
12317         * math/auto-libm-test-in: Add more tests of csqrt.
12318         * math/auto-libm-test-out: Regenerated.
12320 2015-08-17  Andreas Schwab  <schwab@suse.de>
12322         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
12323         version set GLIBC_2.19.
12325 2015-08-16  Zack Weinberg  <zackw@panix.com>
12327         [BZ #18681]
12328         * misc/regexp.h: This interface is no longer supported.
12329         Remove all contents, leaving only an #error directive.
12330         * misc/regexp.c (loc1, loc2, locs, step, advance):
12331         Demote to compatibility symbols.
12333 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
12335         [BZ #18084]
12336         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
12337         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
12338         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12339         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
12340         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
12341         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
12342         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
12343         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
12344         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12346 2015-08-15  Zack Weinberg  <zackw@panix.com>
12348         [BZ #18795]
12349         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
12350         buffer length is known to be too large, not if it's known to be
12351         small enough.
12352         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
12353         overflow at runtime, involving a length parameter, twice: once
12354         with a compile-time constant length parameter, once without.
12356 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
12358         [BZ #18824]
12359         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
12360         scaling x * y up instead of down.
12361         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12362         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12363         * math/auto-libm-test-in: Add more tests of fma.
12364         * math/auto-libm-test-out: Regenerated.
12366 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12368         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12370 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12372         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
12373         unnecessary movq.
12374         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
12375         Likewise.
12377 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
12379         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12380         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
12381         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
12382         and tgamma.
12383         * math/auto-libm-test-out: Regenerated.
12384         * sysdeps/i386/fpu/libm-test-ulps: Update.
12385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12387         [BZ #16520]
12388         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
12389         (__tanh): Force underflow exception for arguments with small
12390         absolute value.
12391         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
12392         (__tanhf): Force underflow exception for arguments with small
12393         absolute value.
12394         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
12395         (__tanhl): Force underflow exception for arguments with small
12396         absolute value.
12397         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
12398         (__tanhl): Force underflow exception for arguments with small
12399         absolute value.
12400         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
12401         (__tanhl): Force underflow exception for arguments with small
12402         absolute value.
12403         * math/auto-libm-test-in: Add more tests of tanh.
12404         * math/auto-libm-test-out: Regenerated.
12405         * sysdeps/i386/fpu/libm-test-ulps: Update.
12407 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12409         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
12410         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
12412 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12414         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
12415         <cpuid.h>.
12417 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12419         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
12420         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
12422 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12424         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
12425         Remove $(objpfx)init-arch.o.
12426         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
12427         init-arch.
12428         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
12429         (INIT_ARCH_EXT): Defined as empty.
12430         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
12431         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
12432         __init_cpu_features call.  Replace HAS_XXX with
12433         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12434         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
12435         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
12436         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
12437         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
12438         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12439         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
12440         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
12441         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12442         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
12443         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
12444         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12445         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
12446         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
12447         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12448         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
12449         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
12450         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12451         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12452         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
12453         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
12454         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12455         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
12456         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
12457         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12458         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
12459         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
12460         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12461         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
12462         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
12463         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12464         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
12465         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
12466         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12467         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
12468         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
12470 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12472         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
12473         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12474         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12475         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12476         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
12477         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
12478         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
12479         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
12480         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
12481         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
12482         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
12483         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
12484         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12485         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12486         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12487         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12488         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12489         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12490         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12491         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12492         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12493         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12494         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12495         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12496         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12497         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12498         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12499         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12500         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12501         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12502         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12503         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12504         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12505         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12506         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12507         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12508         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12509         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12510         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12511         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12512         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12513         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12514         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12516 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12518         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
12519         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12520         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12521         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12522         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12523         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
12524         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12525         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
12526         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12527         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12528         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12529         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
12530         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
12531         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
12532         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
12533         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
12534         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
12535         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
12536         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
12537         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
12538         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12539         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
12540         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
12541         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12542         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12543         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
12544         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
12545         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
12546         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12547         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12548         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12549         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12550         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12551         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12552         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12553         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12554         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12555         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12556         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12557         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12558         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12559         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12560         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12562 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12564         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
12565         (dl_platform_init): Call init_cpu_features.
12566         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
12567         * sysdeps/i386/i686/cacheinfo.c
12568         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
12569         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
12570         * sysdeps/i386/i686/multiarch/Versions: Removed.
12571         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
12572         Removed.
12573         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
12574         * sysdeps/unix/sysv/linux/x86/Makefile
12575         (libpthread-sysdep_routines): Remove init-arch.
12576         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
12577         <sysdeps/x86_64/dl-procinfo.c> instead of
12578         sysdeps/generic/dl-procinfo.c>.
12579         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
12580         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
12581         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
12582         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
12583         [$(subdir) == elf] (tests-static): Add
12584         tst-get-cpu-features-static.
12585         * sysdeps/x86/Versions: New file.
12586         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
12587         * sysdeps/x86/cpu-features.c: Likewise.
12588         * sysdeps/x86/cpu-features.h: Likewise.
12589         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
12590         * sysdeps/x86/libc-start.c: Likewise.
12591         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
12592         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
12593         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
12594         * sysdeps/x86_64/dl-procinfo.c: Likewise.
12595         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
12596         Assume USE_MULTIARCH is defined and don't check it.
12597         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
12598         (is_amd): Likewise.
12599         (max_cpuid): Likewise.
12600         (intel_check_word): Likewise.
12601         (__cache_sysconf): Don't call __init_cpu_features.
12602         (__x86_preferred_memory_instruction): Removed.
12603         (init_cacheinfo): Don't call __init_cpu_features. Replace
12604         __cpu_features with GLRO(dl_x86_cpu_features).
12605         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
12606         (dl_platform_init): Call init_cpu_features.
12607         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
12608         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
12609         * sysdeps/x86_64/multiarch/Versions: Removed.
12610         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
12611         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
12612         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
12613         Removed.
12614         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
12616 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12618         [BZ #18820]
12619         * libio/Makefile (test-fmemopen-mem): New test.
12620         * libio/test-fmemopen.c (do_bz18820): New test.
12621         * libio/fmemopen.c (__fmemopen): Fix memory leak.
12622         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
12624 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12626         [BZ #16734]
12627         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
12628         (FREE_BUF): Delete.
12629         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
12630         * libio/genops.c (_IO_setb): Use malloc and free directly.
12631         (_IO_default_doallocate, _IO_default_finish): Likewise.
12632         ( _IO_unbuffer_all): Likewise.
12633         ( libc_freeres_fn): Likewise.
12634         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12635         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12636         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
12637         (_IO_wdefault_doallocate): Likewise.
12639 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12641         [BZ #18086]
12642         * sysdeps/posix/nice.c (nice): Restore old errno.
12643         * posix/tst-nice.c (do_test): Add test for BZ #18086.
12645 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
12647         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
12649 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12651         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
12652         __bcopy and add a weak_alias to bcopy.
12653         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
12654         for static build.
12656         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
12657         cleanup macro usage.
12658         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
12659         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
12660         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12661         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
12662         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12663         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
12664         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
12665         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12666         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12667         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
12668         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12669         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
12670         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12671         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
12672         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12673         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
12674         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
12675         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
12676         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12678         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
12679         libc_hidden_def.
12680         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
12682         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
12683         (sysdep_routines): Add strstr-ppc64.
12684         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
12686 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
12688         [BZ #18778]
12689         * elf/Makefile (tests): Add Add tst-nodelete2.
12690         (modules-names): Add tst-nodelete2mod.
12691         (tst-nodelete2mod.so-no-z-defs): New.
12692         ($(objpfx)tst-nodelete2): Likewise.
12693         ($(objpfx)tst-nodelete2.out): Likewise.
12694         (LDFLAGS-tst-nodelete2): Likewise.
12695         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
12696         out of loop through all loaded libraries.
12697         * elf/tst-nodelete2.c: New file.
12698         * elf/tst-nodelete2mod.c: Likewise.
12699         * elf/tst-znodelete-zlib.cc: Delete.
12701 2015-08-11  Andreas Schwab  <schwab@suse.de>
12703         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
12704         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
12705         (__openat64_nocancel): Likewise.
12707 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
12709         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
12710         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
12711         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
12712         * math/auto-libm-test-out: Regenerated.
12713         * sysdeps/i386/fpu/libm-test-ulps: Update.
12714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12716 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12718         [BZ #18790]
12719         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
12720         threshold for returning +/- 1.
12721         * math/auto-libm-test-in: Add more tests of tanh.
12722         * math/auto-libm-test-out: Regenerated.
12723         * sysdeps/i386/fpu/libm-test-ulps: Update.
12725 2015-08-10  Andreas Schwab  <schwab@suse.de>
12727         [BZ #18781]
12728         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
12729         MORE_OFLAGS to oflag.
12730         * io/test-lfs.c (do_test): Test openat64.
12732 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12734         [BZ #18789]
12735         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
12736         smaller threshold for returning the argument.
12737         * math/auto-libm-test-in: Add more tests of sinh.
12738         * math/auto-libm-test-out: Regenerated.
12739         * sysdeps/i386/fpu/libm-test-ulps: Update.
12741 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
12743         [BZ #18674]
12744         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
12745         break.
12747 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
12749         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
12750         (generated): Don't add $(addprefix z.,$(tzfiles)).
12752 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12754         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
12755         * scripts/sysd-rules.awk: Likewise.
12757 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12759         * iconvdata/tst-tables.sh: Change echo -n to printf.
12760         * nss/db-Makefile: Likewise.
12761         * posix/tst-getconf.sh: Likewise.
12762         * stdio-common/tst-unbputc.sh: Likewise.
12764 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12766         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
12767         MADV_*_PAGES defines behind this feature check.
12769 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
12771         [BZ #18480]
12772         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
12773         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
12774         Define.
12775         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
12776         LOAD_REGS_5, LOAD_REGS_6): Update.
12777         (INTERNAL_SYSCALL): Update using new LOAD defines.
12778         (INTERNAL_SYSCALL_NCS): Likewise.
12779         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
12781 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12783         [BZ #16734]
12784         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
12786 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12788         [BZ #17905]
12789         * catgets/Makefile (tst-catgets-mem): New test.
12790         * catgets/catgets.c (catopen): Don't use unbounded alloca.
12791         * catgets/open_catalog.c (__open_catalog): Likewise.
12792         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
12794 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
12796         [BZ #18787]
12797         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
12798         clobber registers.
12799         (atomic_compare_and_exchange_val_acq): Use register asms to assign
12800         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
12801         Cast return to __typeof (oldval).
12803 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
12805         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
12806         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
12807         and delete sys/syscall.h include.
12809 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
12811         [BZ #16517]
12812         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
12813         (tan): Force underflow exception for arguments with small absolute
12814         value.
12815         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
12816         (__kernel_tanf): Force underflow exception for arguments with
12817         small absolute value.
12818         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
12819         (__kernel_tanl): Force underflow exception for arguments with
12820         small absolute value.
12821         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
12822         (__kernel_tanl): Force underflow exception for arguments with
12823         small absolute value.
12824         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
12825         (__kernel_tanl): Force underflow exception for arguments with
12826         small absolute value.
12827         * math/auto-libm-test-in: Add more tests of tan.
12828         * math/auto-libm-test-out: Regenerated.
12830 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12832         Fix sysdeps/i386/fpu/s_scalbn.S build
12834         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
12836 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
12838         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12840 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12842         Fix gcrt0.o compilation
12844         When static-start-installed-name is different from
12845         start-installed-name, we must not use the shared objects.
12847         * csu/Makefile
12848         (extra-objs): Add gmon-start.o when building shared library and
12849         $(static-start-installed-name) is different from
12850         $(start-installed-name).
12851         $(objpfx)g$(static-start-installed-name): When building shared
12852         library and $(static-start-installed-name) is different from
12853         $(static-start-installed-name), revert to non-shared rule,
12854         i.e. using $(objpfx)% and gmon-start.o.
12856 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
12858         [BZ #16519]
12859         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
12860         (__ieee754_sinh): Force underflow exception for arguments with
12861         small absolute value.
12862         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
12863         (__ieee754_sinhf): Force underflow exception for arguments with
12864         small absolute value.
12865         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
12866         (__ieee754_sinhl): Force underflow exception for arguments with
12867         small absolute value.
12868         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
12869         (__ieee754_sinhl): Force underflow exception for arguments with
12870         small absolute value.
12871         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
12872         (__ieee754_sinhl): Force underflow exception for arguments with
12873         small absolute value.
12874         * math/auto-libm-test-in: Add more tests of sinh.
12875         * math/auto-libm-test-out: Regenerated.
12876         * sysdeps/i386/fpu/libm-test-ulps: Update.
12878 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12880         * libio/oldfileops.c: Include unistd.h.
12882 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
12884         * stdlib/isomac.c: Include ctype.h.
12886 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
12888         * dirent/tst-seekdir.c (main): Converted to ...
12889         (do_test): ... this.
12890         (TEST_FUNCTION): New macro.
12891         Include test-skeleton.c.
12892         * elf/tst-dlmodcount.c (main): Converted to ...
12893         (do_test): ... this.
12894         (TEST_FUNCTION): New macro.
12895         Include test-skeleton.c.
12896         * elf/tst-order-main.c (main): Converted to ...
12897         (do_test): ... this.
12898         (TEST_FUNCTION): New macro.
12899         Include test-skeleton.c.
12900         * elf/tst-pie2.c (main): Converted to ...
12901         (do_test): ... this.
12902         (TEST_FUNCTION): New macro.
12903         Include test-skeleton.c.
12904         * inet/tst-ether_aton.c (main): Converted to ...
12905         (do_test): ... this.
12906         (TEST_FUNCTION): New macro.
12907         Include test-skeleton.c.
12908         * misc/tst-mntent.c (main): Converted to ...
12909         (do_test): ... this.
12910         (TEST_FUNCTION): New macro.
12911         Include test-skeleton.c.
12912         * misc/tst-tsearch.c (main): Converted to ...
12913         (do_test): ... this.
12914         (TEST_FUNCTION): New macro.
12915         Include test-skeleton.c.
12916         * posix/tst-regexloc.c (main): Converted to ...
12917         (do_test): ... this.
12918         (TEST_FUNCTION): New macro.
12919         Include test-skeleton.c.
12920         * resolv/tst-aton.c (main): Converted to ...
12921         (do_test): ... this.
12922         (TEST_FUNCTION): New macro.
12923         Include test-skeleton.c.
12924         * stdio-common/test-fwrite.c (main): Converted to ...
12925         (do_test): ... this.
12926         (TEST_FUNCTION): New macro.
12927         Include test-skeleton.c.
12928         * stdio-common/tst-ferror.c (main): Converted to ...
12929         (do_test): ... this.
12930         (TEST_FUNCTION): New macro.
12931         Include test-skeleton.c.
12932         * stdio-common/tst-printf.c (main): Converted to ...
12933         (do_test): ... this.
12934         (TEST_FUNCTION): New macro.
12935         Include test-skeleton.c.
12936         * stdio-common/tst-printfsz.c (main): Converted to ...
12937         (do_test): ... this.
12938         (TEST_FUNCTION): New macro.
12939         Include test-skeleton.c.
12940         * stdlib/tst-strtod.c (main): Converted to ...
12941         (do_test): ... this.
12942         (TEST_FUNCTION): New macro.
12943         Include test-skeleton.c.
12944         * string/tst-strlen.c (main): Converted to ...
12945         (do_test): ... this.
12946         (TEST_FUNCTION): New macro.
12947         Include test-skeleton.c.
12948         * string/tst-svc.c (main): Converted to ...
12949         (do_test): ... this.
12950         (TEST_FUNCTION): New macro.
12951         Include test-skeleton.c.
12952         * time/tst-strptime.c (main): Converted to ...
12953         (do_test): ... this.
12954         (TEST_FUNCTION): New macro.
12955         Include test-skeleton.c.
12956         * timezone/tst-timezone.c (main): Converted to ...
12957         (do_test): ... this.
12958         (TEST_FUNCTION): New macro.
12959         Include test-skeleton.c.
12961 2015-08-05  Zack Weinberg  <zackw@panix.com>
12963         * misc/regexp.h: Update comments.
12965 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
12967         [BZ #18635]
12968         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
12969         before return label.
12971 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12973         [BZ #18661]
12974         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
12975         when calling __errno_location.
12976         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
12977         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
12979 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12981         [BZ #18661]
12982         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
12983         (__lll_timedwait_tid): Align stack to 16 bytes when calling
12984         __gettimeofday.
12986 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12988         [BZ #18661]
12989         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12990         (__start_context): Don't use pop to restore %rdi so that stack
12991         is aligned to 16 bytes when calling __setcontext.
12993 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12995         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
12996         only for libc.
12997         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12999 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13001         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
13002         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
13003         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
13005 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13007         * string/memccpy.c (memccpy):
13008         Improve performance by using memchr/memcpy/__mempcpy.
13010 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13012         * string/strncpy.c (strncpy):
13013         Improve performance by using __strnlen/memcpy.
13015 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13017         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13018         Optimize to avoid an unnecessary FPCR read.
13020 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13022         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
13023         Optimize to reduce FPCR/FPSR accesses.
13025 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13027         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
13028         dead->data[category] != NULL.
13030 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
13032         [BZ #18647]
13033         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
13034         and |x| close to 1, use absolute value of x when computing log.
13035         * math/auto-libm-test-in: Add more tests of pow.
13036         * math/auto-libm-test-out: Regenerated.
13038 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13040         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
13041         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
13042         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
13044 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
13046         [BZ #18525]
13047         * locales/km_KH: Remove timezone definition.
13048         * locales/lo_LA: Likewise.
13049         * locales/my_MM: Likewise.
13050         * locales/nan_TW@latin: Likewise.
13051         * locales/th_TH: Likewise.
13052         * locales/uk_UA: Likewise.
13054 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13056         [BZ #18265]
13057         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
13058         (wcsncat): Likewise.
13059         (wcscmp): Likewise.
13060         (wcsncmp): Likewise.
13062 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13064         * test-skeleton.c (usage): New function.
13065         (main): Call usage when opt is '?'.
13067 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13069         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
13070         before first use.
13072 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13074         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
13075         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
13076         in there too.
13078 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
13080         * version.h (RELEASE): Set to "development".
13081         (VERSION): Set to "2.22.90"
13083         * version.h (RELEASE): Set to "stable".
13084         (VERSION): Set to "2.22"
13085         * include/features.h (__GLIBC_MINOR__): Set to 22.
13087 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
13089         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
13090         Restructure macro to avoid "value computed is not used" warning.
13091         (atomic_compare_and_exchange_val_acq): Likewise.
13093 2015-08-04  Andreas Schwab  <schwab@suse.de>
13095         [BZ #18635]
13096         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
13097         ret.
13098         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
13100 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
13102         * po/pl.po: Updated translation.
13103         * po/uk.po: Likewise.
13104         * po/fi.po: Likewise.
13105         * po/ko.po: Likewise.
13106         * po/ru.po: Likewise.
13107         * po/vi.po: Likewise.
13109 2015-07-31  Zack Weinberg  <zackw@panix.com>
13111         [BZ #18681]
13112         * regexp.h: Add unconditional #warning stating that this header
13113         will be removed soon.  Revise banner comment to match.
13114         (compile): Consistently use ERROR instead of RETURN to report
13115         errors (partial fix for bz#18681).
13116         * regexp.c: Don't include regexp.h. Remove some unnecessary
13117         declarations.
13119 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
13121         * po/libc.pot: Regenerated.
13123 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13125         [BZ #18740]
13126         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
13127         float-vlen4-arch-ext-cflags): Removed.
13128         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
13129         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
13131 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13133         [BZ #14113]
13134         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
13135         aligned to __aligned__.
13136         (pthread_cond_t, pthread_rwlock_t): Likewise.
13138 2015-07-30  Torvald Riegel  <triegel@redhat.com>
13140         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
13142 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13144         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
13145         (struct sigaction): Change sa_flags from a long to an int, and add
13146         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
13148 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13150         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
13151         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
13152         sysdeps/generic/sysdep.h include.
13153         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
13154         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
13155         sysdeps/hppa/sysdep.h.
13156         (ENTRY, PSEUDO): Undefine before defining.
13158 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13160         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
13161         from scratch to use INTERNAL_SYSCALL.
13163 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
13165         [BZ #18078]
13166         * scripts/check-localplt.awk: Support alternate relocations.
13167         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
13168         sections.
13169         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
13170         malloc entries with + REL R_386_GLOB_DAT.
13171         * sysdeps/x86_64/localplt.data: New file.
13173 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
13175         [BZ #18731]
13176         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
13177         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13178         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13180 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13182         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
13184 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13186         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
13187         directly in terms of __sync_fetch_and_add and delete (int) cast.
13189 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13191         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
13192         the -D_ASM_IA64_CURRENT_H flag.
13194 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13196         [BZ #18641]
13197         * pwd/pwd.h (putpwent): Delete __nonnull markings.
13199 2015-07-27  Andreas Schwab  <schwab@suse.de>
13201         * conform/conformtest.pl (checknamespace): Filter out string
13202         literals while tokenizing.
13204 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13206         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13207         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
13208         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13210 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13212         * nptl/tst-join7mod.c: Add #include <string.h>.
13214 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13216         * sysdeps/nios2/libm-test-ulps: Update.
13218 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13220         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
13221         Fix order of arguments to the rt_sigprocmask syscall.
13222         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
13223         Likewise.
13225 2015-07-24  Roland McGrath  <roland@hack.frob.com>
13227         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
13229 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13231         [BZ #18457]
13232         * nptl/Makefile (tests): New test case tst-join7.
13233         (modules-names): New test case module tst-join7mod.
13234         * nptl/tst-join7.c: New file.
13235         * nptl/tst-join7mod.c: New file.
13236         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
13237         all translation units in libc.so, libpthread.so and rtld.
13239 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13243 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13245         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
13246         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13247         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13248         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13249         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13250         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13251         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13252         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13253         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13254         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13255         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13256         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13257         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
13258         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13259         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
13260         implementation.
13262 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13264         [BZ #17711]
13265         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13266         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
13267         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13268         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13269         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
13270         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13272 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13274         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
13275         instead of just saying load lock in the comments.
13277 2015-07-23  Roland McGrath  <roland@hack.frob.com>
13279         * sysdeps/unix/Subdirs: Moved ...
13280         * sysdeps/posix/Subdirs: ... here.
13281         * login/pty.h (struct termios, struct winsize): Add forward decls.
13282         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
13283         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
13284         * sysdeps/arm/nacl/libc.abilist: Updated.
13285         * sysdeps/nacl/libutil.abilist: New file.
13287         * bits/signum.h: Update comments to mention 1003.1-2013 too.
13288         (SIGWINCH): New macro.
13290         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
13291         * sysdeps/arm/nacl/libc.abilist: Add it.
13293 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13295         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
13297 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13299         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13300         Swap __glibc_reserved0 and sa_flags order.
13302 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13304         [BZ #18657]
13305         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
13306         are pending TLS destructor calls.
13307         * include/link.h (struct link_map): Add concurrency note for
13308         L_TLS_DTOR_COUNT.
13309         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13310         Don't touch the link map flag.  Atomically increment
13311         l_tls_dtor_count.
13312         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
13313         Avoid taking the load lock and don't touch the link map flag.
13314         * stdlib/tst-tls-atexit-nodelete.c: New test case.
13315         * stdlib/Makefile (tests): Use it.
13316         * stdlib/tst-tls-atexit.c (do_test): dlopen
13317         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
13318         to allow tst-tls-atexit-nodelete test case to use it.
13320 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13322         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
13323         to bits/types.h.
13324         (msgqnum_t): New typedef.
13325         (msglen_t): Likewise.
13326         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
13327         and msg_qbytes type to msglen_t.
13329 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13331         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
13332         pad0 to __glibc_reserved0.
13333         (struct stat64): Likewise.
13335 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13337         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13338         Change sa_flags from a long to an int and add __glibc_reserved0 before
13339         it for padding.
13341 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13343         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
13344         anonymous by deleting "siginfo" name.
13346 2015-07-21  Roland McGrath  <roland@hack.frob.com>
13348         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
13349         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
13350         rather than __nacl_irt_filename.
13351         * sysdeps/nacl/xstat.c (__xstat): Likewise.
13353         * NEWS: New item for arm-nacl port.
13354         * sysdeps/arm/nacl/libc.abilist: New file.
13355         * sysdeps/nacl/ld.abilist: New file.
13356         * sysdeps/nacl/libBrokenLocale.abilist: New file.
13357         * sysdeps/nacl/libanl.abilist: New file.
13358         * sysdeps/nacl/libcrypt.abilist: New file.
13359         * sysdeps/nacl/libdl.abilist: New file.
13360         * sysdeps/nacl/libm.abilist: New file.
13361         * sysdeps/nacl/libpthread.abilist: New file.
13362         * sysdeps/nacl/libresolv.abilist: New file.
13363         * sysdeps/nacl/librt.abilist: New file.
13365 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
13367         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
13368         __startcontext to initialize the new context.
13369         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
13370         up CFI directive to forbid further backtracing.
13372 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
13374         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
13375         reference.
13376         * charmaps/ANSI_X3.4-1968: Likewise.
13377         * charmaps/BS_4730: Likewise.
13378         * charmaps/BS_VIEWDATA: Likewise.
13379         * charmaps/CP1250: Likewise.
13380         * charmaps/CP1251: Likewise.
13381         * charmaps/CP1252: Likewise.
13382         * charmaps/CP1253: Likewise.
13383         * charmaps/CP1254: Likewise.
13384         * charmaps/CP1255: Likewise.
13385         * charmaps/CP1256: Likewise.
13386         * charmaps/CSN_369103: Likewise.
13387         * charmaps/EBCDIC-DK-NO: Likewise.
13388         * charmaps/GB_1988-80: Likewise.
13389         * charmaps/GREEK-CCITT: Likewise.
13390         * charmaps/GREEK7: Likewise.
13391         * charmaps/INIS-8: Likewise.
13392         * charmaps/ISIRI-3342: Likewise.
13393         * charmaps/ISO_2033-1983: Likewise.
13394         * charmaps/ISO_5427-EXT: Likewise.
13395         * locales/POSIX: Likewise.
13396         * locales/ar_SA: Likewise.
13397         * locales/be_BY: Likewise.
13398         * locales/be_BY@latin: Likewise.
13399         * locales/ca_ES: Likewise.
13400         * locales/cs_CZ: Likewise.
13401         * locales/da_DK: Likewise.
13402         * locales/de_BE: Likewise.
13403         * locales/de_CH: Likewise.
13404         * locales/de_LU: Likewise.
13405         * locales/en_AU: Likewise.
13406         * locales/en_BW: Likewise.
13407         * locales/en_CA: Likewise.
13408         * locales/en_DK: Likewise.
13409         * locales/en_GB: Likewise.
13410         * locales/en_IE: Likewise.
13411         * locales/en_NZ: Likewise.
13412         * locales/en_ZA: Likewise.
13413         * locales/en_ZW: Likewise.
13414         * locales/es_AR: Likewise.
13415         * locales/es_BO: Likewise.
13416         * locales/es_CL: Likewise.
13417         * locales/es_CO: Likewise.
13418         * locales/es_DO: Likewise.
13419         * locales/es_EC: Likewise.
13420         * locales/es_ES: Likewise.
13421         * locales/es_HN: Likewise.
13422         * locales/es_MX: Likewise.
13423         * locales/es_PA: Likewise.
13424         * locales/es_PE: Likewise.
13425         * locales/es_PY: Likewise.
13426         * locales/es_SV: Likewise.
13427         * locales/es_US: Likewise.
13428         * locales/es_UY: Likewise.
13429         * locales/es_VE: Likewise.
13430         * locales/et_EE: Likewise.
13431         * locales/fa_IR: Likewise.
13432         * locales/fo_FO: Likewise.
13433         * locales/fr_CA: Likewise.
13434         * locales/fr_CH: Likewise.
13435         * locales/gv_GB: Likewise.
13436         * locales/he_IL: Likewise.
13437         * locales/hr_HR: Likewise.
13438         * locales/id_ID: Likewise.
13439         * locales/is_IS: Likewise.
13440         * locales/it_CH: Likewise.
13441         * locales/iw_IL: Likewise.
13442         * locales/kl_GL: Likewise.
13443         * locales/ko_KR: Likewise.
13444         * locales/kw_GB: Likewise.
13445         * locales/lg_UG: Likewise.
13446         * locales/lt_LT: Likewise.
13447         * locales/lv_LV: Likewise.
13448         * locales/mi_NZ: Likewise.
13449         * locales/nhn_MX: Likewise.
13450         * locales/nl_BE: Likewise.
13451         * locales/pl_PL: Likewise.
13452         * locales/sk_SK: Likewise.
13453         * locales/sl_SI: Likewise.
13454         * locales/sv_FI: Likewise.
13455         * locales/tl_PH: Likewise.
13456         * locales/tr_TR: Likewise.
13457         * locales/vi_VN: Likewise.
13459 2015-07-21  Khem Raj  <raj.khem@gmail.com>
13461         [BZ #17475]
13462         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
13463         of tu_IN and bh_IN.
13465 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
13467         [BZ #18694]
13468         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
13469         bits/wordsize.h.
13470         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
13472 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13474         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
13475         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
13476         (spawn_thread): New function.
13477         (load): Rename to reg_dtor_and_close.  Move dlopen to...
13478         (do_test): ... here.  Use IS_LOADED to test for its
13479         availability.
13481 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
13483         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13485 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
13487         [BZ #18696]
13488         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
13489         si_addr_bnd.
13490         (si_lower): New.
13491         (si_upper): Likewise.
13493 2015-07-16  David S. Miller  <davem@davemloft.net>
13495         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
13497 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13499         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
13500         buffer.
13501         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
13502         fail output information.
13504 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13506         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
13507         and strstr-ppc64..
13508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13509         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
13510         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
13511         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
13512         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
13514 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13516         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13517         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13518         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13519         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13521 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13523         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13524         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
13525         rtld_hidden_proto.
13526         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
13528 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13530         * tst-nodelete-opened.c (do_test): Add comment to clarify how
13531         the test can fail.
13533         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
13535         [BZ #18676]
13536         * elf/tst-nodelete-opened.c: New test case.
13537         * elf/tst-nodelete-opened-lib.c: New test case module.
13538         * elf/Makefile (tests, modules-names): Use them.
13539         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
13540         early.
13542 2015-07-15  David S. Miller  <davem@davemloft.net>
13544         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
13545         futex-intenal.h
13546         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
13547         * sysdeps/sparc/sparc64/Makefile: Likewise.
13548         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13549         Remove space from macro define.
13550         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
13552 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
13554         [BZ #17475]
13555         * locale/iso-639.def: Update Bhili and Tulu language codes as
13556         per iso639-3.
13558 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
13560         * elf/tst-leaks1.c (main): Converted to ...
13561         (do_test): ... this.
13562         (TEST_FUNCTION): New macro.
13563         Include test-skeleton.c.
13564         * localedata/tst-langinfo.c (main): Converted to ...
13565         (do_test): ... this.
13566         (TEST_FUNCTION): New macro.
13567         Include test-skeleton.c.
13568         * math/test-fpucw.c (main): Converted to ...
13569         (do_test): ... this.
13570         (TEST_FUNCTION): New macro.
13571         Include test-skeleton.c.
13572         * math/test-tgmath.c (main): Converted to ...
13573         (do_test): ... this.
13574         (TEST_FUNCTION): New macro.
13575         Include test-skeleton.c.
13576         * math/test-tgmath2.c (main): Converted to ...
13577         (do_test): ... this.
13578         (TEST_FUNCTION): New macro.
13579         Include test-skeleton.c.
13580         * setjmp/tst-setjmp.c (main): Converted to ...
13581         (do_test): ... this.
13582         (TEST_FUNCTION): New macro.
13583         Include test-skeleton.c.
13584         * stdio-common/tst-sscanf.c (main): Converted to ...
13585         (do_test): ... this.
13586         (TEST_FUNCTION): New macro.
13587         Include test-skeleton.c.
13588         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
13589         (do_test): ... this.
13590         (TEST_FUNCTION): New macro.
13591         Include test-skeleton.c.
13593         * elf/tst-audit9.c (main): Converted to ...
13594         (do_test): ... this.
13595         (TEST_FUNCTION): New macro.
13596         Include test-skeleton.c.
13598 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
13600         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
13602 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13604         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
13605         New variable.
13607 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13609         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13611 2015-07-14  Roland McGrath  <roland@hack.frob.com>
13613         * sysdeps/generic/dl-fileid.h: New file.
13614         * sysdeps/posix/dl-fileid.h: New file.
13615         * sysdeps/nacl/dl-fileid.h: New file.
13616         * include/link.h: Include <dl-fileid.h>.
13617         (struct link_map): Replace l_dev and l_ino with l_file_id.
13618         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
13619         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
13620         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
13622 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13624         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
13626 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13628         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
13629         Add iff $CXX is set.
13630         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
13631         Likewise.
13632         (tst-nodelete-zmodiff): Likewise.
13633         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
13635 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13637         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
13639 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13641         * sysdeps/aarch64/fpu/math_private.h
13642         (define math_opt_barrier): Add AArch64 version.
13643         (math_force_eval): Likewise.
13645 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13647         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
13649 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13651         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
13652         %ld with %jd and cast to intmax_t.
13653         (do_test_length_zero): Likewise.
13655 2015-07-10  Roland McGrath  <roland@hack.frob.com>
13657         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
13659 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
13661         * sysdeps/tile/libm-test-ulps: Regenerated.
13663         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
13664         Comment out the whole function, not just its body.
13666 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13668         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
13669         locks.
13671         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
13673 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13675         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
13676         (sem_assume_only_signals_cause_futex_EINTR): Remove.
13678 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13680         * sysdeps/nptl/futex-internal.h: New file.
13681         * sysdeps/nacl/futex-internal.h: New file.
13682         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
13683         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
13684         error checking.
13685         (setxid_unmark_thread): Likewise.
13686         (__nptl_setxid): Likewise.
13687         (__wait_lookup_done): Likewise.
13688         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
13689         * nptl/nptl-init.c (sighandler_setxid): Likewise.
13690         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
13691         * nptl/pthread_once.c (clear_once_control): Likewise.
13692         (__pthread_once_slow): Likewise.
13693         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13694         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
13695         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
13696         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13697         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
13698         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
13699         Likewise.
13700         (__pthread_rwlock_rdlock): Likewise.
13701         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13702         Likewise.
13703         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13704         Likewise.
13705         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13706         Likewise.
13707         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
13708         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
13709         Likewise.
13710         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
13711         __ASSUME_PRIVATE_FUTEX check.
13712         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
13713         Check that shared futexes are supported.
13714         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
13715         wrappers with error checking.
13716         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
13717         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
13718         * nptl/pthread_barrierattr_setpshared.c
13719         (pthread_barrierattr_setpshared): Check that shared futexes are
13720         supported.
13721         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
13722         Likewise.
13723         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
13724         Likewise.
13725         * nptl/sem_init.c (futex_private_if_supported): Remove.
13726         (__new_sem_init): Adapt and check that shared futexes are supported.
13727         * nptl/sem_open.c (sem_open): Likewise.
13728         * nptl/sem_post.c (futex_wake): Remove.
13729         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
13730         (do_futex_wait): Use futex wrappers with error checking.
13731         * nptl/sem_wait.c: Include lowlevellock.h.
13732         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
13733         Use futex_supports_pshared.
13734         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
13735         Use futex wrappers with error checking.
13736         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
13737         Likewise.
13738         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
13739         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
13740         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
13741         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
13742         (futex_wake): Likewise.
13743         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
13744         (do_futex_wait): Use futex wrappers with error checking.
13745         (__new_sem_wait_slow): Update EINTR handling.
13746         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
13748 2015-07-09  Martin Sebor  <msebor@redhat.com>
13750         [BZ #18435]
13751         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13752         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
13753         * nptl/Makefile (test-xfail-tst-once5): Define.
13755 2015-07-09  Roland McGrath  <roland@hack.frob.com>
13757         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
13758         * elf/dl-minimal.c: For readability, reorder some definitions and
13759         introduce more page breaks.  Include <stdio.h>.
13760         (__libc_fatal): New function.
13762         * include/unistd.h: Add rtld_hidden_proto for _exit.
13763         * posix/_exit.c: Add rtld_hidden_def.
13764         * sysdeps/mach/hurd/_exit.c: Likewise.
13765         * sysdeps/nacl/_exit.c: Likewise.
13766         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
13767         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
13769 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
13771         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
13772         bndmov encoding with zero displacement.
13774 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13775             H.J. Lu  <hongjiu.lu@intel.com>
13777         [BZ #18134]
13778         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
13779         * sysdeps/i386/configure: Regenerated.
13780         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13781         (_dl_runtime_profile): Save and restore Intel MPX return bound
13782         registers when calling _dl_call_pltexit.  Add
13783         PRESERVE_BND_REGS_PREFIX before return.
13784         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
13785         (LRV_BND1_OFFSET): Likewise.
13786         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
13787         lrv_bnd1.
13788         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
13789         typo in bndmov encoding.
13790         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
13791         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
13792         branch instructions to preserve bounds.
13794 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13797         [GLIBC_2.22]: Add fmemopen.
13799 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13801         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
13802         returns an error, also try to use host port from __mach_host_self for
13803         the __vm_wire call.
13804         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
13806 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13808         [BZ #18400]
13809         [BZ #18648]
13810         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
13811         Fix pr_uid and pr_gid members.
13812         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
13813         definition to elf_greg_t.
13815 2015-07-08  Roland McGrath  <roland@hack.frob.com>
13817         [BZ #18383]
13818         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
13819         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
13820         * sysdeps/arm/configure: Regenerated.
13821         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
13822         (test-xfail-tst-tlsalign-static): Variable removed.
13824         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
13825         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
13826         rather than explicit 'ln -s'.
13828         * resolv/rpc/netdb.h: New file.
13829         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
13831 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13833         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
13834         length buffers.
13835         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13836         test-skeleton.c.
13838         [BZ #6544]
13839         [BZ #11216]
13840         [BZ #12836]
13841         [BZ #13151]
13842         [BZ #13152]
13843         [BZ #14292]
13844         * include/stdio.h (fmemopen): Remove hidden prototype.
13845         (__fmemopen): Add new hidden prototype.
13846         * libio/Makefile: Add oldfmemopen object.
13847         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
13848         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
13849         compliance.
13850         * libio/oldfmemopen.c: New file: old fmemopen implementation for
13851         symbol compatibility.
13852         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
13853         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
13854         fmemopen.
13855         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
13856         on append and read mode.
13857         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
13858         fmemopen.
13859         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
13860         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
13861         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
13862         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
13863         Likewise.
13864         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13865         [GLIBC_2.22]: Likewise.
13866         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
13867         Likewise.
13868         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
13869         Likewise.
13870         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13871         [GLIBC_2.22]: Likewise.
13872         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13873         [GLIBC_2.22]: Likewise.
13874         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13875         [GLIBC_2.22]: Likewise.
13876         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13877         [GLIBC_2.22]: Likewise.
13878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13879         [GLIBC_2.22]: Likewise.
13880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13881         [GLIBC_2.22]: Likewise.
13882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13883         [GLIBC_2.22]: Likewise.
13884         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
13885         Likewise.
13886         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
13887         Likewise.
13888         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
13889         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13890         [GLIBC_2.22]: Likewise.
13891         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13892         [GLIBC_2.22]: Likewise.
13893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13894         [GLIBC_2.22]: Likewise.
13895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13896         [GLIBC_2.22]: Likewise.
13897         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
13898         Likewise.
13899         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
13900         Likewise.
13901         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
13902         Likewise.
13903         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
13904         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
13906 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13908         [BZ #18643]
13909         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
13910         IPV6_PATHMTU, and IPV6_DONTFRAG.
13912 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
13914         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
13915         and _IO_UNBUFFERED.
13916         * libio/oldfileops.c: Likewise.
13917         * libio/wfileops.c: Likewise.
13919 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13921         * nscd/selinux.c: Delete selinux/flask.h include.
13923 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13925         [BZ #18641]
13926         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
13927         (putpwent): Likewise.
13928         (getpwnam): Likewise.
13929         (getpwent_r): Likewise.
13930         (getpwuid_r): Likewise.
13931         (getpwnam_r): Likewise.
13932         (fgetpwent_r): Likewise.
13934 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13936         [BZ #18557]
13937         * inet/rcmd.c (__validuser2_sa): Check user first to
13938         short-circuit host check.
13940 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
13941             Mikhail Ilin  <m.ilin@samsung.com>
13943         [BZ #17833]
13944         * elf/Makefile (tests): Add tst-nodelete.
13945         (modules-names): Add tst-nodelete-uniquemod.
13946         (tst-nodelete-uniquemod.so-no-z-defs): New.
13947         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
13948         (tst-nodelete-zmod.so-no-z-defs): Likewise.
13949         ($(objpfx)tst-nodelete): Likewise.
13950         ($(objpfx)tst-nodelete.out): Likewise.
13951         (LDFLAGS-tst-nodelete): Likewise.
13952         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
13953         * elf/dl-close.c (_dl_close_worker): Add a parameter to
13954         implement forced object deletion.
13955         (_dl_close): Pass false to _dl_close_worker.
13956         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
13957         * elf/tst-nodelete.cc: New file.
13958         * elf/tst-nodeletelib.cc: Likewise.
13959         * elf/tst-znodeletelib.cc: Likewise.
13960         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
13962 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13964         [BZ #18508]
13965         * stdlib/Makefile ($(objpfx)tst-makecontext3):
13966         Depend on $(libdl).
13967         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
13968         is not called infinitely times.
13969         (backtrace_helper): New function.
13970         (trace_arg): New struct.
13971         (st1): Enlarge stack size.
13972         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13973         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
13974         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13975         Likewise.
13977 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13979         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13981 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13983         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
13984         Include sys/types.h instead of bits/types.h.
13985         Remove inclusion of bits/wordsize.h.
13987 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13989         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
13990         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
13991         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
13992         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
13993         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
13994         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
13996 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13998         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
13999         link-defines.sym.
14000         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
14001         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
14002         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
14003         and LR_SIZE.
14004         * sysdeps/i386/link-defines.sym: New file.
14006 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14008         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
14009         (modules-names): Add tst-auditmod3a tst-auditmod3b.
14010         ($(objpfx)tst-audit3): New rule.
14011         ($(objpfx)tst-audit3.out): Likewise.
14012         * sysdeps/i386/tst-audit3.c: New file.
14013         * sysdeps/i386/tst-audit3.h: Likewise.
14014         * sysdeps/i386/tst-auditmod3a.c: Likewise.
14015         * sysdeps/i386/tst-auditmod3b.c: Likewise.
14017 2015-07-07  Torvald Riegel  <triegel@redhat.com>
14019         [BZ #18633]
14020         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
14021         pointer in C code.
14022         (__strcat_c): Likewise.
14023         (__strcat_g): Likewise.
14025 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
14027         [BZ #18592]
14028         * misc/sbrk.c: Set errno to ENOMEM on overflow.
14030 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14032         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
14033         New function.  (__ieee754_sqrtf): New function.
14034         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
14035         New function.
14036         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
14037         New function.
14039 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14041         * sysdeps/ieee754/support.c: Remove unused file.
14043 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14045         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
14046         registers instead of d ones so the layout is kernel abi compatible.
14047         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
14048         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
14049         Likewise.
14051 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14053         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14055 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14057         [BZ #18619]
14058         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
14059         and return argument in case of subnormal argument.
14061 2015-07-01  Martin Sebor  <msebor@redhat.com>
14063         [BZ #18435]
14064         * nptl/Makefile: Add tst-once5.cc.
14065         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14066         Remove macro redefinitions.
14067         * nptl/tst-once5.cc: New test.
14069 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14071         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14073         * sysdeps/arm/libm-test-ulps: Regenerated.
14075         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14076         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14078 2015-06-30  Torvald Riegel  <triegel@redhat.com>
14080         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
14081         lll_lock_wait_private and lll_futex_wake probes.
14083         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14084         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
14085         Likewise.
14086         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
14087         atomic_spin_nop.
14088         * sysdeps/x86_64/bits/atomic.h: Likewise.
14089         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
14090         to atomic_spin_nop and move ...
14091         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14092         ... here and ...
14093         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
14094         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
14095         atomic_spin_nop instead of BUSY_WAIT_NOP.
14096         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
14097         Likewise.
14098         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
14099         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14100         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
14101         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
14102         instead of atomic_delay.
14104 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
14106         [BZ #18613]
14107         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
14108         X_ADJ not X when adjusting exponent.
14109         (__ieee754_gamma_r): Do intermediate computations in
14110         round-to-nearest then adjust overflowing and underflowing results
14111         as needed.
14112         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
14113         of X_ADJ not X when adjusting exponent.
14114         (__ieee754_gammaf_r): Do intermediate computations in
14115         round-to-nearest then adjust overflowing and underflowing results
14116         as needed.
14117         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
14118         log of X_ADJ not X when adjusting exponent.
14119         (__ieee754_gammal_r): Do intermediate computations in
14120         round-to-nearest then adjust overflowing and underflowing results
14121         as needed.  Use 1.0L not 1.0f as numerator of division.
14122         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
14123         log of X_ADJ not X when adjusting exponent.
14124         (__ieee754_gammal_r): Do intermediate computations in
14125         round-to-nearest then adjust overflowing and underflowing results
14126         as needed.  Use 1.0L not 1.0f as numerator of division.
14127         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
14128         of X_ADJ not X when adjusting exponent.
14129         (__ieee754_gammal_r): Do intermediate computations in
14130         round-to-nearest then adjust overflowing and underflowing results
14131         as needed.  Use 1.0L not 1.0f as numerator of division.
14132         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
14133         to auto-libm-test-in.
14134         (tgamma_test): Use ALL_RM_TEST.
14135         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
14136         tests of tgamma with spurious-overflow.
14137         * math/auto-libm-test-out: Regenerated.
14138         * math/gen-libm-have-vector-test.sh: Do not check for START.
14139         * sysdeps/i386/fpu/libm-test-ulps: Update.
14140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14142         [BZ #18612]
14143         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
14144         arguments, just return 0.5 times the argument, with underflow
14145         forced as needed.
14146         * math/auto-libm-test-in: Add more tests of j1.
14147         * math/auto-libm-test-out: Regenerated.
14149         [BZ #16559]
14150         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
14151         (__ieee754_j1): Force underflow exception for small results.
14152         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14153         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
14154         (__ieee754_j1f): Force underflow exception for small results.
14155         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14156         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14157         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14158         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
14159         (__ieee754_j1l): Force underflow exception for small results.
14160         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14161         * math/auto-libm-test-in: Add more tests of j1 and jn.
14162         * math/auto-libm-test-out: Regenerated.
14164         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
14165         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
14166         (PF_MPLS): Likewise.
14167         (AF_IB): Likewise.
14168         (AF_MPLS): Likewise.
14169         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
14170         value and macro.
14171         (MS_RMT_MASK): Include MS_LAZYTIME.
14173 2015-06-26  Mel Gorman  <mgorman@suse.de>
14175         [BZ #18502]
14176         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
14177         already minimal.
14179 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
14181         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
14182         (DT_MIPS_NUM): Update.
14183         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
14184         DT_MIPS_RLD_MAP_REL.
14186 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
14188         [BZ #16559]
14189         [BZ #18602]
14190         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
14191         round-to-nearest internally then recompute results that
14192         underflowed to zero in the original rounding mode.
14193         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14194         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14195         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14196         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14197         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
14198         * sysdeps/i386/fpu/libm-test-ulps: Update.
14199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14201 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14203         * NEWS: Fixed description of link with vector math library.
14205 2015-06-25  Andreas Schwab  <schwab@suse.de>
14207         [BZ #18549]
14208         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
14209         * libio/test-fmemopen.c (do_test): Add test for it.
14211 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
14213         [BZ #17841]
14214         * Makeconfig (no-pie-ldflag): New.
14215         (+link): Set to $(+link-pie) if default to PIE.
14216         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
14217         * config.make.in (build-pie-default): New.
14218         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
14219         is default.  AC_SUBST.
14220         * configure: Regenerated.
14221         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
14223 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14225         * nptl/descr.h (struct pthread): Change type of field setxid_futex
14226         to 'unsigned int'.
14228         * resolv/gai_misc.h (struct waitlist): Change type of field
14229         counterp to 'volatile unsigned int *'.
14230         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
14231         FUTEXADDR and OLDVAL.
14232         * resolv/getaddrinfo_a.c (getaddrinfo_a):
14233         Give local variable TOTAL type 'volatile unsigned int'.
14234         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14235         * resolv/gai_suspend.c (gai_suspend):
14236         Give local variable CNTR type 'unsigned int'.
14238         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
14239         counterp to 'volatile unsigned int *'.
14240         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
14241         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
14242         (aio_suspend): Give local variable CNTR type 'unsigned int'.
14243         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
14244         Give local variable TOTAL type 'volatile unsigned int'.
14245         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14247 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14249         [BZ #18383]
14250         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
14251         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
14252         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
14253         comment for i386/x86-64.
14254         (test-xfail-tst-tlsalign-extern-static): Removed.
14256 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14258         * math/test-double.h: New file.
14259         * math/test-float.h: Likewise.
14260         * math/test-ldouble.h: Likewise.
14261         * math/test-math-inline.h: Likewise.
14262         * math/test-math-no-inline.h: Likewise.
14263         * math/test-math-scalar.h: Likewise.
14264         * math/test-math-vector.h: Likewise.
14265         * math/test-vec-loop.h: Remove file.  Contents moved into
14266         test-math-vector.h.
14267         * math/libm-test.inc (MATHCONST): Do not document macro.
14268         * math/test-double.c: Include test-double.h, test-math-no-inline.h
14269         and test-math-scalar.h.
14270         (FUNC): Remove macro.
14271         (FUNC_TEST): Likewise.
14272         (FLOAT): Likewise.
14273         (MATHCONST): Likewise.
14274         (PRINTF_EXPR): Likewise.
14275         (PRINTF_XEXPR): Likewise.
14276         (PRINTF_NEXPR): Likewise.
14277         (TEST_DOUBLE): Likewise.
14278         (TEST_MATHVEC): Likewise.
14279         (__NO_MATH_INLINES): Likewise.
14280         * math/test-float.c: Include test-float.h, test-math-no-inline.h
14281         and test-math-scalar.h.
14282         (FUNC): Remove macro.
14283         (FUNC_TEST): Likewise.
14284         (FLOAT): Likewise.
14285         (MATHCONST): Likewise.
14286         (PRINTF_EXPR): Likewise.
14287         (PRINTF_XEXPR): Likewise.
14288         (PRINTF_NEXPR): Likewise.
14289         (TEST_FLOAT): Likewise.
14290         (TEST_MATHVEC): Likewise.
14291         (__NO_MATH_INLINES): Likewise.
14292         * math/test-idouble.c: Include test-double.h, test-math-inline.h
14293         and test-math-scalar.h.
14294         (FUNC): Remove macro.
14295         (FUNC_TEST): Likewise.
14296         (FLOAT): Likewise.
14297         (MATHCONST): Likewise.
14298         (PRINTF_EXPR): Likewise.
14299         (PRINTF_XEXPR): Likewise.
14300         (PRINTF_NEXPR): Likewise.
14301         (TEST_DOUBLE): Likewise.
14302         (TEST_MATHVEC): Likewise.
14303         (TEST_INLINE): Likewise.
14304         (__NO_MATH_INLINES): Likewise.
14305         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
14306         test-math-scalar.h.
14307         (FUNC): Remove macro.
14308         (FUNC_TEST): Likewise.
14309         (FLOAT): Likewise.
14310         (MATHCONST): Likewise.
14311         (PRINTF_EXPR): Likewise.
14312         (PRINTF_XEXPR): Likewise.
14313         (PRINTF_NEXPR): Likewise.
14314         (TEST_FLOAT): Likewise.
14315         (TEST_MATHVEC): Likewise.
14316         (TEST_INLINE): Likewise.
14317         (__NO_MATH_INLINES): Likewise.
14318         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
14319         and test-math-scalar.h.
14320         (FUNC): Remove macro.
14321         (FUNC_TEST): Likewise.
14322         (FLOAT): Likewise.
14323         (MATHCONST): Likewise.
14324         (PRINTF_EXPR): Likewise.
14325         (PRINTF_XEXPR): Likewise.
14326         (PRINTF_NEXPR): Likewise.
14327         (TEST_LDOUBLE): Likewise.
14328         (TEST_MATHVEC): Likewise.
14329         (TEST_INLINE): Likewise.
14330         (__NO_MATH_INLINES): Likewise.
14331         * math/test-ldouble.c: Include test-ldouble.h,
14332         test-math-no-inline.h and test-math-scalar.h.
14333         (FUNC): Remove macro.
14334         (FUNC_TEST): Likewise.
14335         (FLOAT): Likewise.
14336         (MATHCONST): Likewise.
14337         (PRINTF_EXPR): Likewise.
14338         (PRINTF_XEXPR): Likewise.
14339         (PRINTF_NEXPR): Likewise.
14340         (TEST_LDOUBLE): Likewise.
14341         (TEST_MATHVEC): Likewise.
14342         (__NO_MATH_INLINES): Likewise.
14343         * math/test-double-vlen2.h: Include test-double.h,
14344         test-math-no-inline.h and test-math-vector.h.
14345         (FLOAT): Remove macro.
14346         (FUNC): Likewise.
14347         (MATHCONST): Likewise.
14348         (PRINTF_EXPR): Likewise.
14349         (PRINTF_XEXPR): Likewise.
14350         (PRINTF_NEXPR): Likewise.
14351         (TEST_DOUBLE): Likewise.
14352         (TEST_MATHVEC): Likewise.
14353         (__NO_MATH_INLINES): Likewise.
14354         (CNCT): Likewise.
14355         (CONCAT): Likewise.
14356         (WRAPPER_NAME): Likewise.
14357         (WRAPPER_DECL): Likewise.
14358         (WRAPPER_DECL_ff): Likewise.
14359         (WRAPPER_DECL_fFF): Likewise.
14360         (VECTOR_WRAPPER): Likewise.
14361         (VECTOR_WRAPPER_ff): Likewise.
14362         (VECTOR_WRAPPER_fFF): Likewise.
14363         (VEC_LEN): New macro.
14364         * math/test-double-vlen4.h: Include test-double.h,
14365         test-math-no-inline.h and test-math-vector.h.
14366         (FLOAT): Remove macro.
14367         (FUNC): Likewise.
14368         (MATHCONST): Likewise.
14369         (PRINTF_EXPR): Likewise.
14370         (PRINTF_XEXPR): Likewise.
14371         (PRINTF_NEXPR): Likewise.
14372         (TEST_DOUBLE): Likewise.
14373         (TEST_MATHVEC): Likewise.
14374         (__NO_MATH_INLINES): Likewise.
14375         (CNCT): Likewise.
14376         (CONCAT): Likewise.
14377         (WRAPPER_NAME): Likewise.
14378         (WRAPPER_DECL): Likewise.
14379         (WRAPPER_DECL_ff): Likewise.
14380         (WRAPPER_DECL_fFF): Likewise.
14381         (VECTOR_WRAPPER): Likewise.
14382         (VECTOR_WRAPPER_ff): Likewise.
14383         (VECTOR_WRAPPER_fFF): Likewise.
14384         (VEC_LEN): New macro.
14385         * math/test-double-vlen8.h: Include test-double.h,
14386         test-math-no-inline.h and test-math-vector.h.
14387         (FLOAT): Remove macro.
14388         (FUNC): Likewise.
14389         (MATHCONST): Likewise.
14390         (PRINTF_EXPR): Likewise.
14391         (PRINTF_XEXPR): Likewise.
14392         (PRINTF_NEXPR): Likewise.
14393         (TEST_DOUBLE): Likewise.
14394         (TEST_MATHVEC): Likewise.
14395         (__NO_MATH_INLINES): Likewise.
14396         (CNCT): Likewise.
14397         (CONCAT): Likewise.
14398         (WRAPPER_NAME): Likewise.
14399         (WRAPPER_DECL): Likewise.
14400         (WRAPPER_DECL_ff): Likewise.
14401         (WRAPPER_DECL_fFF): Likewise.
14402         (VECTOR_WRAPPER): Likewise.
14403         (VECTOR_WRAPPER_ff): Likewise.
14404         (VECTOR_WRAPPER_fFF): Likewise.
14405         (VEC_LEN): New macro.
14406         * math/test-float-vlen4.h: Include test-float.h,
14407         test-math-no-inline.h and test-math-vector.h.
14408         (FLOAT): Remove macro.
14409         (FUNC): Likewise.
14410         (MATHCONST): Likewise.
14411         (PRINTF_EXPR): Likewise.
14412         (PRINTF_XEXPR): Likewise.
14413         (PRINTF_NEXPR): Likewise.
14414         (TEST_FLOAT): Likewise.
14415         (TEST_MATHVEC): Likewise.
14416         (__NO_MATH_INLINES): Likewise.
14417         (CNCT): Likewise.
14418         (CONCAT): Likewise.
14419         (WRAPPER_NAME): Likewise.
14420         (WRAPPER_DECL): Likewise.
14421         (WRAPPER_DECL_ff): Likewise.
14422         (WRAPPER_DECL_fFF): Likewise.
14423         (VECTOR_WRAPPER): Likewise.
14424         (VECTOR_WRAPPER_ff): Likewise.
14425         (VECTOR_WRAPPER_fFF): Likewise.
14426         (VEC_LEN): New macro.
14427         * math/test-float-vlen8.h: Include test-float.h,
14428         test-math-no-inline.h and test-math-vector.h.
14429         (FLOAT): Remove macro.
14430         (FUNC): Likewise.
14431         (MATHCONST): Likewise.
14432         (PRINTF_EXPR): Likewise.
14433         (PRINTF_XEXPR): Likewise.
14434         (PRINTF_NEXPR): Likewise.
14435         (TEST_FLOAT): Likewise.
14436         (TEST_MATHVEC): Likewise.
14437         (__NO_MATH_INLINES): Likewise.
14438         (CNCT): Likewise.
14439         (CONCAT): Likewise.
14440         (WRAPPER_NAME): Likewise.
14441         (WRAPPER_DECL): Likewise.
14442         (WRAPPER_DECL_ff): Likewise.
14443         (WRAPPER_DECL_fFF): Likewise.
14444         (VECTOR_WRAPPER): Likewise.
14445         (VECTOR_WRAPPER_ff): Likewise.
14446         (VECTOR_WRAPPER_fFF): Likewise.
14447         (VEC_LEN): New macro.
14448         * math/test-float-vlen16.h: Include test-float.h,
14449         test-math-no-inline.h and test-math-vector.h.
14450         (FLOAT): Remove macro.
14451         (FUNC): Likewise.
14452         (MATHCONST): Likewise.
14453         (PRINTF_EXPR): Likewise.
14454         (PRINTF_XEXPR): Likewise.
14455         (PRINTF_NEXPR): Likewise.
14456         (TEST_FLOAT): Likewise.
14457         (TEST_MATHVEC): Likewise.
14458         (__NO_MATH_INLINES): Likewise.
14459         (CNCT): Likewise.
14460         (CONCAT): Likewise.
14461         (WRAPPER_NAME): Likewise.
14462         (WRAPPER_DECL): Likewise.
14463         (WRAPPER_DECL_ff): Likewise.
14464         (WRAPPER_DECL_fFF): Likewise.
14465         (VECTOR_WRAPPER): Likewise.
14466         (VECTOR_WRAPPER_ff): Likewise.
14467         (VECTOR_WRAPPER_fFF): Likewise.
14468         (VEC_LEN): New macro.
14469         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
14470         test-vec-loop.h.
14471         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14472         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14473         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14474         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14475         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14476         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14477         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14479 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14481         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
14482         (__getlogin_r): ... this.
14484 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14486         [BZ #18594]
14487         * math/s_ccosh.c (__ccosh): Compare with least normal value
14488         instead of comparing class with FP_SUBNORMAL.
14489         * math/s_ccoshf.c (__ccoshf): Likewise.
14490         * math/s_ccoshl.c (__ccoshl): Likewise.
14491         * math/s_cexp.c (__cexp): Likewise.
14492         * math/s_cexpf.c (__cexpf): Likewise.
14493         * math/s_cexpl.c (__cexpl): Likewise.
14494         * math/s_csin.c (__csin): Likewise.
14495         * math/s_csinf.c (__csinf): Likewise.
14496         * math/s_csinh.c (__csinh): Likewise.
14497         * math/s_csinhf.c (__csinhf): Likewise.
14498         * math/s_csinhl.c (__csinhl): Likewise.
14499         * math/s_csinl.c (__csinl): Likewise.
14500         * math/s_ctan.c (__ctan): Likewise.
14501         * math/s_ctanf.c (__ctanf): Likewise.
14502         * math/s_ctanh.c (__ctanh): Likewise.
14503         * math/s_ctanhf.c (__ctanhf): Likewise.
14504         * math/s_ctanhl.c (__ctanhl): Likewise.
14505         * math/s_ctanl.c (__ctanl): Likewise.
14506         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
14507         csin, csinh, ctan and ctanh.
14508         * math/auto-libm-test-out: Regenerated.
14509         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
14510         * sysdeps/i386/fpu/libm-test-ulps: Update.
14511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14513 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14515         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
14516         return value is wrong, print the expected value too.
14518 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14520         [BZ #18585]
14521         * elf/readlib.c (is_gdb_python_file): New.
14522         (process_file): Don't issue errors on filenames with -gdb.py
14523         suffix.
14525 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14527         * math/auto-libm-test-in: Add more tests of csin and csinh.
14528         * math/auto-libm-test-out: Regenerated.
14529         * math/libm-test.inc (csin_test_data): Remove tests moved to
14530         auto-libm-test-in.
14531         (csinh_test_data): Likewise.
14533         [BZ #18593]
14534         * math/s_csin.c (__csin): Negate before rather than after possibly
14535         overflowing multiplication.
14536         * math/s_csinf.c (__csinf): Likewise.
14537         * math/s_csinh.c (__csinh): Likewise.
14538         * math/s_csinhf.c (__csinhf): Likewise.
14539         * math/s_csinhl.c (__csinhl): Likewise.
14540         * math/s_csinl.c (__csinl): Likewise.
14541         * math/auto-libm-test-in: Add some tests of csin and csinh.
14542         * math/auto-libm-test-out: Regenerated.
14543         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
14544         (csinh_test_data): Likewise.
14545         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14547         [BZ #18586]
14548         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
14549         underflow exception for small results.
14551 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14553         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14554         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
14555         variable and included header.
14556         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
14557         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
14558         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
14559         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
14560         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
14561         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
14562         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
14563         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
14564         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
14565         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
14566         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
14567         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
14568         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
14569         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
14570         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
14571         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
14573 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14575         [BZ #16526]
14576         [BZ #16538]
14577         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
14578         (__sin): Force underflow exception for arguments with small
14579         absolute value.
14580         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
14581         (__kernel_sinf): Force underflow exception for arguments with
14582         small absolute value.
14583         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
14584         (__kernel_sincosl): Force underflow exception for arguments with
14585         small absolute value.
14586         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
14587         (__kernel_sinl): Force underflow exception for arguments with
14588         small absolute value.
14589         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
14590         (__kernel_sincosl): Force underflow exception for arguments with
14591         small absolute value.
14592         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
14593         (__kernel_sinl): Force underflow exception for arguments with
14594         small absolute value.
14595         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
14596         (__kernel_sinl): Force underflow exception for arguments with
14597         small absolute value.
14598         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
14599         (__kernel_sinf): Force underflow exception for arguments with
14600         small absolute value.
14601         * math/auto-libm-test-in: Add more tests of sin and sincos.
14602         * math/auto-libm-test-out: Regenerated.
14604         [BZ #18245]
14605         [BZ #18583]
14606         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
14607         (__kernel_standard_l): Use feholdexcept and fesetenv around
14608         conversion to double instead of special-casing overflow and
14609         underflow.
14610         * math/libm-test.inc (fmod_test_data): Add more tests.
14611         (remainder_test_data): Likewise.
14612         (sqrt_test_data): Likewise.
14614 2015-06-23  Torvald Riegel  <triegel@redhat.com>
14616         [BZ #17403]
14617         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
14618         atomic_read_barrier, atomic_write_barrier): Define.
14619         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
14620         atomic_read_barrier, atomic_write_barrier): Define.
14622 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14624         * math/Makefile [$(PERL) != no]
14625         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
14626         dependency on libm-test.stmp below the inclusion of Rules.
14628 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
14630         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14631         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
14632         and included header.
14633         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
14634         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
14635         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
14636         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
14637         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
14638         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
14639         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
14640         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
14641         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
14642         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
14643         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
14644         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
14645         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
14646         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
14647         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
14648         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
14649         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
14650         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
14651         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
14653 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14655         [BZ #18371]
14656         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
14657         intermediate but not final result might underflow.
14658         * math/s_csqrtf.c (__csqrtf): Likewise.
14659         * math/s_csqrtl.c (__csqrtl): Likewise.
14660         * math/auto-libm-test-in: Add more tests of csqrt.
14661         * math/auto-libm-test-out: Regenerated.
14662         * sysdeps/i386/fpu/libm-test-ulps: Update.
14664         [BZ #18219]
14665         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
14666         threshold on absolute value of exponent for which scaling is used.
14667         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14668         * math/auto-libm-test-in: Add more tests of exp2.
14669         * math/auto-libm-test-out: Regenerated.
14671 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
14673         [BZ #17977]
14674         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
14675         when initializing interface list, based on the bug analysis
14676         and the patch proposed by Eric Newton.
14677         * resolv/tst-res_hconf_reorder.c: New test.
14678         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
14679         tst-res_hconf_reorder.
14680         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
14681         and $(shared-thread-library).
14682         (tst-res_hconf_reorder-ENV): New variable.
14684         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
14685         in comment.
14687 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
14689         [BZ #16353]
14690         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
14691         (__expm1): Force underflow exception for arguments with small
14692         absolute value.
14693         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
14694         (__expm1f): Force underflow exception for arguments with small
14695         absolute value.
14696         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
14697         (__expm1): Force underflow exception for arguments with small
14698         absolute value.
14699         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
14700         (__expm1f): Force underflow exception for arguments with small
14701         absolute value.
14702         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14703         Check for small arguments before calling __expm1.
14704         * math/auto-libm-test-in: Do not mark underflow exceptions as
14705         possibly missing for bug 16353.
14706         * math/auto-libm-test-out: Regenerated.
14708 2015-06-22  Andreas Schwab  <schwab@suse.de>
14710         [BZ #18513]
14711         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
14712         PTR queries.
14714 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
14716         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
14718         * string/strcoll_l.c: Remove unused struct element idxnow.
14720 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
14722         [BZ #18569]
14723         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
14724         underflow and return argument in case of subnormal argument.
14725         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14726         Likewise.
14727         * math/auto-libm-test-in: Add more tests of expm1.
14728         * math/auto-libm-test-out: Regenerated.
14730         [BZ #16361]
14731         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14732         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14733         tiny results.
14734         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14735         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14736         tiny results.
14737         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
14738         mark underflow exceptions as possibly missing for bug 16361.
14739         * math/auto-libm-test-out: Regenerated.
14741 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
14743         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
14744         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
14745         Remove variable.
14746         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14747         (test-xfail-XOPEN2K8/utmpx.h/conform).
14749         * conform/conformtest.pl ($xerrors): New variable.
14750         (note_error): New function.
14751         (compiletest): New argument $xfail.  Use not_error.
14752         (runtest): Likewise.
14753         (top level): Handle xfail- lines.  Update calls to compiletest and
14754         runtest.  Handle xfail- and optional- in headers listed with
14755         allow-header.
14756         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
14757         (O_EXEC): Likewise.
14758         (O_SEARCH): Likewise.
14759         * conform/data/stropts.h-data (ioctl): Likewise.
14760         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
14761         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
14762         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
14763         (msghdr.msg_controllen): Likewise.
14764         (cmsghdr.cmsg_len): Likewise.
14765         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
14766         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
14767         variable.
14768         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14769         (test-xfail-XPG4/stropts.h/conform): Likewise.
14770         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14771         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14772         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14773         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14774         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14775         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14776         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14777         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14778         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14779         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14780         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14781         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14782         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14783         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14784         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14785         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14786         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14787         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14788         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14790 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14792         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
14793         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
14794         definitions for proper unfolding of __MATHDECL_VEC.
14796 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14798         * benchtests/bench-strcoll.c:
14799         Include string.h.
14800         (main): Remove unused variable res.
14802 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14804         * timezone/Makefile (%/UTC %/Universal):
14805         Generate test-result files for UTC and Universal.
14807 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14809         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14811 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
14813         [BZ #16350]
14814         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
14815         for arguments with small absolute value.
14816         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
14817         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
14818         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
14819         (__asinh): Force underflow exception for arguments with small
14820         absolute value.
14821         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
14822         (__asinhf): Force underflow exception for arguments with small
14823         absolute value.
14824         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
14825         (__asinhl): Force underflow exception for arguments with small
14826         absolute value.
14827         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
14828         (__asinhl): Force underflow exception for arguments with small
14829         absolute value.
14830         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
14831         (__asinhl): Force underflow exception for arguments with small
14832         absolute value.
14833         * math/auto-libm-test-in: Do not mark underflow exceptions as
14834         possibly missing for bug 16350.
14835         * math/auto-libm-test-out: Regenerated.
14837         * include/bits/ipc.h: Remove file.
14838         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
14839         variable.
14840         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14841         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14842         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14843         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14844         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14845         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14846         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14847         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14848         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14850         * math/auto-libm-test-in: Remove spurious underflow allowance for
14851         tests of cexp.
14852         * math/auto-libm-test-out: Regenerated.
14854         [BZ #18558]
14855         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
14856         unconditional definition.
14857         (MCAST_BLOCK_SOURCE): Likewise.
14858         (MCAST_UNBLOCK_SOURCE): Likewise.
14859         (MCAST_LEAVE_GROUP): Likewise.
14860         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14861         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14862         (MCAST_MSFILTER): Likewise.
14863         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
14864         Remove variable.
14865         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14866         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14867         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14868         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14869         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14871 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
14873         * NEWS: Mention addition of x86_64 vector sincosf.
14874         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
14875         * math/test-float-vlen4.h: Likewise.
14876         * math/test-float-vlen8.h: Likewise.
14877         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14878         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
14879         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14880         * sysdeps/x86_64/fpu/Versions: New versions added.
14881         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14882         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14883         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14884         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
14885         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14886         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
14887         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14888         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
14889         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14890         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
14891         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
14892         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
14893         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
14894         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
14895         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
14896         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
14897         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
14898         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14899         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14900         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14901         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14902         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14903         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14904         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14906         * NEWS: Mention addition of x86_64 vector sincos.
14907         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
14908         * math/math.h (__MATHDECL_VEC): New macro.
14909         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
14910         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
14911         declaration under condition.
14912         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
14913         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
14914         TEST_VEC_LOOP change.
14915         * math/test-double-vlen4.h: Likewise.
14916         * math/test-double-vlen8.h: Likewise.
14917         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
14918         * math/test-float-vlen4.h: Likewise.
14919         * math/test-float-vlen8.h: Likewise.
14920         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14921         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
14922         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14923         * sysdeps/x86_64/fpu/Versions: New versions added.
14924         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14925         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14926         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14927         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
14928         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
14929         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
14930         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
14931         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
14932         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
14933         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
14934         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
14935         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
14936         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
14937         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
14938         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
14939         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
14940         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
14941         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14942         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14943         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14944         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14945         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14946         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14947         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14949         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14950         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14951         redirections for powf.
14952         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14953         * sysdeps/x86_64/fpu/Versions: New versions added.
14954         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14955         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14956         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14957         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
14958         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
14959         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
14960         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
14961         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
14962         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
14963         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
14964         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
14965         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
14966         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
14967         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
14968         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
14969         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
14970         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
14971         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14972         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14973         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14974         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14975         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14976         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14977         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14978         * math/test-float-vlen16.h: Fixed 2 argument macro.
14979         * math/test-float-vlen4.h: Likewise.
14980         * math/test-float-vlen8.h: Likewise.
14981         * NEWS: Mention addition of x86_64 vector powf.
14983 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
14985         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14986         and redefine.
14987         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14988         and redefine.
14989         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
14990         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14991         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14993         [BZ #18553]
14994         * resource/getpriority.c (getpriority): Rename to __getpriority
14995         and define as weak alias of __getpriority.
14996         * resource/setpriority.c (setpriority): Rename to __setpriority
14997         and define as weak alias of __setpriority.
14998         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
14999         __getpriority and define as weak alias of __getpriority.
15000         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
15001         __setpriority and define as weak alias of __setpriority.
15002         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
15003         strong name.
15004         (setpriority): Use __setpriority as strong name.
15005         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
15006         __getpriority and define as weak alias of __getpriority.
15007         * include/sys/resource.h (__getpriority): Declare.  Use
15008         libc_hidden_proto.
15009         (__setpriority): Likewise.
15010         (getpriority): Don't use libc_hidden_proto.
15011         (setpriority): Likewise.
15012         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
15013         getpriority.  Call __setpriority instead of setpriority.
15014         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
15015         Remove variable.
15017         [BZ #18547]
15018         * misc/getttyent.c (getttynam): Rename to __getttynam and define
15019         as weak alias of __getttynam.  Use prototype function definition.
15020         Call __setttyent, __getttyent and __endttyent instead of
15021         setttyent, getttyent and endttyent.
15022         (getttyent): Rename to __getttyent and define as weak alias of
15023         __getttyent.  Call __setttyent instead of setttyent.  Call
15024         __fgets_unlocked instead of fgets_unlocked.
15025         (setttyent): Rename to __setttyent and define as weak alias of
15026         __setttyent.
15027         (endttyent): Rename to __endttyent and define as weak alias of
15028         __endttyent.
15029         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
15030         (__setttyent): Likewise.
15031         (__endttyent): Likewise.
15032         (getttyent): Don't use libc_hidden_proto.
15033         (setttyent): Likewise.
15034         (endttyent): Likewise.
15035         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
15036         __endttyent instead of setttyent, getttyent and endttyent.
15037         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
15038         Remove variable.
15040         [BZ #18546]
15041         * socket/recv.c (__recv): Use libc_hidden_def.
15042         * socket/socket.c (__socket): Likewise.
15043         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15044         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15045         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
15046         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
15047         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
15048         libc_hidden_def.
15049         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
15050         libc_hidden_weak.
15051         * include/sys/socket.h (__socket): Do not use attribute_hidden.
15052         Use libc_hidden_proto.
15053         (__recv): Likewise.
15054         * socket/Versions (libc): Export __recv and __socket at version
15055         GLIBC_PRIVATE.
15056         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
15057         instead of recv.
15058         (init_mq_netlink): Call __socket instead of socket.
15059         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
15060         Remove variable.
15062         [BZ #18545]
15063         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
15064         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
15065         hidden_weak.
15066         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
15067         define as alias of __mq_timedsend.  Use hidden_weak.
15068         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
15069         __mq_timedsend as strong name.
15070         (mq_timedreceive): Use __mq_timedreceive as strong name.
15071         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
15072         (__mq_timedreceive): Likewise.
15073         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
15074         __mq_timedreceive instead of mq_timedreceive.
15075         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
15076         instead of mq_timedsend.
15077         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
15078         Remove variable.
15080         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
15081         hidden_def and hidden_weak instead of libc_hidden_def and
15082         libc_hidden_weak.
15083         (top level): Refer to hidden_def in comment.
15084         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
15085         macro.  Use it instead of libc_hidden_def.
15086         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
15087         specify __GI_* name explicitly.
15088         (mq_timedreceive): Likewise.
15089         (mq_setattr): Likewise.
15091         [BZ #18544]
15092         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
15093         __pthread_barrier_init and define as weak alias of
15094         __pthread_barrier_init.
15095         * sysdeps/sparc/nptl/pthread_barrier_init.c
15096         (pthread_barrier_init): Likewise.
15097         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
15098         __pthread_barrier_wait and define as weak alias of
15099         __pthread_barrier_wait.
15100         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15101         (pthread_barrier_wait): Likewise.
15102         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15103         (pthread_barrier_wait): Likewise.
15104         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
15105         (pthread_barrier_wait): Likewise.
15106         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
15107         (pthread_barrier_wait): Likewise.
15108         * nptl/Versions (libpthread): Export __pthread_barrier_init and
15109         __pthread_barrier_wait at version GLIBC_PRIVATE.
15110         * include/pthread.h (__pthread_barrier_init): Declare.
15111         (__pthread_barrier_wait): Likewise.
15112         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
15113         Call __pthread_barrier_wait instead of pthread_barrier_wait.
15114         (helper_thread): Likewise.
15115         (init_mq_netlink): Call __pthread_barrier_init instead of
15116         pthread_barrier_init.
15118         [BZ #18542]
15119         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
15120         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
15121         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
15122         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
15123         vswscanf.
15124         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
15125         Remove variable.
15127         [BZ #18540]
15128         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
15129         strong alias of _IO_fflush.  Use libc_hidden_def.
15130         * libio/iofflush_u.c (fflush_unlocked): Rename to
15131         __fflush_unlocked and define as weak alias of __fflush_unlocked.
15132         Use libc_hidden_weak.
15133         * include/stdio.h (__fflush_unlocked): Declare.  Use
15134         libc_hidden_proto.
15135         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
15136         fflush_unlocked.
15137         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
15138         Remove variable.
15140         [BZ #18539]
15141         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
15142         define as weak alias of __addseverity.
15143         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
15144         Remove variable.
15145         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
15146         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
15147         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
15149         [BZ #18536]
15150         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
15151         (__tfind): Likewise.
15152         (__tdelete): Likewise.
15153         (__twalk): Likewise.
15154         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
15155         __twalk to GLIBC_PRIVATE.
15156         * include/search.h (__tsearch): Use libc_hidden_proto.
15157         (__tfind): Likewise.
15158         (__tdelete): Likewise.
15159         (__twalk): Likewise.
15160         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
15161         Call __tdelete instead of tdelete.
15162         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
15163         tfind.  Call __tsearch instead of tsearch.
15164         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
15165         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
15166         Remove variable.
15167         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
15169         [BZ #18534]
15170         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
15171         (dprintf): Define as a weak alias of __dprintf, not a strong
15172         alias.
15173         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
15174         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
15175         dprintf.
15176         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
15177         Remove variable.
15178         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
15179         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
15181         [BZ #18533]
15182         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
15183         not a strong alias.
15184         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
15185         Remove variable.
15187         [BZ #18532]
15188         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
15189         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
15190         (in6addr_loopback): Rename to __in6addr_loopback and define as
15191         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
15192         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
15193         libc_hidden_proto.
15194         (__in6addr_any): Likewise.
15195         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
15196         in6addr_any.
15197         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
15198         variable.
15199         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
15201 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15203         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
15204         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
15205         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15206         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15207         redirections for pow.
15208         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15209         * sysdeps/x86_64/fpu/Versions: New versions added.
15210         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15211         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15212         build of SSE, AVX2 and AVX512 IFUNC versions.
15213         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
15214         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
15215         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
15216         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
15217         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
15218         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
15219         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
15220         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
15221         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
15222         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
15223         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
15224         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
15225         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
15226         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
15227         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15228         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15229         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15230         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15231         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15232         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15233         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15234         * NEWS: Mention addition of x86_64 vector pow.
15236         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15237         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15238         redirections for expf.
15239         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15240         * sysdeps/x86_64/fpu/Versions: New versions added.
15241         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15242         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15243         build of SSE, AVX2 and AVX512 IFUNC versions.
15244         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
15245         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
15246         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
15247         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
15248         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
15249         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
15250         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
15251         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
15252         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
15253         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
15254         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
15255         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
15256         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
15257         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15258         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15259         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15260         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15261         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15262         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15263         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15264         * NEWS: Mention addition of x86_64 vector expf.
15266         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
15267         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
15268         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15269         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15270         redirections for exp.
15271         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15272         * sysdeps/x86_64/fpu/Versions: New versions added.
15273         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15274         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15275         build of SSE, AVX2 and AVX512 IFUNC versions.
15276         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
15277         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
15278         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
15279         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
15280         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
15281         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
15282         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
15283         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
15284         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
15285         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
15286         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
15287         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
15288         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
15289         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15290         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15291         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15292         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15293         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15294         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15295         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15296         * NEWS: Mention addition of x86_64 vector exp.
15298         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15299         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15300         redirections for logf.
15301         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15302         * sysdeps/x86_64/fpu/Versions: New versions added.
15303         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15304         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15305         build of SSE, AVX2 and AVX512 IFUNC versions.
15306         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
15307         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
15308         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
15309         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
15310         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
15311         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
15312         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
15313         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
15314         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
15315         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
15316         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
15317         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
15318         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
15319         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15320         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15321         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15322         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15323         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15324         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15325         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15326         * NEWS: Mention addition of x86_64 vector logf.
15328         * bits/libm-simd-decl-stubs.h: Added stubs for log.
15329         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
15330         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15331         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15332         redirections for log.
15333         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15334         * sysdeps/x86_64/fpu/Versions: New versions added.
15335         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15336         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15337         build of SSE, AVX2 and AVX512 IFUNC versions.
15338         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
15339         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
15340         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
15341         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
15342         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
15343         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
15344         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
15345         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
15346         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
15347         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
15348         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
15349         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
15350         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
15351         test.
15352         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15353         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15354         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15355         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15356         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15357         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15358         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15359         * NEWS: Mention addition of x86_64 vector log.
15361 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15363         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
15364         cfi_adjust_cfa_offset argument.
15365         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
15366         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
15368         [BZ #18034]
15369         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
15370         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
15371         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
15372         ordering using ldar.
15373         (_dl_tlsdesc_dynamic): Likewise.
15374         (_dl_tlsdesc_return_lazy): Likewise.
15375         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
15376         relaxed atomics instead of volatile and synchronize with release store.
15377         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
15378         volatile.
15379         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15381 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
15383         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15384         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
15385         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15386         * sysdeps/x86_64/fpu/Versions: New versions added.
15387         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15388         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15389         build of SSE, AVX2 and AVX512 IFUNC versions.
15390         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
15391         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
15392         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
15393         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
15394         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
15395         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
15396         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
15397         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
15398         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
15399         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
15400         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
15401         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
15402         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
15403         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15404         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15405         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15406         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15407         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15408         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15409         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15410         * NEWS: Mention addition of x86_64 vector sinf.
15412 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
15414         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
15415         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
15416         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
15417         Remove variable.
15418         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
15419         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
15421 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15423         [BZ #18530]
15424         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
15425         strong alias of _IO_fputs.  Use libc_hidden_def.
15426         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
15427         and define as weak alias of __fputs_unlocked.  Use
15428         libc_hidden_weak.
15429         * include/stdio.h (__fputs_unlocked): Declare.  Use
15430         libc_hidden_proto.
15431         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
15432         fputs_unlocked.
15434         [BZ #18529]
15435         * resolv/netdb.h [__USE_POSIX]: Change condition to
15436         [__USE_XOPEN2K].
15437         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
15438         not expect.
15439         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
15440         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
15441         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
15442         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
15443         [XPG4 || UNIX98] (AI_ALL): Likewise.
15444         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
15445         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
15446         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
15447         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
15448         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
15449         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
15450         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
15451         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
15452         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
15453         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
15454         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
15455         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
15456         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
15457         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
15458         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
15459         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15460         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15461         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
15462         [XPG4 || UNIX98] (gai_strerror): Likewise.
15463         [XPG4 || UNIX98] (getaddrinfo): Likewise.
15464         [XPG4 || UNIX98] (getnameinfo): Likewise.
15466         [BZ #18528]
15467         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
15468         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
15469         __USE_XOPEN2K8].
15470         (getgrent): Likewise.
15471         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
15472         expect.
15473         [XPG3 || POSIX2008] (endgrent): Likewise.
15474         [XPG3] (setgrent): Likewise.
15475         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
15476         variable.
15477         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
15479         [BZ #18527]
15480         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
15481         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
15482         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
15483         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
15484         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
15485         * include/unistd.h (__getlogin_r): Declare.  Use
15486         libc_hidden_proto.
15487         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
15488         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
15489         variable.
15490         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
15491         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
15492         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
15494 2015-06-12  Martin Sebor  <msebor@redhat.com>
15496         [BZ #18512]
15497         * Makerules (check-install-supported): New target.
15498         (install): Add check-install-supported as a dependency.
15499         * manual/install.texi (Installing the C Library): Document
15500         that overriding prefix and exec_prefix is not supported.
15501         Mention DESTDIR.
15502         * INSTALL: Regenerate from the above.
15504 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15506         [BZ #18519]
15507         * posix/Versions (libc): Export __libc_pread at version
15508         GLIBC_PRIVATE.
15509         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
15510         instead of pread.
15511         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
15512         variable.
15514         [BZ #18522]
15515         * misc/efgcvt_r.c
15516         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
15517         (cvt_symbol): Use weak_alias instead of strong_alias.
15518         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
15519         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
15520         Remove variable.
15521         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
15522         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
15524         [BZ #18520]
15525         * inet/herrno.c (h_errno): Rename to __h_errno.
15526         (__libc_h_errno): Define as alias of __h_errno not h_errno.
15527         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
15528         to __h_errno instead of h_errno.
15529         * nptl/herrno.c (h_errno): Rename to __h_errno.
15530         (__h_errno_location): Refer to __h_errno not h_errno.
15531         * resolv/Versions (h_errno): Rename to __h_errno.
15532         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
15533         Remove variable.
15534         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
15536 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
15538         * configure.ac: More strict check for AVX512 assembler support.
15539         * configure: Regenerated.
15541         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
15542         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
15543         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15544         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
15545         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15546         * sysdeps/x86_64/fpu/Versions: New versions added.
15547         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15548         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15549         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15550         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
15551         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
15552         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
15553         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
15554         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
15555         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
15556         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
15557         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
15558         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
15559         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
15560         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
15561         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
15562         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
15563         test.
15564         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15565         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15566         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15567         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15568         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15569         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15570         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15571         * NEWS: Mention addition of x86_64 vector sin.
15573 2015-06-11  Florian Weimer  <fweimer@redhat.com>
15575         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
15576         comment.
15578 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15580         [BZ #18479]
15581         * nptl/pt-interp.c: New file.
15582         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
15583         Add pt-interp.
15584         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
15585         $(common-objpfx)runtime-linker.h.
15587 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
15589         * Makeconfig (+interp): Remove unused variable.
15590         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
15591         only.  Depend on $(common-objpfx)runtime-linker.h instead of
15592         $(elf-objpfx)runtime-linker.h.
15593         ($(elf-objpfx)runtime-linker.h): Rename to
15594         $(common-objpfx)runtime-linker.h and move ...
15595         * Makerules [$(build-shared) = yes]: ... here.
15596         * elf/interp.c: Include <runtime-linker.h> instead of
15597         <elf/runtime-linker.h>.
15599 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15601         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
15602         (__gettimeofday_syscall): Remove vsyscall fallback.
15603         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
15604         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
15605         Add syscall fallback function.
15606         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
15607         if vDSO is not present.
15608         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
15609         fallback function.
15610         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
15611         present.
15612         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
15613         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15615 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
15617         [BZ #18497]
15618         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
15619         of wcscmp.
15620         (wcscmp): Define as weak alias of WCSCMP.
15621         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
15622         wcscoll.
15623         (USE_HIDDEN_DEF): Define.
15624         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
15625         __wcscoll.  Don't use libc_hidden_weak.
15626         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
15627         wcscmp.
15628         * sysdeps/i386/i686/multiarch/wcscmp-c.c
15629         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
15630         __GI_wcscmp.
15631         (weak_alias): Undefine and redefine.
15632         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
15633         __wcscmp and define as weak alias of __wcscmp.
15634         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
15635         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
15636         (__wcscoll): Likewise.
15637         (wcscmp): Don't use libc_hidden_proto.
15638         (wcscoll): Likewise.
15639         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
15640         wcscoll.
15641         * posix/regexec.c (check_node_accept_bytes): Likewise.
15642         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
15643         variable.
15644         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
15645         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
15647         [BZ #18507]
15648         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
15649         __fstatvfs and define as weak alias of __fstatvfs.  Use
15650         libc_hidden_weak.
15651         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
15652         and define as weak alias of __statvfs.  Use libc_hidden_weak.
15653         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
15654         Define as alias of __fstatvfs, not fstatvfs.
15655         (fstatvfs64): Likewise.
15656         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
15657         Define as alias of __statvfs, not statvfs.
15658         (statvfs64): Likewise.
15659         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
15660         Remove variable.
15662 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15665         (HAVE_GETCPU_VSYSCALL): Define.
15666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15667         (HAVE_GETCPU_VSYSCALL): Likewise.
15668         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
15669         * sysdeps/unix/sysv/linux/sched_getcpu.c
15670         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
15671         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
15672         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
15673         prototype.
15674         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15675         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
15676         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
15677         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
15678         Define.
15679         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
15680         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15681         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
15682         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15684 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
15686         * sysdeps/x86_64/fpu/Makefile: New file.
15687         * sysdeps/x86_64/fpu/Versions: New file.
15688         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
15689         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
15690         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
15691         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
15692         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
15693         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
15694         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
15695         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
15696         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
15697         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
15698         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
15699         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
15700         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
15701         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15702         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15703         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
15704         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
15705         * sysdeps/x86_64/configure.ac: Options for libmvec build.
15706         * sysdeps/x86_64/configure: Regenerated.
15707         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
15708         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
15709         * manual/install.texi (Configuring and compiling): Document
15710         --disable-mathvec.
15711         * INSTALL: Regenerated.
15712         * NEWS: Mention addition of libmvec and x86_64 vector cos.
15714         * math/Makefile: Added rules for vector tests.
15715         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
15716         declaration under condition.
15717         * math/test-double-vlen2.h: New file.
15718         * math/test-double-vlen4.h: New file.
15719         * math/test-double-vlen8.h: New file.
15720         * math/test-vec-loop.h: Added initialization macro.
15721         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
15722         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
15723         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
15724         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
15725         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
15726         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
15727         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
15728         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
15729         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
15730         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
15731         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
15733         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15734         * sysdeps/x86_64/fpu/Versions: New versions added.
15735         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
15736         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
15737         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
15738         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
15739         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
15740         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
15741         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
15742         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
15743         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
15744         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
15745         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
15746         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
15747         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
15748         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15749         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15750         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15751         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
15752         * NEWS: Mention addition of x86_64 vector cosf.
15754         * math/Makefile: Added CFLAGS for new tests.
15755         * math/test-float-vlen16.h: New file.
15756         * math/test-float-vlen4.h: New file.
15757         * math/test-float-vlen8.h: New file.
15758         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
15759         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
15760         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15761         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
15762         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
15763         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
15764         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
15765         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
15766         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
15767         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
15768         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
15770 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
15772         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
15773         * locale/programs/ld-ctype.c: Likewise.
15775 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
15777         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
15778         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
15779         bit_ZMM16_31_state): New macro.
15780         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15781         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
15783 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
15785         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
15787 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
15789         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
15791 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
15793         [BZ #18498]
15794         * libio/memstream.c (open_memstream): Rename to __open_memstream
15795         and define as weak alias of __open_memstream.
15796         * include/stdio.h (__open_memstream): Declare.  Use
15797         libc_hidden_proto.
15798         (open_memstream): Don't use libc_hidden_proto.
15799         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
15800         open_memstream.
15801         * posix/getopt.c (_getopt_internal_r): Likewise.
15802         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
15803         variable.
15804         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
15805         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
15806         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
15808         [BZ #18496]
15809         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
15810         instead of wcrtomb.
15812         [BZ #18483]
15813         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
15814         [__USE_XOPEN2K8].  Remove redundant #endif.
15815         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
15816         Remove redundant #if.
15817         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
15818         Remove variable.
15819         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
15820         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
15822         [BZ #18495]
15823         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
15824         (__iswlower): Likewise.
15825         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
15826         (__iswlower): Likewise.
15827         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
15828         instead of towlower.
15829         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
15830         instead of iswlower.  Call __towupper instead of towupper.
15831         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
15832         instead of iswalnum.
15834 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15836         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
15837         errors to stderr.
15839 2015-06-05  Florian Weimer  <fweimer@redhat.com>
15841         [BZ #15661]
15842         [BZ #17322]
15843         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15844         Check for overflow properly.  Check for O_APPEND.  Ignore large
15845         file system block sizes.  Add comments about problems.
15846         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
15847         * manual/filesys.texi (Storage Allocation): New node.
15849 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15851         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
15852         cancellable syscalls.
15853         (SYS_ify): Add guard to no redefine it.
15854         (INLINE_SYSCALL): Likewise.
15855         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
15856         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
15857         SYSCALL_CANCEL instead.
15858         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
15859         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15860         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15861         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15862         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15863         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
15864         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
15865         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
15866         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15867         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15868         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
15869         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
15870         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
15871         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
15872         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
15873         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15874         Likewise.
15875         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15876         (__libc_pread64): Likewise.
15877         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
15878         (__libc_preadv): Likewise.
15879         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
15880         (__libc_readv64): Likewise.
15881         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15882         (__libc_pwrite): Likewise.
15883         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15884         (__libc_pwrite64): Likewise.
15885         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
15886         (__libc_pwritev): Likewise.
15887         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
15888         (__libc_pwritev64): Likewise.
15889         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
15890         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
15891         (sync_file_range): Likewise.
15892         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
15893         Likewise.
15894         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
15895         Likewise.
15896         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15897         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15898         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15899         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15900         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15901         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15902         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15903         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
15904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15905         Likewise.
15906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15907         (__libc_read64): Likewise.
15908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
15909         Likewise.
15910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
15911         Likewise.
15912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
15913         Likewise.
15914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
15915         Likewise.
15916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15917         (__libc_pread64): Likewise.
15918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
15919         Likewise.
15920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15921         (__libc_pwrite64): Likewise.
15922         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
15923         (sync_file_range): Likewise.
15924         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
15925         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15926         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15927         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
15928         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
15929         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15930         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15931         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
15932         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
15933         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15934         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15935         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15936         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15937         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15938         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
15939         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15940         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15941         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15942         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15943         Likewise.
15944         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
15945         Likewise.
15946         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
15947         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
15948         Likewise.
15949         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
15950         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
15951         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
15952         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
15953         Likewise.
15954         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
15955         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
15956         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
15957         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
15958         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
15960 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
15962         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
15963         Include dl-vdso.
15964         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
15965         Use VDSO routines for gettimeofday, clock_gettime if
15966         available.
15967         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
15968         Declare VDSO symbols.
15969         * sysdeps/unix/sysv/linux/arm/sysdep.h:
15970         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
15971         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15972         * sysdeps/unix/sysv/linux/arm/Versions: Add
15973         __vdso_clock_gettime.
15975 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15977         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
15978         be an inline implementation regardless of library is built within.
15979         (open_not_cancel_2): Likewise.
15980         (__read_nocancel): Likewise.
15981         (__write_nocancel): Likewise.
15982         (openat_not_cancel): Likewise.
15983         (openat_not_cancel_3): Likewise.
15984         (openat64_not_cancel): Likewise.
15985         (openat64_not_cancel_3): Likewise.
15986         (__close_nocancel): Likewise.
15987         (pause_not_cancel): Likewise.
15988         (nanosleep_not_cancel): Likewise.
15989         (sigsuspend_not_cancel): Likewise.
15991 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15993         [BZ #14958]
15994         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
15995         wake-up.
15996         (__pthread_rwlock_rdlock_slow): Likewise.
15997         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15998         Likewise.
15999         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16000         Likewise.
16001         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
16002         * nptl/tst-rwlock16.c: New file.
16003         * nptl/Makefile (tests): Add new test.
16005 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16007         [BZ #18324]
16008         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
16009         missing wake-up of readers.
16010         * nptl/tst-rwlock15.c: New file.
16011         * nptl/Makefile (tests): Add new test.
16013 2015-06-03  Roland McGrath  <roland@hack.frob.com>
16015         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
16016         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
16017         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
16018         and __nacl_supply_interface_rtld.
16019         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
16020         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
16021         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
16022         Add __nacl_supply_interface_rtld.
16023         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
16025 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16027         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
16028         isfinite.
16029         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16030         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
16032 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16034         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
16035         __signbit* with standard C99 macros.
16036         * math/e_exp10l.c: Likewise.
16037         * math/e_exp2l.c: Likewise.
16038         * math/e_scalb.c: Likewise.
16039         * math/e_scalbf.c: Likewise.
16040         * math/e_scalbl.c: Likewise.
16041         * math/s_ldexp.c: Likewise.
16042         * math/s_ldexpf.c: Likewise.
16043         * math/s_ldexpl.c: Likewise.
16044         * math/w_atan2.c: Likewise.
16045         * math/w_atan2f.c: Likewise.
16046         * math/w_atan2l.c: Likewise.
16047         * math/w_cosh.c: Likewise.
16048         * math/w_coshf.c: Likewise.
16049         * math/w_coshl.c: Likewise.
16050         * math/w_exp10.c: Likewise.
16051         * math/w_exp10f.c: Likewise.
16052         * math/w_exp10l.c: Likewise.
16053         * math/w_exp2.c: Likewise.
16054         * math/w_exp2f.c: Likewise.
16055         * math/w_exp2l.c: Likewise.
16056         * math/w_fmod.c: Likewise.
16057         * math/w_fmodf.c: Likewise.
16058         * math/w_fmodl.c: Likewise.
16059         * math/w_hypot.c: Likewise.
16060         * math/w_hypotf.c: Likewise.
16061         * math/w_hypotl.c: Likewise.
16062         * math/w_jnl.c: Likewise.
16063         * math/w_lgamma.c: Likewise.
16064         * math/w_lgamma_r.c: Likewise.
16065         * math/w_lgammaf.c: Likewise.
16066         * math/w_lgammaf_r.c: Likewise.
16067         * math/w_lgammal.c: Likewise.
16068         * math/w_lgammal_r.c: Likewise.
16069         * math/w_pow.c: Likewise.
16070         * math/w_powf.c: Likewise.
16071         * math/w_powl.c: Likewise.
16072         * math/w_remainder.c: Likewise.
16073         * math/w_remainderf.c: Likewise.
16074         * math/w_remainderl.c: Likewise.
16075         * math/w_scalb.c: Likewise.
16076         * math/w_scalbf.c: Likewise.
16077         * math/w_scalbl.c: Likewise.
16078         * math/w_scalbln.c: Likewise.
16079         * math/w_scalblnf.c: Likewise.
16080         * math/w_scalblnl.c: Likewise.
16081         * math/w_sinh.c: Likewise.
16082         * math/w_sinhf.c: Likewise.
16083         * math/w_sinhl.c: Likewise.
16084         * math/w_tgamma.c: Likewise.
16085         * math/w_tgammaf.c: Likewise.
16086         * math/w_tgammal.c: Likewise.
16087         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16088         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
16089         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16090         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16091         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16092         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16093         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16094         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16095         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16096         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16097         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16098         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16099         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16100         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16101         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16102         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16103         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16104         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16105         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16106         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16107         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16108         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16109         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16110         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16111         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16112         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16113         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
16114         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16115         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16116         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16117         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
16118         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
16119         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
16120         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
16121         * stdio-common/printf_fp.c: Likewise.
16122         * stdio-common/printf_fphex.c: Likewise.
16123         * stdio-common/printf_size.c: Likewise.
16125 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
16127         [BZ #18470]
16128         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
16129         strnlen.
16130         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
16131         Remove variable.
16132         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
16133         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16134         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16135         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16136         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16137         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16138         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16139         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16140         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16141         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16143         [BZ #18468]
16144         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
16145         weak alias of __wmemchr.  Use libc_hidden_weak.
16146         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
16147         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
16148         instead of wmemchr.
16150 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16152         [BZ #18383]
16153         * elf/tst-tlsalign-extern.c: New file.
16154         * elf/tst-tlsalign-extern-static.c: New file.
16155         * elf/tst-tlsalign-vars.c: New file.
16156         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
16157         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
16158         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
16159         ($(objpfx)tst-tlsalign-extern-static): Likewise.
16160         (test-xfail-tst-tlsalign-extern-static): New variable.
16162 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
16164         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
16165         Use variable name _sc_err instead of err.
16166         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
16167         instead of ret.
16168         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
16169         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
16170         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
16171         (INLINE_SYSCALL): Likewise.
16173         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
16174         * include/string.h (__strnlen): Use libc_hidden_proto.
16175         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
16176         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
16177         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
16178         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
16179         (libc_hidden_def): Undefine and redefine.
16180         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
16181         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
16182         __GI_strnlen.
16183         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
16184         libc_hidden_def.
16185         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
16187         [BZ #18469]
16188         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
16189         weak alias of __towlower.  Use libc_hidden_weak.
16190         (towupper): Rename to __towupper and define as weak alias of
16191         __towupper.  Use libc_hidden_weak.
16192         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
16193         (__towupper): Likewise.
16194         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
16195         __towlower instead of towlower.
16197 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16199         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
16200         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
16202 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16204         * sysdeps/aarch64/libm-test-ulps: Update.
16206 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16208         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
16209         Define.
16210         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16211         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16212         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16213         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16214         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
16215         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
16216         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
16218 2015-06-01  Martin Sebor  <msebor@redhat.com>
16220         [BZ #18116]
16221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16222         (__setcontext): Use extended four-operand version of mtsf whenever
16223         possible.
16224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16225         (__novec_swapcontext): Likewise.
16227 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16229         * benchtests/scripts/compare_bench.py: New file.
16230         * benchtests/scripts/import_bench.py (mean): New function.
16231         (split_list): Likewise.
16232         (do_for_all_timings): Likewise.
16233         (compress_timings): Likewise.
16235         * benchtests/scripts/import_bench.py: New file.
16236         * benchtests/scripts/validate_benchout.py: Import import_bench
16237         instead of jsonschema.
16238         (validate_bench): Remove function.
16239         (main): Use import_bench.
16241 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
16243         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
16244         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
16246 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16250 2015-05-28  Roland McGrath  <roland@hack.frob.com>
16252         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
16253         set THREAD_SELF->tid to a magic value and futex-wake it.
16254         Pass its address to the thread_exit system call.
16255         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
16256         bit is clear.
16257         * sysdeps/nacl/lowlevellock.h: New file.
16258         * sysdeps/nacl/lll_timedwait_tid.c: New file.
16260         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
16261         Add TIMEOUT to current time, don't subtract it.
16263 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
16265         [BZ #2981]
16266         [BZ #18422]
16267         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
16268         ($(objpfx)tst-audit2.out): Also depend on
16269         $(objpfx)tst-auditmod9b.so.
16270         * elf/tst-audit2.c: Include <dlfcn.h>.
16271         (calloc_called): New.
16272         (calloc): Allow to be called more than once.
16273         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
16275 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
16277         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
16278         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
16280 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
16282         * stdlib/monetary.h: Fix comment.
16284 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
16286         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
16287         Avoid using variables in #defines that might cause shadowing.
16288         (INTERNAL_VSYSCALL_CALL): Likewise.
16290 2015-05-26  Roland McGrath  <roland@hack.frob.com>
16292         * sysdeps/nacl/lll_timedlock_wait.c: New file.
16294         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
16295         * nptl/lll_timedlock_wait.c: ... to this new file.
16296         * nptl/Makefile (libpthread-routines): Add it.
16297         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
16298         * nptl/lll_timedwait_tid.c: ... to this new file.
16299         * nptl/Makefile (libpthread-routines): Add it.
16300         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
16301         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
16302         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
16303         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
16304         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
16305         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
16306         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
16307         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
16308         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
16309         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
16311 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16313         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
16314         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16315         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16316         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
16317         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16318         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16319         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16320         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16321         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16322         * sysdeps/unix/sysv/linux/tile/sysdep.h
16323         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16324         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
16325         using vDSO syscall macro.
16327 2015-05-26  Andriy Rysin  <arysin@gmail.com>
16329         [BZ #17293]
16330         * uk_UA: Fix sorting order for Ukrainian locale
16332 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
16334         * stdlib/monetary.h: Fix comment.
16336 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16338         [BZ #18234]
16339         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
16340         st_mtim and st_ctim members.
16341         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
16342         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
16343         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
16344         (struct stat64): Likewise.
16345         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
16346         (struct stat64): Likewise.
16347         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
16348         (struct stat64): Likewise.
16350 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16352         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
16353         Define and include sysdep-vdso.h.
16354         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
16355         Likewise.
16356         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
16357         Likewise.
16358         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
16359         Define with VDSO_SYMBOL and use PTR_MANGLE.
16360         (__vdso_clock_gettime): Likewise.
16361         (__vdso_clock_getres): Likewise.
16362         (_libc_vdso_platform_setup): Likewise.
16363         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16364         Likewise.
16365         (_libc_vdso_platform_setup): Likewise.
16366         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
16367         Likewise.
16368         (__vdso_clock_gettime): Likewise.
16369         (__vdso_clock_getres): Likewise.
16370         (__vdso_get_tbfreq): Likewise.
16371         (__vdso_getcpu): Likewise.
16372         (__vdso_time): Likewise.
16373         (__vdso_sigtramp_rt64): Likewise.
16374         (__vdso_signtramp32): Likewise.
16375         (__vdso_sigtramp_rt32): Likewise.
16376         (_libc_vdso_platform_setup): Likewise.
16377         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
16378         Likewise.
16379         (__vdso_clock_gettime): Likewise.
16380         (__vdso_clock_getres): Likewise.
16381         (_libc_vdso_platform_setup): Likewise.
16382         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
16383         Likewise.
16384         (__vdso_clock_gettime): Likewise.
16385         (_libc_vdso_platform_setup): Likewise.
16386         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16387         Likewise.
16388         (__vdso_getcpu): Likewise.
16389         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
16390         Use VDSO_SYMBOL macro to define.
16391         (__vdso_clock_gettime): Likewise.
16392         (__vdso_clock_getres): Likewise.
16393         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
16394         Likewise.
16395         (__vdso_clock_gettime): Likewise.
16396         (__vdso_clock_getres): Likewise.
16397         (__vdso_get_tbfreq): Likewise.
16398         (__vdso_getcpu): Likewise.
16399         (__vdso_time): Likewise.
16400         (__vdso_sigtramp_rt64): Likewise.
16401         (__vdso_signtramp32): Likewise.
16402         (__vdso_sigtramp_rt32): Likewise.
16403         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
16404         Likewise.
16405         (__vdso_clock_gettime): Likewise.
16406         (__vdso_clock_getres): Likewise.
16407         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
16408         Likewise.
16409         (__vdso_clock_gettime): Likewise.
16410         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16411         Likewise.
16412         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
16413         macro.
16414         (INTERNAL_VSYSCALL): Likewise.
16415         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
16416         Remove macro.
16417         (INTERNAL_VSYSCALL): Likewise.
16418         (INTERNAL_VSYSCALL_NCS): Likewise.
16419         (INTERNAL_VSYSCALL_CALL): New macro.
16420         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16421         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
16422         Likewise.
16423         (INTERNAL_VSYSCALL): Likewise.
16424         (INTERNAL_VSYSCALL_NCS): Likewise.
16425         (INTERNAL_VSYSCALL_CALL): New macro.
16426         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16428         (INLINE_VSYSCALL): Remove macro.
16429         (INTERNAL_VSYSCALL): Remove macro.
16430         (INTERNAL_VSYSCALL_NCS): Remove macro.
16431         (INTERNAL_VSYSCALL_CALL): New macro.
16432         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
16433         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
16434         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16435         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
16436         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16438         (INLINE_VSYSCALL): Remove macro.
16439         (INTERNAL_VSYSCALL): Likewise.
16440         (INTERNAL_VSYSCALL_NCS): Likewise.
16441         (INTERNAL_VSYSCALL_CALL): New macro.
16442         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
16443         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
16444         PTR_DEMANGLE on vDSO pointer.
16445         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16446         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
16447         macro.
16448         (INTERNAL_SYSCALL): Likewise.
16449         (INTERNAL_VSYSCALL_NCS): Remove macro.
16450         (INTERNAL_VSYSCALL_CALL): New macro.
16451         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
16452         Remove macro.
16453         (INTERNAL_VSYSCALL): Likewise.
16454         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
16455         sysdep-vdso.h instead of libc-vdso.h.
16456         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
16457         definition.
16458         (INLINE_VSYSCALL): Likewise.
16459         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
16460         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
16461         definition.
16462         (INLINE_VSYSCALL): Likewise.
16463         (INTERNAL_VSYSCALL): Likewise.
16464         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16465         * sysdeps/unix/sysv/linux/timespec_get.c
16466         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16467         (timespec_get): Use ANSI prototype.
16468         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
16469         and definition for Linux.
16471 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16473         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
16474         * include/libc-symbols.h: libmvec_hidden_* macro series added.
16476 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16478         [BZ #2981]
16479         [BZ #18410]
16480         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
16481         for missing DT_PLTRELSZ.
16483 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16485         Remove obsolete aliases that broke 'locale -a'
16486         [BZ #18412]
16487         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
16488         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
16489         breaking some applications that use 'locale -a' output.
16490         Change the encoding of this file from Latin-1 to ASCII to avoid
16491         other potential problems with people grepping this file.
16493 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16495         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
16496         -fasynchronous-unwind-tables.
16497         (CFLAGS-sendto.c): Likewise.
16498         (CFLAGS-sendmsg.c): Likewise.
16499         (CFLAGS-connect.c): Likewise.
16500         (CFLAGS-recvmsg.c): Likewise.
16501         (CFLAGS-recvfrom.c): Likewise.
16502         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
16503         (SOCKETCALL): New macro: non-cancellable socketcall.
16504         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
16505         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
16506         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
16507         * sysdeps/unix/sysv/linux/accept.c: New file.
16508         * sysdeps/unix/sysv/linux/bind.c: Likewise.
16509         * sysdeps/unix/sysv/linux/connect.c: Likewise.
16510         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
16511         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
16512         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
16513         * sysdeps/unix/sysv/linux/listen.c: Likewise.
16514         * sysdeps/unix/sysv/linux/recv.c: Likewise.
16515         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
16516         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16517         * sysdeps/unix/sysv/linux/send.c: Likewise.
16518         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16519         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
16520         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
16521         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
16522         * sysdeps/unix/sysv/linux/socket.c: Likewise.
16523         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
16524         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
16525         prototype.
16526         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
16527         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16528         instead of __internal_xxx function.
16529         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
16530         prototype.
16531         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
16532         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16533         instead of __internal_xxx function.
16534         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
16535         prototype.
16536         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
16537         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16538         instead of __internal_xxx function.
16539         * sysdeps/unix/sysv/linux/accept.S: Remove file.
16540         * sysdeps/unix/sysv/linux/bind.S: Likewise.
16541         * sysdeps/unix/sysv/linux/connect.S: Likewise.
16542         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
16543         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
16544         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
16545         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
16546         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
16547         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
16548         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
16549         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
16550         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16551         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
16552         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
16553         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
16554         * sysdeps/unix/sysv/linux/listen.S: Likewise.
16555         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
16556         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
16557         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
16558         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
16559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
16560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
16561         * sysdeps/unix/sysv/linux/recv.S: Likewise.
16562         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
16563         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
16564         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
16565         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16566         * sysdeps/unix/sysv/linux/send.S: Likewise.
16567         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
16568         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
16569         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
16570         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
16571         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
16572         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
16573         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
16574         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
16575         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
16576         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
16577         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
16578         socketcall is implemented in GLIBC.
16580 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16582         * soft-fp/fmadf4.c: Include <libc-internal.h>.
16583         (__fma): Ignore uninitialized warnings around packing.
16584         * soft-fp/fmasf4.c: Include <libc-internal.h>.
16585         (__fmaf): Ignore uninitialized warnings around packing.
16586         * soft-fp/fmatf4.c: Include <libc-internal.h>.
16587         (__fmal): Ignore uninitialized warnings around packing.
16589         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
16590         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16591         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
16592         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16594         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
16595         switch statement into default case.
16596         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
16598         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
16599         a conditional in forcing "inexact".
16600         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16601         Likewise.
16603 2015-05-22  Roland McGrath  <roland@hack.frob.com>
16605         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16606         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
16607         for each INTERNAL_SYSCALL use.
16609 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16611         [BZ #438]
16612         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
16613         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
16614         variable.
16616         [BZ #18444]
16617         * string/basename.c (basename): Rename to __basename and define as
16618         weak alias of __basename.  Use libc_hidden_weak.
16619         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
16620         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
16621         __basename instead of basename.
16622         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
16623         Remove variable.
16624         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
16626 2015-05-18  Florian Weimer  <fweimer@redhat.com>
16628         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
16629         (_IO_JUMPS_FILE_plus): New.
16630         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
16631         _IO_CAST_FIELD_ACCESS.
16632         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
16633         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
16634         * libio/freopen.c (freopen): Likewise.
16635         * libio/freopen64.c (freopen64): Likewise.
16636         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
16637         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
16638         * libio/iofwide.c (_IO_fwide): Likewise.
16639         * libio/memstream.c (open_memstream): Likewise.
16640         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16641         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16642         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16644 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
16646         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
16647         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
16648         NADJ.
16649         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
16650         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
16651         NADJ.
16652         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
16653         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
16654         NADJ.
16656         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
16657         (p == 4) case.
16659         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
16660         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
16661         Remove variable.
16662         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
16663         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
16664         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
16666 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16668         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
16669         Adjust jump table label generation macros.
16671 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16673         * stdio-common/vfprintf.c (vfprintf): Move local variables
16674         args_malloced, specs, specs_malloced, and the code after
16675         do_positional to the printf_positional function.
16676         (printf_positional): New function.
16678 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16680         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
16681         function.
16682         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
16683         STEP4_TABLE, process_arg): Move macro definitions
16684         out of the vfprintf function.  (Cosmetic change only.)
16686 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
16688         * benchtests/Makefile (stdio-common-bench): Define.
16689         (benchset): Add stdio-common-bench.
16690         * sprintf-inputs: New file.
16691         * sprintf-source.c: New file.
16693 2015-05-21  Andreas Schwab  <schwab@suse.de>
16695         [BZ #13028]
16696         [BZ #17053]
16697         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
16698         of struct __res_state.
16699         * resolv/res_send.c (__libc_res_nsend): Likewise.
16700         (get_nsaddr): New function.
16701         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
16702         statp directly.
16704 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
16706         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
16707         -D_POSIX_C_SOURCE=199506L.
16709         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
16711         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
16712         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
16713         Do not mention otherwise.
16714         [POSIX] (_XOPEN_VERSION): Do not expect.
16715         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
16716         [POSIX] (_POSIX2_C_BIND): Likewise.
16717         [POSIX] (_POSIX2_VERSION): Likewise.
16718         [POSIX] (_XOPEN_XPG2): Likewise.
16719         [POSIX] (_XOPEN_XPG3): Likewise.
16720         [POSIX] (_XOPEN_XPG4): Likewise.
16721         [POSIX] (_XOPEN_UNIX): Likewise.
16722         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
16723         [POSIX] (_POSIX_BARRIERS): Likewise.
16724         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
16725         [POSIX] (_POSIX_CPUTIME): Likewise.
16726         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
16727         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
16728         [POSIX] (_POSIX_SHELL): Likewise.
16729         [POSIX] (_POSIX_SPAWN): Likewise.
16730         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
16731         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
16732         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
16733         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
16734         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
16735         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
16736         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
16737         [POSIX] (_XBS5_LP64_OFF64): Likewise.
16738         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
16739         [POSIX] (_POSIX_TIMEOUTS): Likewise.
16740         [POSIX] (_POSIX2_PBS): Likewise.
16741         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
16742         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
16743         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
16744         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
16745         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
16746         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
16747         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
16748         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
16749         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
16750         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
16751         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
16752         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
16753         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
16754         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
16755         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
16756         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
16757         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
16758         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
16759         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
16760         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
16761         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
16762         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
16763         [POSIX] (_SC_2_C_BIND): Likewise.
16764         [POSIX] (_SC_2_C_VERSION): Likewise.
16765         [POSIX] (_SC_2_PBS): Likewise.
16766         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
16767         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
16768         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
16769         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
16770         [POSIX] (_SC_2_PBS_TRACK): Likewise.
16771         [POSIX] (_SC_ATEXIT_MAX): Likewise.
16772         [POSIX] (_SC_BARRIERS): Likewise.
16773         [POSIX] (_SC_BASE): Likewise.
16774         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
16775         [POSIX] (_SC_DEVICE_IO): Likewise.
16776         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
16777         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
16778         [POSIX] (_SC_FD_MGMT): Likewise.
16779         [POSIX] (_SC_FIFO): Likewise.
16780         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
16781         [POSIX] (_SC_FILE_LOCKING): Likewise.
16782         [POSIX] (_SC_FILE_SYSTEM): Likewise.
16783         [POSIX] (_SC_IOV_MAX): Likewise.
16784         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
16785         [POSIX] (_SC_NETWORKING): Likewise.
16786         [POSIX] (_SC_PAGE_SIZE): Likewise.
16787         [POSIX] (_SC_PASS_MAX): Likewise.
16788         [POSIX] (_SC_PIPE): Likewise.
16789         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
16790         [POSIX] (_SC_REGEXP): Likewise.
16791         [POSIX] (_SC_SHELL): Likewise.
16792         [POSIX] (_SC_SIGNALS): Likewise.
16793         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
16794         [POSIX] (_SC_SPIN_LOCKS): Likewise.
16795         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
16796         [POSIX] (_SC_USER_GROUPS): Likewise.
16797         [POSIX] (_SC_USER_GROUPS_R): Likewise.
16798         [POSIX] (_SC_STREAMS): Likewise.
16799         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
16800         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
16801         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
16802         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
16803         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
16804         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
16805         [POSIX] (_PC_FILESIZEBITS): Likewise.
16806         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
16807         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
16808         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
16809         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
16810         [POSIX] (uid_t): Likewise.
16811         [POSIX] (gid_t): Likewise.
16812         [POSIX] (off_t): Likewise.
16813         [POSIX] (pid_t): Likewise.
16814         [POSIX] (cuserid): Allow.
16815         (_SC_2_CHAR_TERM): Require constant.
16816         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
16817         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
16818         variable.
16820 2015-05-20  Roland McGrath  <roland@hack.frob.com>
16822         * sysdeps/nacl/pthread-pids.h: New file.
16823         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
16824         (create_thread): Use __nacl_get_tid to initialize PD->tid.
16826         * nptl/pthread-pids.h: New file.
16827         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
16828         * nptl/nptl-init.c: Include <pthread-pids.h>.
16829         (__pthread_initialize_minimal_internal):
16830         Call __pthread_initialize_pids instead of set_tid_address syscall.
16832         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
16833         * sysdeps/posix/usleep.c: ... here.
16835 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16837         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
16838         call_pselect6 object.
16839         [$(subdir) = io]: Remove call_sync_file_range object.
16840         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
16841         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
16842         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
16843         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
16845 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
16847         * math/s_cproj.c: Add include "math_private.h".
16848         * math/s_cprojf.c: Likewise.
16849         * math/s_cprojl.c: Likewise.
16851 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
16853         [BZ #18244]
16854         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
16855         high mantissa bit when testing whether P is a NaN.
16856         * math/libm-test.inc (remainder_test_data): Add more tests.
16857         (remquo_test_data): Likewise.
16859         [BZ #18049]
16860         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
16861         below -32, return the argument, with underflow if subnormal.
16862         * math/auto-libm-test-in: Add more tests of atanh.
16863         * math/auto-libm-test-out: Regenerated.
16865 2015-05-19  Roland McGrath  <roland@hack.frob.com>
16867         [BZ #18434]
16868         * nptl/tst-sem15.c: New file.
16869         * nptl/Makefile (tests): Add it.
16870         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
16871         s/<</>>/ to fix typo in EOVERFLOW check.
16872         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
16874 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16876         * manual/strings.texi (envz_remove): Fix typo in safety
16877         annotations.
16879 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
16880             Steve Ellcey  <sellcey@imgtec.com>
16882         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
16883         in order to avoid strict alias warnings.
16884         (iruserok_af): Ditto for ra.
16886 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
16888         [BZ #17581]
16889         * malloc/hooks.c
16890         (magicbyte): Convert to a function and avoid returning 0x01.
16891         (mem2mem_check): Avoid using a length byte equal to the magic byte.
16892         (mem2chunk_check): Fix unsigned comparisons to zero.
16893         Hoist defs of sz and magic.
16895 2015-05-19  Richard Henderson  <rth@redhat.com>
16897         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
16899         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16901 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16903         [BZ #16159]
16904         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
16905         * malloc/arena.c (arena_lock): Check if arena is corrupt.
16906         (reused_arena): Find a non-corrupt arena.
16907         (heap_trim): Pass arena to unlink.
16908         * malloc/hooks.c (malloc_check_get_size): Pass arena to
16909         malloc_printerr.
16910         (top_check): Likewise.
16911         (free_check): Likewise.
16912         (realloc_check): Likewise.
16913         * malloc/malloc.c (malloc_printerr): Add arena argument.
16914         (unlink): Likewise.
16915         (munmap_chunk): Adjust.
16916         (ARENA_CORRUPTION_BIT): New macro.
16917         (arena_is_corrupt): Likewise.
16918         (set_arena_corrupt): Likewise.
16919         (sysmalloc): Use mmap if there are no usable arenas.
16920         (_int_malloc): Likewise.
16921         (__libc_malloc): Don't fail if arena_get returns NULL.
16922         (_mid_memalign): Likewise.
16923         (__libc_calloc): Likewise.
16924         (__libc_realloc): Adjust for additional argument to
16925         malloc_printerr.
16926         (_int_free): Likewise.
16927         (malloc_consolidate): Likewise.
16928         (_int_realloc): Likewise.
16929         (_int_memalign): Don't touch corrupt arenas.
16930         * malloc/tst-malloc-backtrace.c: New test case.
16932         * Makefile (summarize-tests): Fix return value on success.
16934         * manual/string.texi (Envz Functions): Add envz_remove.
16936 2015-05-18  Roland McGrath  <roland@hack.frob.com>
16938         * sysdeps/posix/opendir.c: Include <stdbool.h>.
16939         (invalid_name): New function, broken out of ...
16940         (__opendirat): ... here.  Call it.
16941         (need_isdir_precheck): New function, broken out of ...
16942         (__opendirat): ... here.  Call it.
16943         Use __fxstatat64, not __xstatat64.
16944         (opendir_oflags): New function, broken out of ...
16945         (__opendirat): ... here.  Call it.
16946         (opendir_tail): New function, broken out of ...
16947         (__opendirat): ... here.  Call it.
16948         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
16949         opendir_tail, rather than punting to __opendirat.
16950         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
16952 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16954         * .gitignore: Ignore generated *.pyc.
16956 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
16958         * include/stdio.h: Define __need_wint_t.
16959         * test-skeleton.c: Avoid `for' loop initial declaration.
16960         * nptl/tst-initializers1.c: Use test-skeleton.c.
16962 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16964         [BZ #18418]
16965         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
16967 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16969         [BZ #16352]
16970         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
16971         (__ieee754_atanh): Force underflow exception for results with
16972         small absolute value.
16973         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
16974         (__ieee754_atanhf): Force underflow exception for results with
16975         small absolute value.
16976         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
16977         (__ieee754_atanh): Force underflow exception for results with
16978         small absolute value.
16979         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
16980         (__ieee754_atanhf): Force underflow exception for results with
16981         small absolute value.
16982         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
16983         (__ieee754_atanhl): Force underflow exception for results with
16984         small absolute value.
16985         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
16986         (__ieee754_atanhl): Force underflow exception for results with
16987         small absolute value.
16988         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
16989         (__ieee754_atanhl): Force underflow exception for results with
16990         small absolute value.
16991         * math/auto-libm-test-in: Do not allow missing underflow
16992         exceptions from atanh.
16993         * math/auto-libm-test-out: Regenerated.
16995         [BZ #18221]
16996         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
16997         2**-28 as threshold for returning x or +/- 1/x.
16998         * math/auto-libm-test-in: Add more tests of tan.
16999         * math/auto-libm-test-out: Regenerated.
17001         [BZ #18220]
17002         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17003         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
17004         * math/auto-libm-test-in: Add another test of lgamma.
17005         * math/auto-libm-test-out: Regenerated.
17007 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
17009         * stdio-common/printf_fp.c (___printf_fp): Use abs.
17010         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
17011         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
17012         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
17013         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
17014         (ADD2A): Use fabs.  (SUB2A): Use fabs.
17015         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
17016         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
17017         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
17018         (log1): Use fabs.  (my_log2): Use fabs.
17019         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
17020         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
17021         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
17022         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
17023         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
17024         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
17025         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
17026         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
17027         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
17028         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
17029         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
17031 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17033         [BZ #18217]
17034         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
17035         as threshold for returning 1 - x.
17036         * math/auto-libm-test-in: Add more tests of erfc.
17037         * math/auto-libm-test-out: Regenerated.
17039 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
17041         [BZ #18196]
17042         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
17043         threshold for large arguments.
17044         * math/auto-libm-test-in: Add another test of atan.
17045         * math/auto-libm-test-out: Regenerated.
17047         [BZ #16339]
17048         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
17049         (__log1p): Force underflow exception for results with small
17050         absolute value.
17051         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
17052         (__log1pf): Force underflow exception for results with small
17053         absolute value.
17054         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
17055         (__log1p): Force underflow exception for results with small
17056         absolute value.
17057         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
17058         (__log1pf): Force underflow exception for results with small
17059         absolute value.
17060         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
17061         (__log1pl): Force underflow exception for results with small
17062         absolute value.
17063         * math/auto-libm-test-in: Do not allow missing underflow
17064         exceptions from log1p.
17065         * math/auto-libm-test-out: Regenerated.
17067 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
17068             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17070         [BZ #16704]
17071         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
17073 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
17075         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
17076         (libmvec): New variable.
17077         * configure.ac: Added option for mathvec build.
17078         * configure: Regenerated.
17079         * mathvec/Depend: New file.
17080         * mathvec/Makefile: New file.
17081         * shlib-versions: Added libmvec.
17082         * math/Makefile: Added rule for libm.so installation.
17084         * bits/math-vector.h: New file.
17085         * bits/libm-simd-decl-stubs.h: New header.
17086         * math/Makefile (headers): Added new header
17087         libm-simd-decl-stubs.h.
17088         * math/math.h (__MATHCALL_VEC): New macro.
17090         * math/gen-libm-have-vector-test.sh: Script generates series of macros
17091         for conditions in testing functions.
17092         * math/Makefile: Added call of libm-have-vector-test.sh.
17093         * math/libm-test.inc (HAVE_VECTOR): New macros.
17095         * math/libm-test.inc: START refactored.
17096         * math/test-double.c (TEST_MATHVEC): Add define.
17097         * math/test-float.c: Likewise.
17098         * math/test-idouble.c: Likewise.
17099         * math/test-ifloat.c: Likewise.
17100         * math/test-ildoubl.c: Likewise.
17101         * math/test-ldouble.c: Likewise.
17102         * sysdeps/generic/math-tests-arch.h
17103         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
17104         architecture check.
17106         * math/test-double.c (FUNC_TEST): New macro.
17107         * math/test-float.c: Likewise.
17108         * math/test-idouble.c: Likewise.
17109         * math/test-ifloat.c: Likewise.
17110         * math/test-ildoubl.c: Likewise.
17111         * math/test-ldouble.c: Likewise.
17112         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
17114 2015-05-13  Roland McGrath  <roland@hack.frob.com>
17116         * sysdeps/nacl/fdopendir.c: New file.
17118         * dirent/scandir-tail.c: New file.
17119         * dirent/scandir64-tail.c: New file.
17120         * dirent/Makefile (routines): Add them.
17121         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
17122         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
17123         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
17124         [!SCANDIR] (SCANDIR_TAIL): New macro.
17125         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
17126         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
17127         (SCANDIRAT): Macro removed.
17128         (SCANDIR_TAIL): New macro.
17129         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
17130         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
17131         (SCANDIRAT): Just call __opendirat and __scandir_tail.
17132         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
17133         (READDIR): Macro removed.
17134         (SCANDIR_TAIL): New macro.
17135         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
17136         (SCANDIR_TAIL): New macro.
17138         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
17139         * dirent/scandir-cancel.c: ... to this new file.
17140         * dirent/Makefile (routines): Add it.
17141         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
17142         * sysdeps/unix/sysv/linux/i386/scandir64.c
17143         (SKIP_SCANDIR_CANCEL): Macro removed.
17144         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
17146         * dirent/tst-scandir.c: New file.
17147         * dirent/tst-scandir64.c: New file.
17148         * dirent/Makefile (tests): Add them.
17150 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17152         [BZ #18409]
17153         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
17155 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17157         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
17158         list.
17160 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
17162         * benchtests/bench-strcoll.c: New benchmark.
17163         * benchtests/Makefile: Generate locales and run benchmark.
17164         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
17165         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17166         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
17167         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
17168         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
17169         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
17170         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
17171         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
17172         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
17173         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
17174         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
17175         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
17176         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
17177         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
17178         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
17179         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
17180         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
17181         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
17182         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
17183         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
17184         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
17185         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
17186         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
17187         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
17189 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
17191         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
17192         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17194 2015-05-12  Roland McGrath  <roland@hack.frob.com>
17196         * posix/uname-values.h: New file.
17197         * posix/uname.c: Include that instead of <config-name.h>.
17198         * sysdeps/nacl/uname-values.h: New file.
17199         * sysdeps/arm/nacl/uname-values.h: New file.
17201 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
17203         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
17204         splitting into fields.
17206 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
17208         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
17209         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
17210         * locale/localeinfo.h: Add enum collation_encoding_type.
17211         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
17212         * programs/ld-collate.c (collate_output): Add encoding type info.
17213         * string/strcoll_l.c (STRDIFF): New function.
17214         * (STRCOLL): Use STRDIFF to skip over equal prefix.
17215         * wcsmbs/wcscoll_l.c: Define STRDIFF.
17217 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
17219         [BZ #18397]
17220         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
17221         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
17222         <fpu_control.h> instead of <math/fpu_control.c>.
17223         * sysdeps/mips/mips32/fpu/Makefile: New file.
17225 2015-05-11  Andreas Schwab  <schwab@suse.de>
17227         [BZ #18007]
17228         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
17229         nss_endgrent.
17230         (_nss_compat_endgrent): Call nss_endgrent.
17231         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
17232         nss_endpwent.
17233         (_nss_compat_endpwent): Call nss_endpwent.
17234         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
17235         needent, call nss_setspent only if non-zero.
17236         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
17237         (internal_endspent): Don't call nss_endspent.
17238         (_nss_compat_endspent): Call nss_endspent.
17239         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
17240         Remove.  All uses removed.
17241         (internal_setent): Remove parameter stayopen, add parameter
17242         stream.  Use it instead of global variable.
17243         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
17244         (internal_endent, internal_getent): Add parameter stream.  Use it
17245         instead of global variable.
17246         (CONCAT(_nss_files_end,ENTNAME))
17247         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
17248         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
17249         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
17250         uses removed.
17251         (internal_setent, internal_endent): Add parameter stream.  Use it
17252         instead of global variable.
17253         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
17254         stream.
17255         (get_next_alias): Add parameter stream.
17256         (_nss_files_getaliasent_r): Pass global stream.
17257         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
17258         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
17259         (_nss_files_gethostbyname4_r): Pass local stream to
17260         internal_setent, internal_getent and internal_endent.  Remove
17261         locking.
17263 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17265         * tst-strfmon1.c (tests): Update expected currency symbol.
17267 2015-05-08  Roland McGrath  <roland@hack.frob.com>
17269         * sysdeps/nacl/gethostname.c: New file.
17271 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
17273         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
17274         and sinh.
17275         * math/auto-libm-test-out: Regenerated.
17276         * sysdeps/i386/fpu/libm-test-ulps: Update.
17277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17279 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
17281         [BZ #18125]
17282         * stdlib/tst-setcontext3.c: New file.
17283         * stdlib/tst-setcontext3.sh: New file.
17284         * stdlib/Makefile (tests): Add tst-setcontext3.
17285         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
17286         to verify test program created output file.
17287         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
17288         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
17289         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
17290         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
17292 2015-05-06  Roland McGrath  <roland@hack.frob.com>
17294         [BZ #18383]
17295         * elf/tst-tlsalign.c: New file.
17296         * elf/tst-tlsalign-static.c: New file.
17297         * elf/tst-tlsalign-lib.c: New file.
17298         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
17299         (tests-static): Add tst-tlsalign-static.
17300         (modules-names): Add tst-tlsalign-lib.
17301         (test-xfail-tst-tlsalign): New variable.
17302         (test-xfail-tst-tlsalign-static): New variable.
17304         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
17305         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
17307 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
17309         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
17310         csqrt, erfc, sin and sincos.
17311         * math/auto-libm-test-out: Regenerated.
17312         * sysdeps/i386/fpu/libm-test-ulps: Update.
17313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17315 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17317         * sysdeps/aarch64/libm-test-ulps: Update.
17319 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
17321         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
17322         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
17323         * math/auto-libm-test-out: Regenerated.
17324         * sysdeps/i386/fpu/libm-test-ulps: Update.
17325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17327 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17329         [BZ #18265]
17330         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
17331         (wcsncpy): Likewise.
17333 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17335         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17336         Assume __ASSUME_FALLOCATE is always true.
17337         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17338         (__posix_fallocate64_l64): Likweise.
17339         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
17340         (posix_fallocate): Likewise.
17341         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
17342         (__posix_fallocate64_l64): Likewise.
17343         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17344         [!__ASSUME_FALLOCATE]: Add comment.
17346 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17348         * sysdeps/unix/sysv/linux/i386/Makefile
17349         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
17350         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
17351         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
17352         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17353         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17354         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
17355         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
17357 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
17359         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
17360         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
17361         tgamma.
17362         * math/auto-libm-test-out: Regenerated.
17363         * sysdeps/i386/fpu/libm-test-ulps: Update.
17364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17366 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17368         * math/auto-libm-test-in: Add more tests of tgamma.
17369         * math/auto-libm-test-out: Regenerated.
17370         * sysdeps/i386/fpu/libm-test-ulps: Update.
17371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17373         * math/auto-libm-test-in: Add more tests of tanh.
17374         * math/auto-libm-test-out: Regenerated.
17375         * sysdeps/i386/fpu/libm-test-ulps: Update.
17376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17378         * math/auto-libm-test-in: Add more tests of tan.
17379         * math/auto-libm-test-out: Regenerated.
17380         * sysdeps/i386/fpu/libm-test-ulps: Update.
17381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17383         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
17384         * math/auto-libm-test-out: Regenerated.
17385         * sysdeps/i386/fpu/libm-test-ulps: Update.
17386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17388         * math/auto-libm-test-in: Add another test of pow.
17389         * math/auto-libm-test-out: Regenerated.
17390         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17392         * math/auto-libm-test-in: Add more tests of lgamma.
17393         * math/auto-libm-test-out: Regenerated.
17394         * sysdeps/i386/fpu/libm-test-ulps: Update.
17395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17397         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
17398         log1p.
17399         * math/auto-libm-test-out: Regenerated.
17400         * sysdeps/i386/fpu/libm-test-ulps: Update.
17401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17403 2015-05-01  Mark Wielaard  <mjw@redhat.com>
17405         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
17406         Elf64_Chdr structs and ELFCOMPRESS constants.
17408 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17410         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
17411         expm1.
17412         * math/auto-libm-test-out: Regenerated.
17413         * sysdeps/i386/fpu/libm-test-ulps: Update.
17414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17416         * math/auto-libm-test-in: Add more tests of erf and erfc.
17417         * math/auto-libm-test-out: Regenerated.
17418         * sysdeps/i386/fpu/libm-test-ulps: Update.
17419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17421 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17423         * config.h.in (HAVE_AARCH64_BE): Add.
17425 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
17427         * math/auto-libm-test-in: Add more tests of csqrt.
17428         * math/auto-libm-test-out: Regenerated.
17429         * sysdeps/i386/fpu/libm-test-ulps: Update.
17430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17432         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17433         * math/auto-libm-test-out: Regenerated.
17434         * sysdeps/i386/fpu/libm-test-ulps: Update.
17435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17437         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
17439 2015-04-29  Roland McGrath  <roland@hack.frob.com>
17441         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
17442         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
17444         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
17445         (euidaccess, eaccess): Define as weak aliases.
17447         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
17448         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
17449         but __suseconds_t is often 'long int' so some sources assume that
17450         type is being used (e.g. they use %ld to print tv_usec).
17452 2015-04-29  Florian Weimer  <fweimer@redhat.com>
17454         [BZ #18007]
17455         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
17456         (CVE-2014-8121)
17457         * nss/tst-nss-getpwent.c: New file.
17458         * nss/Makefile (tests): Add new test.
17460 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
17462         [BZ #18346]
17463         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
17464         exponents less than 48 as cases where high part of mantissa needs
17465         examining to determine whether argument is integral.
17466         * math/libm-test.inc (round_test_data): Add more tests.
17468 2015-04-28  Mark Wielaard  <mjw@redhat.com>
17470         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
17472 2015-04-27  David S. Miller  <davem@davemloft.net>
17474         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
17475         __tls_get_addr.
17476         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17478 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
17480         [BZ#18333]
17481         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
17483 2015-04-27  Florian Weimer  <fweimer@redhat.com>
17485         [BZ#18333]
17486         * time/tzset.c (parse_tzname): Return error on memory allocation
17487         failure.
17488         * test-skeleton.c (struct temp_name_list): Change type of name
17489         member to non-const.
17490         (add_temp_file): Create a copy of the file name.
17491         (delete_temp_files): Deallocate memory.
17492         (create_temp_file): Add comment.
17494 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17496         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
17497         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
17499 2015-04-24  Roland McGrath  <roland@hack.frob.com>
17501         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
17502         * sysdeps/arm/configure: Regenerated.
17504 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17506         [BZ #17715]
17507         * time/tzfile.c (__tzfile_read): Check for large values of
17508         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
17509         * time/tzset.c (__tzstring_len): New function, based on the old
17510         __tzstring function.
17511         (__tzstring): Call __tzstring_len.
17512         (parse_tzname): New helper function extracted from
17513         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
17514         the input string.
17515         (parse_offset): New helper function extracted from
17516         __tzset_parse_tz.  Replace switch with fallthrough with
17517         initialization before sscanf.
17518         (parse_rule): Likewise.
17519         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
17520         new-style function definition.
17521         * timezone/Makefile (tests): Add tst-tzset.
17522         (tst-tzset.out): Dependencies on time zone files.
17523         (tst-tzset-ENV): Set TZDIR.
17524         (testdata/XT%): Copy crafted time zone files.
17525         * timezone/README: Mention crafted time zone files.
17526         * timezone/testdata/XT1, timezone/testdata/XT2,
17527         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
17528         files.
17529         * timezone/tst-tzset.c: New test.
17531 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17533         * Makeconfig (+gccwarn): Remove -Winline.
17535 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17537         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
17539 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17541         * NEWS: Mention sysconf() cache information support for s390.
17542         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
17544 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
17546         * math/k_casinh.c (__kernel_casinh): Use __copysign.
17547         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
17548         (__nearbyint): Likewise.
17549         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
17550         (copysignl): Likewise.
17552 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
17554         [BZ #18287]
17555         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
17556         based on padding.  (CVE-2015-1781)
17558 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17560         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
17561         libc-vdso.h.
17562         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
17563         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
17564         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
17565         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17566         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17567         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
17568         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
17569         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17570         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17571         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
17572         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17573         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17574         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17575         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
17576         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17577         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
17578         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
17579         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
17580         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
17581         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
17582         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
17583         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
17584         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
17586 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
17588         * stdlib/setenv.c (__add_to_environ):
17589         Dump core quickly if setenv (..., NULL, ...) is called.
17590         This time, do it the right way, and pacify GCC with a pragma.
17592 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17594         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
17595         IMAP->l_prev cannot be null, and #if out the code for the contrary
17596         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
17597         believe that NS (&_dl_ns[NSID]) could point outside the array.
17599         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
17600         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
17601         before using NSID as an index.
17603 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
17605         [BZ #17825]
17606         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
17607         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
17608         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17610 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17612         Add preliminary port to Google Native Client on ARM.
17613         * abi-tags (.*-.*-nacl.*): New entry.
17614         * sysdeps/arm/nacl: New directory.
17615         * sysdeps/nacl: New directory.
17617 2015-04-16  David S. Miller  <davem@davemloft.net>
17619         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
17620         lowlevellock-futex.h
17622 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
17624         * sysdeps/tile/configure.ac: New file.
17625         * sysdeps/tile/configure: Regenerated.
17627 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17629         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
17630         conditionals for weak_alias and libc_hidden_weak.
17631         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
17632         libc_hidden_weak and weak_alias.
17633         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
17634         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
17635         and weak_alias for static one.
17637 2015-04-15  David S. Miller  <davem@davemloft.net>
17639         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17641 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17643         [BZ #18206]
17644         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
17645           Use signed comparision instead of substraction to avoid
17646           overflow bug.
17647         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
17648           Take the sign of ret.
17649         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
17650           Do not expect precise return values. Only the sign matters.
17651         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
17652         * wcsmbs/test-wcsncmp.c: New File.
17653         * string/test-strncmp.c: Add wcsncmp support.
17655 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17657         [BZ #6792]
17658         * math/w_log1p.c: New file.
17659         * math/w_log1pf.c: Likewise.
17660         * math/w_log1pl.c: Likewise.
17661         * math/Makefile (libm-calls): Add w_log1p.
17662         * math/s_log1pl.c (log1pl): Remove weak_alias.
17663         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
17664         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
17665         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
17666         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
17667         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
17668         [NO_LONG_DOUBLE] (log1pl): Likewise.
17669         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
17670         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
17671         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
17672         (log1p): Remove long_double_symbol.
17673         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
17674         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
17675         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
17676         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
17677         remove weak_alias for corresponding log1p function.
17678         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
17679         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
17680         * sysdeps/ia64/fpu/w_log1p.c: New file.
17681         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
17682         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
17683         * math/libm-test.inc (log1p_test_data): Add errno expectations.
17685 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
17687         [BZ #18247]
17688         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
17689         decimal exponent by 1.
17690         * stdlib/tst-strtod-round-data: Add more tests.
17691         * stdlib/tst-strtod-round.c (tests): Regenerated.
17693 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
17695         * math/auto-libm-test-in: Add more tests of clog and clog10.
17696         * math/auto-libm-test-out: Regenerated.
17697         * sysdeps/i386/fpu/libm-test-ulps: Update.
17698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17700 2015-04-09  Roland McGrath  <roland@hack.frob.com>
17702         * Makeconfig (module-cppflags): Exclude all .v.i files.
17703         (skip-module-cppflags): Variable removed.
17705         * configure.ac (libc_config_ok): Initialize before reading
17706         preconfigure scripts, not after.
17707         * configure: Regenerated.
17709         * test-skeleton.c (TIMEOUT): Move #define to top level.
17710         (main): Grok environment variable TEST_DIRECT.  If set, print
17711         test expectation details into that file and then behave as if
17712         given --direct.
17714 2015-04-09  Florian Weimer  <fweimer@redhat.com>
17716         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
17717         warning on 32-bit.
17719 2015-04-08  David S. Miller  <davem@davemloft.net>
17721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17723 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17725         * math/auto-libm-test-in: Add more tests of atanh.
17726         * math/auto-libm-test-out: Regenerated.
17727         * sysdeps/i386/fpu/libm-test-ulps: Update.
17728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17730         * math/auto-libm-test-in: Add more tests of atan.
17731         * math/auto-libm-test-out: Regenerated.
17732         * sysdeps/i386/fpu/libm-test-ulps: Update.
17733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17735 2015-04-08  Florian Weimer  <fweimer@redhat.com>
17737         * elf/pldd.c (main): Rewrite to use struct
17738         scratch_buffer instead of extend_alloca.
17739         * elf/pldd-xx.c (find_maps): Likewise.
17740         * grp/initgroups.c: Include <scratch_buffer.h> instead of
17741         <alloca.h>.
17742         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
17743         scratch_buffer instead of extend_alloca.
17744         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
17745         grp/compat-initgroups.c.
17746         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
17747         Rewrite to use struct scratch_buffer instead of extend_alloca.
17748         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
17749         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17751 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17753         * math/auto-libm-test-in: Add more tests of cbrt.
17754         * math/auto-libm-test-out: Regenerated.
17755         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17757         * math/auto-libm-test-in: Add more tests of cabs.
17758         * math/auto-libm-test-out: Regenerated.
17759         * sysdeps/i386/fpu/libm-test-ulps: Update.
17760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17762         [BZ #18210]
17763         [BZ #18211]
17764         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
17765         (__ieee754_atan2): Set FE_TONEAREST mode for internal
17766         computations.
17767         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
17768         clog10.
17769         * math/auto-libm-test-out: Regenerated.
17770         * sysdeps/i386/fpu/libm-test-ulps: Update.
17771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17773         [BZ #18197]
17774         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
17775         (atan): Set FE_TONEAREST mode for internal computations.
17776         * math/auto-libm-test-in: Add more tests of atan.
17777         * math/auto-libm-test-out: Regenerated.
17779 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
17781         [BZ #17930]
17782         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
17784 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17786         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
17788 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17790         * include/scratch_buffer.h: New file.
17791         * malloc/scratch_buffer_grow.c: Likewise.
17792         * malloc/scratch_buffer_grow_preserve.c: Likewise.
17793         * malloc/scratch_buffer_set_array_size.c: Likewise.
17794         * malloc/tst-scratch_buffer.c: Likewise.
17795         * malloc/Makefile (routines): Add scratch_buffer_grow.
17796         (tests): Add test case.
17797         * malloc/Versions (GLIBC_PRIVATE): Export
17798         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
17799         __libc_scratch_buffer_set_array_size.
17801 2015-04-06  Richard Henderson  <rth@redhat.com>
17803         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
17804         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17806         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
17807         unsigned int before printing.
17809 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17811         [BZ #17596]
17812         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
17813         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17815 2015-04-02  Florian Weimer  <fweimer@redhat.com>
17817         * include/libc-internal.h (libc_max_align_t): Define.
17819 2015-04-02  Andreas Schwab  <schwab@suse.de>
17821         [BZ #16850]
17822         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
17824 2015-04-02  Mel Gorman  <mgorman@suse.de>
17826         [BZ #17195]
17827         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
17828         as well as the main arena.
17830 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17832         [BZ #18185]
17833         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
17834         sharing L2 cache to 2 for Silvermont/Knights Landing.
17836 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17838         [BZ #17711]
17839         * config.make.in (have-protected-data): New.
17840         * configure.ac: Check linker support for protected data symbol.
17841         * configure: Regenerated.
17842         * elf/Makefile (modules-names): Add tst-protected1moda and
17843         tst-protected1modb if $(have-protected-data) is yes.
17844         (tests): Add tst-protected1a and tst-protected1b if
17845         $(have-protected-data) is yes.
17846         ($(objpfx)tst-protected1a): New.
17847         ($(objpfx)tst-protected1b): Likewise.
17848         (tst-protected1modb.so-no-z-defs): Likewise.
17849         * elf/tst-protected1a.c: New file.
17850         * elf/tst-protected1b.c: Likewise.
17851         * elf/tst-protected1mod.h: Likewise.
17852         * elf/tst-protected1moda.c: Likewise.
17853         * elf/tst-protected1modb.c: Likewise.
17855 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17857         [BZ #17711]
17858         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
17859         indicates it is called from do_lookup_x on relocation against
17860         protected data, skip the data definion in the executable from
17861         copy reloc.
17862         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
17863         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
17864         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
17865         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
17866         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
17867         otherwise to 0.
17868         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17869         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
17870         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
17871         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17872         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
17873         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
17875 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
17877         * sysdeps/nptl/pthread.h: Remove duplicate definition of
17878         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
17880 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
17882         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
17883         THREAD_SETMEM_NC.
17884         * sysdeps/x86_64/nptl/tls.h: Ditto.
17886 2015-03-27  Roland McGrath  <roland@hack.frob.com>
17888         * dlfcn/tststatic.c (main): Converted to ...
17889         (do_test): ... this.
17890         (TEST_FUNCTION): New macro.
17891         Include test-skeleton.c.
17893 2015-03-26  Alan Modra  <amodra@gmail.com>
17895         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
17896         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
17897         zero for undefined weak.
17898         (elf_machine_plt_conflict): Similarly.
17900 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17902         * math/auto-libm-test-in: Add more tests of acosh, asinh and
17903         atanh.
17904         * math/auto-libm-test-out: Regenerated.
17905         * sysdeps/i386/fpu/libm-test-ulps: Update.
17906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17908         * math/auto-libm-test-in: Add another test of asin.
17909         * math/auto-libm-test-out: Regenerated.
17910         * sysdeps/i386/fpu/libm-test-ulps: Update.
17911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17913         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
17914         Remove macro.
17915         (LLL_EBX_REG): Likewise.
17916         (LLL_ENTER_KERNEL): Likewise.
17918         * math/auto-libm-test-in: Add more tests of asin.
17919         * math/auto-libm-test-out: Regenerated.
17920         * sysdeps/i386/fpu/libm-test-ulps: Update.
17921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17923         [BZ #18138]
17924         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
17925         libc_do_syscall_args): New structure.
17926         (INTERNAL_SYSCALL_MAIN_0): New macro.
17927         (INTERNAL_SYSCALL_MAIN_1): Likewise.
17928         (INTERNAL_SYSCALL_MAIN_2): Likewise.
17929         (INTERNAL_SYSCALL_MAIN_3): Likewise.
17930         (INTERNAL_SYSCALL_MAIN_4): Likewise.
17931         (INTERNAL_SYSCALL_MAIN_5): Likewise.
17932         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
17933         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
17934         Replace conditional definitions by conditional definitions of ....
17935         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
17936         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
17937         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
17938         (libpthread-sysdep_routines): Add libc-do-syscall.
17939         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
17940         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
17941         to __NR_futex not 240.
17943 2015-03-25  Alan Modra  <amodra@gmail.com>
17945         * NEWS: Advertise TLS optimization.
17946         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
17947         (DT_PPC_NUM): Increment.
17948         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
17949         (CHECK_STATIC_TLS): Use here.
17950         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
17951         TLS descriptors.
17952         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17953         * sysdeps/powerpc/dl-tls.c: New file.
17954         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
17955         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
17956         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
17957         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
17958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
17959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17962 2015-03-25  Alan Modra  <amodra@gmail.com>
17964         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
17965         for overlapping .opd entries" to "support...".
17966         * sysdeps/powerpc/powerpc64/configure: Regenerate
17968 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17970         * math/auto-libm-test-in: Add more tests of acos.
17971         * math/auto-libm-test-out: Regenerated.
17972         * sysdeps/i386/fpu/libm-test-ulps: Update.
17973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17975         * math/auto-libm-test-in: Add more tests of expm1.
17976         * math/auto-libm-test-out: Regenerated.
17977         * sysdeps/i386/fpu/libm-test-ulps: Update.
17978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17980 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
17982         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17983         * math/auto-libm-test-out: Regenerated.
17984         * sysdeps/i386/fpu/libm-test-ulps: Update.
17985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17987         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17990         * math/auto-libm-test-in: Add more tests of log2.
17991         * math/auto-libm-test-out: Regenerated.
17992         * sysdeps/i386/fpu/libm-test-ulps: Update.
17993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17995 2015-03-23  Roland McGrath  <roland@hack.frob.com>
17997         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
17998         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
17999         _IO_IS_APPENDING bit in READ_WRITE instead.
18001 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18003         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18004         (__determine_cpumask_size): Replace extend_alloca with a
18005         variable-length array.  Do not treat res == 0 as an error.
18007 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18009         [BZ #18100]
18010         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
18011         and integer overflow.
18012         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
18013         (main): Add integer overflow tests.
18014         * manual/pattern.texi (Calling Wordexp): Document additional use
18015         for WRDE_SYNTAX.
18017 2015-03-23  Alan Modra  <amodra@gmail.com>
18019         * config.h.in: Remove HAVE_ASM_PPC_REL16.
18020         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
18021         and false branch of conditional.
18022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18023         Likewise.
18025 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
18027         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
18028         libc-modules.h
18029         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
18030         unused declaration of _hurd_intr_rpc_msg_in_trap.
18031         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
18032         defined instead of whether it is non-zero.
18033         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
18034         input constraint instead of both input and output constraint.  Use ecx
18035         clobber instead of %ecx.
18036         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
18037         mutex_unlock): Use a statement expression instead of an expression list.
18038         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
18039         type to vm_size_t instead of vm_address_t.
18040         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
18041         defined instead of whether it is non-zero.
18042         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
18043         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
18044         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
18045         comparisons with mapaddr.
18046         * nscd/nscd-client.h: Include <time.h>.
18047         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
18048         9th parameter to __vm_region instead of int.
18049         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
18050         * scripts/check-local-headers.sh (exclude): Add device/,
18051         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
18052         cthreads.h.
18054 2015-03-19  Roland McGrath  <roland@hack.frob.com>
18056         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
18057         to account for alignment padding.
18058         * sysdeps/arm/memmove.S: Likewise.
18060 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
18062         * sysdeps/unix/sysv/linux/generic/README: New file.
18064 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
18066         [BZ #18138]
18067         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
18068         (futex_abstimed_wait)
18069         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
18070         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
18071         of lll_futex_timed_wait.
18073 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
18075         [BZ #17542]
18076         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
18078 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
18080         [BZ #17090]
18081         [BZ #17620]
18082         [BZ #17621]
18083         [BZ #17628]
18084         * NEWS: Update.
18085         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
18086         entries with Static TLS too.  Skip entries past the end of the
18087         allocated DTV, from Alan Modra.
18088         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
18089         Static TLS DTV entry set up from...
18090         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
18091         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
18092         * nptl/allocatestack.c (init_one_static_tls): ... and here...
18093         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
18094         for Static TLS.
18095         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
18096         that the slot we find is associated with the given map before
18097         using its generation count.
18098         * nptl_db/db_info.c: Include ldsodefs.h.
18099         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
18100         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
18101         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
18102         (link_map::l_tls_offset): New struct field.
18103         (dtv_t::counter): Likewise.
18104         (rtld_global): New struct.
18105         (_rtld_global): New rtld variable.
18106         (dl_tls_dtv_slotinfo_list): New rtld global field.
18107         (dtv_slotinfo_list): New struct.
18108         (dtv_slotinfo): Likewise.
18109         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
18110         (td_lookup): Rename to...
18111         (td_mod_lookup): ... this.  Use new mod parameter instead of
18112         LIBPTHREAD_SO.
18113         * nptl_db/td_thr_tlsbase.c: Include link.h.
18114         (dtv_slotinfo_list, dtv_slotinfo): New functions.
18115         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
18116         addresses even if the DTV is out of date or missing them.
18117         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
18118         index zero-length arrays.
18119         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
18120         (td_lookup): Make it a macro implemented in terms of...
18121         (td_mod_lookup): ... this declaration.
18122         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
18123         (DB_MAIN_VARIABLE): Likewise.
18125 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18127         [BZ #18134]
18128         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18130 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
18132         * stdlib/setenv.c (__add_to_environ): Revert previous change.
18134 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18136         [BZ #18128]
18137         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
18138         (atomic_add, atomic_increment_and_test)
18139         (atomic_decrement_and_test): Fix 64-bit arithmetic.
18141 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
18143         * stdlib/setenv.c (__add_to_environ):
18144         Dump core quickly if setenv (..., NULL, ...) is called.
18146 2015-03-13  Roland McGrath  <roland@hack.frob.com>
18148         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
18149         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
18150         all the necessary asm magic in one place.
18151         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
18152         using those.
18154 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
18156         [BZ #14906]
18157         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
18158         traced file mtime. Use consistent log message.
18159         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
18160         (register_traced_file): Call install_watches. Always set mtime.
18161         (invalidate_cache): Iterate over all trace files. Call install_watches.
18162         (inotify_check_files): Don't inline. Handle watching parent
18163         directories and configuration file movement in and out.
18164         (handle_inotify_events): New function.
18165         (main_loop_poll): Call handle_inotify_events.
18166         (main_loop_epoll): Likewise.
18167         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
18168         (struct traced_file): Use array of inotify fds. Add parent directory,
18169         and basename.
18170         (struct database_dyn): Remove unused file_mtime.
18171         (init_traced_file): New inline function.
18172         (define_traced_file): New macro.
18173         * nss/nss_db/db-init.c: Use define_traced_file.
18174         (_nss_db_init): Use init_traced_file.
18175         * nss/nss_files/files-init.c: Use define_traced_file.
18176         (_nss_files_init): Use init_traced_file.
18178 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
18180         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
18181         [_LIBC]: Do not include <stdlib.h>.
18182         [!_LIBC] (abort): Remove declaration.
18183         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
18184         _FP_STATIC_ASSERT instead of conditionally calling abort.
18185         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
18186         (_FP_EXTEND_CNAN): Likewise.
18187         (FP_TRUNC): Likewise.
18188         (__FP_CLZ): Likewise.
18189         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
18191 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
18193         * manual/string.texi (XPG basename): Fix prototype.
18195 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18197         [BZ #18080]
18198         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
18199         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18200         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
18201         (__setcontext): Likewise.
18202         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
18203         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18204         Call rt_sigprocmask syscall one time to set new signal mask
18205         and retrieve the current signal mask instead of two calls.
18206         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
18207         (__swapcontext): Likewise.
18208         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
18209         * stdlib/tst-setcontext2.c: New file.
18211 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18213         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18215 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
18217         [BZ #18093]
18218         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
18219         the wrong size.
18221 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18223         [BZ #18043]
18224         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
18226 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18228         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
18229         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
18230         Remove define.
18231         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
18232         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
18233         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
18234         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
18235         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
18236         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
18237         define.
18238         * nptl_db/td_symbol_list.c (td_lookup): Remove
18239         HAVE_ASM_GLOBAL_DOT_NAME code.
18240         * sysdeps/powerpc/powerpc64/configure.ac: Remove
18241         HAVE_ASM_GLOBAL_DOT_NAME check.
18242         * sysdeps/powerpc/powerpc64/configure: Regenerate.
18243         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
18244         (DOT_LABEL): Remove define.
18245         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
18246         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
18247         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
18248         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
18249         (__TLS_GET_ADDR): Likewise.
18250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
18251         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
18253 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
18255         [BZ #18111]
18256         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
18257         (_FPU_SETCW): Initialize cw from fpsr before storing.
18258         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
18259         (fesetexceptflag): Rewrite using fpu_control.h.
18260         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
18262 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
18264         [BZ #18110]
18265         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
18266         asms.
18267         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18269 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
18271         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
18272         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
18273         abort.
18274         (_FP_FMA): Likewise.
18275         (_FP_DIV): Likewise.
18277 2015-03-10  Roland McGrath  <roland@hack.frob.com>
18279         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
18280         with 0 in that case.
18281         * Makefile (summarize-tests): New canned sequence, factored out of
18282         commands for targets tests and xtests.  Display summary lines that
18283         don't start with PASS: or XFAIL: rather than ones that do start with
18284         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
18285         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
18286         do start with ERROR: or FAIL:.
18287         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
18288         (except for [$(build-shared) = yes]).
18289         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
18290         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
18291         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
18292         * nptl/Makefile: Revert 2015-03-04 changes.
18293         [$(CXX) empty] (tests-unsupported): New variable.
18294         * debug/Makefile: Likewise.
18296         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
18297         gnulib file.  Replace __attribute with __attribute__ throughout.
18299 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
18301         * sysdeps/hppa/fpu/libm-test-ulps: Update.
18303 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18305         [BZ #18104]
18306         * math/auto-libm-test-in: Add another test of pow.
18307         * math/auto-libm-test-out: Regenerated.
18309 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18311         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
18312         $(config-cflags-nofma).
18314 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18316         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
18317         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
18318         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
18319         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
18320         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
18321         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
18322         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
18323         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
18324         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
18325         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
18326         Add comment on closing #endif.
18328 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18330         * posix/wordexp.c (CHAR_IN_SET): New macro.
18331         (parse_param): Use it.
18333 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18335         * sysdeps/powerpc/fpu/libm-test-ulps: update.
18337 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18339         [BZ #18043]
18340         * posix/wordexp.c (parse_param): Fix buffer overflow.
18341         * posix/wordexp-test.c (test_case): Add test case.
18343 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18345         [BZ #18042]
18346         * posix/wordexp.c (parse_backtick): Fix off-by-one.
18347         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
18349 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18351         [BZ #18043]
18352         * posix/wordexp-test.c (test_case): Add test for BZ #18043
18353         (do_bz18043): Delete.
18354         (at_page_end): New.
18355         (testit): Refactor to have words at the edge of unreadable page.
18357 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18359         [BZ #16734]
18360         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
18361         Cleanup read-only streams as well.
18362         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
18364 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18366         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
18367         <bits/libc-lockP.h>
18369 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
18371         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
18372         on [__KERNEL__].
18373         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
18374         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
18375         * soft-fp/op-common.h (_FP_DECL): Likewise.
18377 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18379         * elf/ifuncdep2.c (global): Replace
18380         __attribute__((visibility("protected"))) with
18381         asm (".protected global").
18382         * elf/ifuncmod1.c (global): Likewise.
18383         * elf/ifuncmod5.c (global): Likewise.
18385 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
18387         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
18388         <asm/sfp-machine.h> instead of <sfp-machine.h>.
18390 2015-03-06  Roland McGrath  <roland@hack.frob.com>
18392         * manual/install.texi (Configuring and compiling):
18393         Document test-wrapper-env-only.
18394         * INSTALL: Regenerated.
18396 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18398         [BZ #18043]
18399         * posix/wordexp.c (parse_param): Fix buffer overflow.
18400         * posix/wordexp-test.c (do_bz18043): Add test case.
18402 2015-03-06  Vincent Bernat  <vincent@bernat.im>
18404         * time/tst-strptime2.c (do_test): Ensure failing tests are
18405         reported correctly.
18406         * time/tst-strptime3.c (do_test): Likewise.
18408 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
18410         Fix aio_error thread-safety.
18411         * sysdeps/pthread/aio_error.c: New file
18412         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
18413         synchronization.
18415 2015-03-06  Florian Weimer  <fweimer@redhat.com>
18417         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
18418         (group_number, vfprintf): Use it.
18419         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
18420         (JUMP, REF): Use it.
18421         (WORK_BUFFER_SIZE): New enum constant.
18422         (process_arg, vfprintf): Use it.
18424 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
18426         * manual/errno.texi (Error Messages): Complete example function
18427         by adding missing #define.
18428         (program_invocation_name): Add statement indicating GNU
18429         extension and reference which header file declares the variable.
18430         (program_invocation_short_name): Likewise.
18432 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
18434         * manual/errno.texi (Error Messages): Delete strerror ISO C89
18435         compatibility note.
18437 2015-03-05  Roland McGrath  <roland@hack.frob.com>
18439         * Makeconfig (test-wrapper-env-only): New variable.
18440         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
18441         then use that with $(test-wrapper-env-only) rather than using
18442         $(test-wrapper-env) $(run-program-env) $($*-ENV).
18444 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18446         [BZ #18082]
18447         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
18448         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
18449         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
18450         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
18451         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
18452         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
18453         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
18454         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
18455         Likewise.
18456         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
18457         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
18458         Likewise.
18459         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
18460         Likewise.
18461         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
18462         Likewise.
18463         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
18464         Likewise.
18465         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
18466         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
18467         Likewise.
18468         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
18469         Likewise.
18470         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
18471         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
18473 2015-03-04  Roland McGrath  <roland@hack.frob.com>
18475         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
18476         (ETH_ALEN): New macro.
18477         (struct ether_addr): Use it for length of ether_addr_octet.
18479         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
18480         (setdb): Don't call __nss_configure_lookup for "rpc".
18481         (do_test): Don't call test_rpc.
18482         (output_rpcent, test_rpc): Functions moved ...
18483         * sunrpc/test-rpcent.c: ... to this new file.
18484         * sunrpc/Makefile (tests): Add it.
18486         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
18487         __xpg_sigpause.
18488         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
18489         * nptl/tst-signal6.c: Likewise.
18490         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
18491         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
18493         * configure.ac (libc_cv_cxx_link_ok): New check.
18494         Reset CXX to empty if it fails to link.
18495         * configure: Regenerated.
18496         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
18497         bug-atexit3-lib only if $(CXX) is nonempty.
18498         * nptl/Makefile (tests): Likewise for tst-cancel24.
18499         (tests, tests-static): Likewise for tst-cancel24-static.
18500         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
18501         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
18502         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
18503         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
18505 2015-03-04  Andreas Schwab  <schwab@suse.de>
18507         [BZ #17631]
18508         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
18509         for non-GCC compilers.
18510         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18511         Likewise.
18513 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18515         [BZ #17776]
18516         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
18517         integer before bitwise and assembly operations.
18518         (feclearexcept): Likewise.
18519         * math/test-fenvinline.c: New file.
18520         * math/Makefile: Add test-fenvinline test.
18522 2015-03-03  Alan Modra  <amodra@gmail.com>
18524         [BZ #16512]
18525         * scripts/localplt.awk: Strip off symbol version.
18526         * NEWS: Mention bug fix.
18528 2015-03-02  Roland McGrath  <roland@hack.frob.com>
18530         * sysdeps/pthread/timer_routines.c
18531         (timer_free_list, thread_free_list, thread_active_list): Make static.
18533 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
18535         [BZ #17779]
18536         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18537         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18538         Undefine.
18539         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18540         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18541         Likewise.
18542         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18543         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18544         Likewise.
18546 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18548         [BZ #18036]
18549         * posix/fnmatch_loop.c (END): Detect invalid pattern.
18550         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
18552 2015-03-02  Andreas Schwab  <schwab@suse.de>
18554         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
18555         variable name.
18557 2015-03-02  Florian Weimer  <fweimer@redhat.com>
18559         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
18560         Return error status.
18562 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
18564         [BZ #15969]
18565         * locale/findlocale.c (_nl_find_locale): Introduce const
18566         version of loc_name and drop unsafe type casts.
18568 2015-02-27  Roland McGrath  <roland@hack.frob.com>
18570         * dlfcn/tststatic2.c (main): Converted to ...
18571         (do_test): ... this.
18572         (TEST_FUNCTION): New macro.
18573         Include test-skeleton.c.
18575 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
18577         [BZ #17711]
18578         * elf/Makefile (tests): Add vismain only if PIE is enabled.
18579         (tests-pie): Add vismain.
18580         (CFLAGS-vismain.c): New.
18581         * elf/vismain.c: Add comments for PIE requirement.
18583 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18585         [BZ #18046]
18586         [BZ #18047]
18587         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
18588         0x1p-56L as threshold for just returning the argument.
18589         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
18590         0x1p-32L as threshold for just returning the argument.
18591         * math/auto-libm-test-in: Add more tests of atanh.
18592         * math/auto-libm-test-out: Regenerated.
18593         * sysdeps/i386/fpu/libm-test-ulps: Update.
18594         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
18596 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18598         * string/bcopy.c (bcopy): Call memmove for performance.
18600 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18602         * string/bzero.c (__bzero): Call memset for performance.
18604 2015-02-27  John David Anglin  <dave.anglin@bell.net>
18606         [BZ #18068]
18607         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
18608         to 00100000.
18610 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18612         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
18614 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18616         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
18617         (__kernel_standard): Use CSTR macro when setting exc.name.
18618         * sysdeps/ieee754/Makefile [$(subdir) = math]
18619         (CFLAGS-k_standard.c): Remove variable.
18621         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
18622         setting p and q from "else if" to "else".
18623         (qzero): Likewise.
18624         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
18625         (qone): Likewise.
18626         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
18627         (qzerof): Likewise.
18628         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
18629         (qonef): Likewise.
18630         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
18631         (qzero): Likewise.
18632         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
18633         (qone): Likewise.
18635         [BZ #18038]
18636         [BZ #18039]
18637         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
18638         return pi/2 for arguments below 0x1p-113L.
18639         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
18640         return pi/2 for arguments below 0x1p-106L.
18641         * math/auto-libm-test-in: Add more tests of acos.
18642         * math/auto-libm-test-out: Regenerated.
18644         [BZ #16351]
18645         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
18646         (MO): New macro.
18647         (__ieee754_asin): Force underflow exception for results with small
18648         absolute value.
18649         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
18650         (MO): New macro.
18651         (__ieee754_asinf): Force underflow exception for results with
18652         small absolute value.
18653         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
18654         (__ieee754_asin): Force underflow exception for results with small
18655         absolute value.
18656         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
18657         (__ieee754_asinf): Force underflow exception for results with
18658         small absolute value.
18659         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
18660         (__ieee754_asinl): Force underflow exception for results with
18661         small absolute value.
18662         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
18663         (__ieee754_asinl): Force underflow exception for results with
18664         small absolute value.
18665         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
18666         (__ieee754_asinl): Force underflow exception for results with
18667         small absolute value.
18668         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18669         Include <math.h>.
18670         * math/auto-libm-test-in: Do not mark underflow exceptions as
18671         possibly missing for bug 16351.
18672         * math/auto-libm-test-out: Regenerated.
18674         [BZ #18030]
18675         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
18676         of power of 2 down when low part has opposite sign.
18677         * math/libm-test.inc (logb_test_data): Add more tests.
18679 2015-02-26  Andreas Schwab  <schwab@suse.de>
18681         [BZ #18032]
18682         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
18683         over collating symbol inside a bracket expression.  Minor cleanup.
18684         * posix/tst-fnmatch3.c (do_test): Add test case.
18686 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18688         [BZ #18029]
18689         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
18690         Adjust exponent of power of 2 down when low part has opposite
18691         sign.
18692         * math/libm-test.inc (ilogb_test_data): Add more tests.
18694 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
18696         [BZ #15969]
18697         * locale/findlocale.c (_nl_find_locale): Fix constness error in
18698         the previous change.
18700         [BZ #15969]
18701         * locale/findlocale.c (_nl_find_locale): Retry archive search
18702         after alias expansion.
18704 2015-02-25  Roland McGrath  <roland@hack.frob.com>
18706         * iconv/tst-iconv3.c (main): Converted to ...
18707         (do_test): ... this.
18708         (TEST_FUNCTION): New macro.
18709         Include test-skeleton.c.
18711         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
18712         (convert): Make function static.
18713         (test_unalign): Likewise.  Add const to argument pointee types.
18714         (main): Replace with static function do_test.
18715         Print "Succeeded." only if RET is zero.
18716         (TEST_FUNCTION): New macro.
18717         Include test-skeleton.c.
18719         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
18720         returns a null pointer.
18722 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18724         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
18725         to __memcpy_ppc only for static builds.
18727 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
18729         [BZ #18020]
18730         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
18731         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
18732         * math/auto-libm-test-in: Add more tests of asinh.
18733         * math/auto-libm-test-out: Regenerated.
18734         * sysdeps/i386/fpu/libm-test-ulps: Update.
18735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18737 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
18739         [BZ #15850]
18740         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
18741         and ip6_mtuinfo definitions here.
18742         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
18743         in this define too.  Update comment.
18745 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
18747         * elf/sprof.c (load_shobj): Tweak error message to match others.
18749 2015-02-24  Kevin Easton  <kevin@guarana.org>
18751         [BZ #16145] (partial fix)
18752         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
18753         to reduce lock contention.
18755 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
18757         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
18758         (struct timex): Update time comment.
18759         (ADJ_SETOFFSET): Define.
18761 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18763         [BZ #18019]
18764         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18765         2**56 not 2**28 as threshold for log (2x) formula.
18766         * math/auto-libm-test-in: Add more tests of acosh.
18767         * math/auto-libm-test-out: Regenerated.
18768         * sysdeps/i386/fpu/libm-test-ulps: Update.
18769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18771 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18773         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
18774         parenthesis around the buf assignment.
18775         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
18777 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18779         [BZ #16783]
18780         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
18781         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
18782         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
18783         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18784         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18785         * math/libm-test.inc (scalb_test_data): Add more tests.
18787 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18789         [BZ #17916]
18790         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
18791         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
18793 2015-02-24  Eric Rannaud  <e@nanocritical.com>
18795         [BZ #17523]
18796         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
18797         * io/bits/fcntl2.h (open): Use it.
18798         (openat): Likewise.
18799         * io/open.c (__libc_open): Likewise.
18800         * io/open64.c (__libc_open64): Likewise.
18801         * io/open64_2.c (__open64_2): Likewise.
18802         * io/open_2.c (__open_2): Likewise.
18803         * io/openat.c (__openat): Likewise.
18804         * io/openat64.c (__openat64): Likewise.
18805         * io/openat64_2.c (__openat64_2): Likewise.
18806         * io/openat_2.c (__openat_2): Likewise.
18807         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
18808         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
18809         * sysdeps/posix/open64.c (__libc_open64): Likewise.
18810         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18811         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18812         (__open_nocancel): Likewise.
18813         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18814         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18815         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
18817 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18819         [BZ #14841]
18820         * resolv/gethnamaddr.c (getanswer): Skip logging if
18821         RES_USE_DNSSEC is set.
18822         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18824 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18826         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
18828 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
18830         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18831         201304L, for Unicode 7.
18833 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
18835         [BZ #17836]
18836         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
18837         shared library.  Add gmon-start.os otherwise.
18838         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
18839         $(objpfx)gmon-start.os if builing shared library.
18840         ($(objpfx)g$(static-start-installed-name)): Likewise.
18842 2015-02-23  Andreas Schwab  <schwab@suse.de>
18844         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
18846 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18848         [BZ #17269]
18849         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
18850         (enlarge_userbuf): Likewise.
18852 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
18854         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
18855         * math/atest-exp.c (TIMEOUT): Adjust to 200.
18856         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
18857         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
18859 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
18861         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
18862         expression inside statement expression.
18864 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18866         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
18867         <sysdeps/nptl/lowlevellock.h> and remove macros and
18868         functions that are now defined there.
18869         (SYS_futex): Remove.
18870         (lll_compare_and_swap): Remove.
18871         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
18873 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
18875         [BZ #17999]
18876         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
18877         instead of scandirat.
18878         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
18879         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
18880         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
18881         __scandirat.
18882         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
18883         (__scandirat): Declare.  Use libc_hidden_proto.
18884         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
18885         Remove variable.
18886         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18888 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18890         [BZ #15319]
18891         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
18892         (MO): New macro.
18893         (__ieee754_atan2): For results with small absolute value, force
18894         underflow exception and remove excess range and precision from
18895         return value.
18896         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
18897         (MO): New macro.
18898         (__ieee754_atan2f): For results with small absolute value, force
18899         underflow exception and remove excess range and precision from
18900         return value.
18901         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
18902         (MO): New macro.
18903         (__atan): For results with small absolute value, force underflow
18904         exception and remove excess range and precision from return value.
18905         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
18906         (MO): New macro.
18907         (__atanf): For results with small absolute value, force underflow
18908         exception and remove excess range and precision from return value.
18909         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
18910         <math.h>.
18911         (__ieee754_atan2): Force underflow exception for results with
18912         small absolute value.
18913         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
18914         <math_private.h>.
18915         (atan): Force underflow exception for results with small absolute
18916         value.
18917         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
18918         (__atanf): Force underflow exception for results with small
18919         absolute value.
18920         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
18921         <math.h>.
18922         (__atanl): Force underflow exception for results with small
18923         absolute value.
18924         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
18925         (__atanl): Force underflow exception for results with small
18926         absolute value.
18927         * sysdeps/x86/fpu/bits/mathinline.h
18928         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
18929         (__ieee754_atan2): Only define inline for long double.
18930         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18931         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
18932         * math/auto-libm-test-in: Do not mark underflow exceptions as
18933         possibly missing for bug 15319.  Add more tests of atan2.
18934         * math/auto-libm-test-out: Regenerated.
18935         * math/libm-test.inc (casin_test_data): Do not mark underflow
18936         exceptions as possibly missing for bug 15319.
18937         (casinh_test_data): Likewise.
18938         * sysdeps/i386/fpu/libm-test-ulps: Update.
18940 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
18942         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
18943         * sysdeps/mips/bits/endian.h: Fix comments.
18945 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18947         [BZ #17996]
18948         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
18949         (hdestroy_r): Likewise.
18950         (hsearch_r): Likewise.
18951         (__hcreate_r): Declare and use libc_hidden_proto.
18952         (__hdestroy_r): Likewise.
18953         (__hsearch_r): Likewise.
18954         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
18955         (hcreate): Call __hcreate_r instead of hcreate_r.
18956         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
18957         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
18958         as weak alias of __hcreate_r.
18959         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
18960         __hdestroy_r.
18961         (hsearch_r): Rename to __hsearch_r and define as weak alias of
18962         __hsearch_r.
18963         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
18964         Remove variable.
18965         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18966         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18967         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18968         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18970 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18972         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
18973         arena_lock into a single arena_get.
18975 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
18977         * dl-reloc.c: Inlucde libc-internal.h.
18978         (_dl_try_allocate_static_tls): Call ALIGN_UP.
18979         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
18980         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
18981         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
18982         (grow_heap): Likewise.
18983         * malloc/malloc.c: Include libc-internal.h.
18984         (do_check_malloc): Call powerof2.
18985         (sysmalloc): Use pagesize. Call ALIGN_UP.
18986         (systrim): Use pagesize.
18987         (mremap_chunk): Use pagesize. Call ALIGN_UP.
18988         (__libc_valloc): Use pagesize.
18989         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
18991 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18993         [BZ #17991]
18994         * include/sys/resource.h (__getrlimit64): Declare.  Use
18995         libc_hidden_proto.
18996         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
18997         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
18998         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
18999         getrlimit64.
19000         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
19001         __getrlimit64.
19002         [!getrlimit64] (getrlimit64): Define as weak alias of
19003         __getrlimit64.  Use libc_hidden_weak.
19004         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
19005         using __getrlimit64 not __new_getrlimit64.
19006         (__GI_getrlimit64): Likewise.
19007         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
19008         Likewise.
19009         (__GI_getrlimit64): Likewise.
19010         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
19011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
19012         (getrlimit): Add __getrlimit64 alias.
19013         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
19014         Likewise.
19015         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
19016         Remove variable.
19017         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19018         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19020 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
19022         * libio/fileops.c: Add missing sys/mman.h
19023         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
19025 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19027         * manual/math.texi (Errors in Math Functions): Clarify goals
19028         regarding inexact and underflow exceptions.
19030 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19032         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
19033         * sysdeps/mips/memset.S: Ditto.
19035 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19037         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
19039 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19041         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
19042         (__v1longjmp): Remove versioned symbol.
19043         (__v1siglongjmp): Remove alias and versioned symbol.
19044         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
19045         (__v2siglongjmp): Likewise.
19047 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19049         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
19051 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
19053         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
19055 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19057         [BZ #17987]
19058         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
19059         zero result does not depend on the sign resulting from
19060         subtraction.
19061         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19062         Likewise.
19063         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19064         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19065         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19066         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19067         * math/libm-test.inc (remquo_test_data): Add more tests.
19069 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
19071         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
19072         Problem reported by J William Piggott.
19074 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19076         [BZ #17978]
19077         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
19078         products 4 * y and 2 * y where those would overflow.
19079         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19080         Likewise.
19081         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19082         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19083         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19084         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19085         * math/libm-test.inc (remquo_test_data): Add more tests.
19087         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
19089         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
19090         [defined _COMPILING_NEWLIB].
19091         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
19092         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
19094         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
19095         [!defined __mips_isa_rev || __mips_isa_rev < 6].
19097 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19099         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
19100         acquired.
19102 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
19104         [BZ #17792]
19105         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
19106         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
19107         HOST_STACK_END_ADDR): Likewise.
19109 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
19111         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
19112         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
19113         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
19115 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19117         * sysdeps/generic/c++-types.data: New file.
19118         * sysdeps/generic/ld.abilist: New file.
19119         * sysdeps/generic/libBrokenLocale.abilist: New file.
19120         * sysdeps/generic/libanl.abilist: New file.
19121         * sysdeps/generic/libc.abilist: New file.
19122         * sysdeps/generic/libcrypt.abilist: New file.
19123         * sysdeps/generic/libdl.abilist: New file.
19124         * sysdeps/generic/libm.abilist: New file.
19125         * sysdeps/generic/libpthread.abilist: New file.
19126         * sysdeps/generic/libresolv.abilist: New file.
19127         * sysdeps/generic/librt.abilist: New file.
19129 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19131         [BZ #17569]
19132         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19133         Compute absolute value of x as modified by fmod, not original
19134         value of x.
19135         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
19136         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
19137         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
19138         RUN_TEST_ffI_f1_mod8.
19139         (remquo_test_data): Add more tests.
19141 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19143         * sysdeps/init_array/pt-crti.S: New file.
19145 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19147         [BZ #17967]
19148         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
19149         __builtin_fmaf instead of relying on contraction of a * b + c.
19151 2015-02-12  J William Piggott  <elseifthen@gmx.com>
19153         [BZ #17969]
19154         * manual/time.texi: correct the zoneinfo path in the TZ Variable
19155         node.
19157 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19159         [BZ #17964]
19160         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
19161         __builtin_fma instead of relying on contraction of a * b + c.
19163 2015-02-12  Roland McGrath  <roland@hack.frob.com>
19165         * Makeconfig (ASFLAGS): Add -Werror=undef.
19166         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
19167         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
19168         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
19170         * Makeconfig (after-link): New variable.
19171         (+link-pie, +link-pie-tests): Use it.
19172         (+link-static, +link-static-tests): Likewise.
19173         (+link, +link-tests): Likewise.
19174         * Makerules (build-module, build-module-asneeded): Likewise.
19175         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
19176         Likewise.
19177         * elf/Makefile ($(objpfx)ld.so): Likewise.
19179 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
19181         [BZ #17965]
19182         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
19183         both struct timeval and struct timespec.
19185 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19187         [BZ #16560]
19188         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19189         and redefine.
19190         (__ieee754_exp2l): Do not multiply small fractional parts by
19191         M_LN2l.
19192         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
19193         small argument.
19194         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19195         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19196         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
19197         * math/auto-libm-test-in: Add more tests of exp2.
19198         * math/auto-libm-test-out: Regenerated.
19200 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19202         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
19203         unaligned path.
19205 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19207         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
19208         little endian.
19210 2015-02-12  Andreas Schwab  <schwab@suse.de>
19212         [BZ #15790]
19213         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19214         Filter out elision flags from value returned in kind.
19215         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
19216         * nptl/tst-pthread-mutexattr.c: New file.
19218 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19220         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
19221         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
19222         into gnu-gnu, and update comment to refer to abi-tags.
19224 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
19226         [BZ #15467]
19227         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
19228         (__sincos): Set errno to EDOM for infinite argument.
19229         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
19230         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
19231         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
19232         (__sincosl): Set errno to EDOM for infinite argument.
19233         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
19234         (__sincosl): Set errno to EDOM for infinite argument.
19235         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
19236         (__sincosl): Set errno to EDOM for infinite argument.
19237         * math/libm-test.inc (sincos_test_data): Test errno setting.
19239 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
19241         * string/strxfrm_l.c: Remove #define STRCMP.
19242         * string/strcoll_l.c: Remove #define STRLEN.
19243         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
19244         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
19246 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
19248         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
19249         * sysdeps/mips/mips32/sfp-machine.h: ... here.
19250         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
19251         * sysdeps/mips/mips64/Makefile: ... here.
19252         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
19253         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
19254         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
19255         * sysdeps/mips/mips64/sfp-machine.h: ... here.
19256         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
19257         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
19258         * sysdeps/mips/mips64/n64/Implies: Likewise.
19260 2015-02-10  Roland McGrath  <roland@hack.frob.com>
19262         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
19263         <sys/time.h>, <string.h>, and <errno.h>.
19264         (dest_offset, dest_address, value, zero): Remove unused variables.
19265         (ldouble): Remove typedef.
19266         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
19267         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
19268         1).  Fix code style.
19269         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
19270         (check): Function removed.
19271         (CHECK): New macro.
19272         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
19273         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
19274         Don't call set_sigaction_FP and remove_sigaction_FP here.
19275         (ldouble_test): Just use 'long double' as macro argument, no need for
19276         the 'ldouble' typedef.
19277         (do_test): Set up SIGFPE handler at start, using plain signal rather
19278         than sigaction.  Fix code style.
19280 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
19282         [BZ #17949]
19283         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
19284         jump label.
19286 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19288         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
19289         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19291         * sysdeps/powerpc/configure.ac: Remove file.
19292         * sysdeps/powerpc/configure: Likewise.
19294         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19295         [sysdep_routines]: Remove wordcopy-power6 object.
19296         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19297         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
19298         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
19299         (__memmove_ppc32): Likewise.
19300         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
19301         file.
19302         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
19303         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
19304         Remove preprocessor.
19306         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19307         [sysdep_routines]: Remove wide chars objects.
19308         [wcsmbs]: New rule for wide char objects.
19310         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19311         Remove wordcopy-power6 obejct.
19312         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
19313         Use local call for wordcopy and memcpy symbols.
19314         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
19315         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
19316         implementation for loader.
19317         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
19319         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19320         Remove wordcopy-power7 object.
19321         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
19322         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
19323         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
19324         (_wordcopy_fwd_dest_aligned): Likewise.
19325         (_wordcopy_bwd_aligned): Likewise.
19326         (_wordcopy_bwd_dest_aligned): Likewise.
19328         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
19329         Rewrite to call __memmove_ppc instead of include default
19330         implementation.
19332         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19333         Remove wide chars objects.
19334         [wcsmbs]: New rule for wide char objects.
19336 2015-02-09  Andreas Schwab  <schwab@suse.de>
19338         [BZ #17912]
19339         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19340         in terms of __O_DIRECTORY.
19342 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19344         * time/getdate.c: Include <stdbool.h>.
19345         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
19346         call PTR_MANGLE.
19347         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
19348         PTR_DEMANGLE.
19350 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
19352         Add ersatz _Static_assert on older C hosts
19353         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
19354         pre-C11 C platform that is not known to support _Static_assert.
19356 2015-02-07  Richard Braun  <rbraun@sceen.net>
19358         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
19359         sigstate.
19360         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
19362 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19364         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
19365         priority against unexistent AIO_PRIO_DELTA_MAX.
19366         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
19367         instead of int.
19368         * misc/fchflags.c (fchflags): Likewise.
19369         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
19370         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
19371         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
19372         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
19373         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
19374         Declare macros.
19375         [__USE_MISC] (chflags, fchflags): Declare functions.
19376         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
19377         EINVAL when nfds is greater than FD_SETSIZE.
19378         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
19379         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
19380         45.
19381         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
19382         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
19383         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
19384         MACH_RCV_TIMED_OUT.
19385         * hurd/hurd/signal.h (_hurd_self_sigstate,
19386         _hurd_critical_section_lock, _hurd_critical_section_unlock):
19387         Explicit casts from void *.
19388         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
19389         * abi-tags: Rename gnu-gnu os into gnu.
19391         [BZ #4719]
19392         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
19393         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
19394         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
19395         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
19396         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
19397         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
19399         [BZ #17944]
19400         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
19401         duplicates ADDR->sun_path with sockaddr LEN limitation.
19402         * sysdeps/mach/hurd/connect.c: Include <string.h>
19403         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
19404         * sysdeps/mach/hurd/sendmsg.c: Likewise.
19405         * sysdeps/mach/hurd/sendto.c: Likewise.
19406         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
19407         implementing it by hand.
19409 2015-02-06  Roland McGrath  <roland@hack.frob.com>
19411         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
19412         Use sfi_breg on ldr.
19413         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
19414         Likewise.
19416         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
19417         it's defined.
19418         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
19419         Test SIGSETXID only if it's defined.
19421         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
19423         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
19424         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
19426         * nptl/tst-align2.c: Moved ...
19427         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
19428         * nptl/Makefile (tests): Remove tst-align2.
19429         * sysdeps/unix/sysv/linux/Makefile
19430         [$(subdir) = nptl] (tests): Add tst-align-clone.
19431         * nptl/tst-getpid1.c: Moved ...
19432         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
19433         * nptl/tst-getpid2.c: Moved ...
19434         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
19435         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
19436         * sysdeps/unix/sysv/linux/Makefile
19437         [$(subdir) = nptl] (tests): ... here.
19438         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
19439         * sysdeps/unix/sysv/linux/Makefile
19440         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
19442         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
19443         Drop trailing \n from perror argument.  Use return rather than exit.
19445         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
19446         on [SA_SIGINFO].
19447         * nptl/tst-cancel21.c (do_test): Likewise.
19448         * debug/tst-backtrace6.c: Include <signal.h> first thing.
19449         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
19450         [!SA_SIGINFO]: Make it a stub test.
19452         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
19453         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
19455         * posix/tst-getlogin.c: Move to ...
19456         * login/tst-getlogin.c: ... here.
19457         * posix/Makefile (tests): Move tst-getlogin to ...
19458         * login/Makefile (tests): ... here.
19460         * libio/tst-atime.c (do_test): Move local variables SV and E
19461         inside [ST_NOATIME] conditional.
19463         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
19465         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
19467         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
19468         (wait_code): New function replaces macro.
19469         Call nanosleep rather than syscall.
19471         * nptl/pt-system.c: Rewritten.  Put everything under
19472         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19473         Use IFUNC to redirect when possible.
19475         * nptl/pt-longjmp.c: Rewritten.  Put everything under
19476         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19477         Use IFUNC to redirect when possible.
19479         * nptl/pt-fork.c: Rewritten.  Put everything under
19480         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19481         Use IFUNC to redirect when possible.
19482         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
19484         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
19485         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
19486         unconditionally nowadays.  This included the only reference to
19487         __vdso_clock_gettime that appears outside libc proper.
19488         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
19489         Remove version set (containing only __vdso_clock_gettime).
19490         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19491         Add attribute_hidden.
19492         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19493         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
19494         libc_hidden_data_def.
19495         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19496         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19498         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
19499         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
19500         setrpcent, and getrpcport to ...
19501         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
19502         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
19503         getrpcbynumber_r, and getrpcent_r to ...
19504         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
19505         * inet/getrpcbyname.c: Moved ...
19506         * sunrpc/getrpcbyname.c: ... here.
19507         * inet/getrpcbyname_r.c: Moved ...
19508         * sunrpc/getrpcbyname_r.c: ... here.
19509         * inet/getrpcbynumber.c: Moved ...
19510         * sunrpc/getrpcbynumber.c: ... here.
19511         * inet/getrpcbynumber_r.c: Moved ...
19512         * sunrpc/getrpcbynumber_r.c: ... here.
19513         * inet/getrpcent.c: Moved ...
19514         * sunrpc/getrpcent.c: ... here.
19515         * inet/getrpcent_r.c: Moved ...
19516         * sunrpc/getrpcent_r.c: ... here.
19517         * inet/Makefile (routines): Move those to ...
19518         * sunrpc/Makefile (routines): ... here.
19519         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
19520         the $(subdirs) list.
19521         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
19522         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
19523         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
19524         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
19526         * elf/Makefile (routines): Include $(all-dl-routines), not just
19527         $(dl-routines).
19528         (rtld-routines): Likewise.  Use = rather than :=.
19529         * sysdeps/aarch64/Makefile [$(subdir) = elf]
19530         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
19531         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
19532         * sysdeps/arm/Makefile: Likewise.
19533         * sysdeps/i386/Makefile: Likewise.
19534         * sysdeps/x86_64/Makefile: Likewise.
19535         * sysdeps/hppa/Makefile [$(subdir) = elf]
19536         (sysdep_routines, sysdep-rtld-routines): Don't add
19537         $(sysdep-dl-routines) to these.
19538         * sysdeps/ia64/Makefile: Likewise.
19539         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
19540         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
19541         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
19542         Don't add dl-static to these; sysdep-dl-routines alone is enough.
19543         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
19544         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
19545         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
19546         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
19547         * sysdeps/powerpc/Makefile [$(subdir) = elf]
19548         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
19549         these; sysdep-dl-routines alone is enough.
19551 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
19553         [BZ #17932]
19554         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
19555         where multiplication results in zero and third argument is finite
19556         and nonzero.
19557         * math/auto-libm-test-in: Add more tests of fma.
19558         * math/auto-libm-test-out: Regenerated.
19560         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
19561         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
19562         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
19563         (_FP_CMP_EQ): Likewise.
19564         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
19566         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
19567         extra argument CHECK_NAN.  Redefine as wrapper around
19568         _FP_EXTEND_CNAN.
19570 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
19572         * version.h (RELEASE): Set to "stable".
19573         (VERSION): Set to "2.21"
19574         * include/features.h (__GLIBC_MINOR__): Set to 21.
19576         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
19578 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19579             Paul Eggert  <eggert@cs.ucla.edu>
19581         [BZ #16618]
19582         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
19583         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
19584         size in bytes. Store needed elements in wpmax. Use needed size
19585         in bytes for extend_alloca.
19587 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
19589         * manual/install.texi: Latest tested versions are GCC 4.9.2,
19590         binutls 2.25, and texinfo 5.2.
19591         * INSTALL: Regenerate.
19592         * sysdeps/nios2/configure: Regenerate.
19593         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
19594         * manual/contrib.texi: Update.
19595         * po/be.po: Update.
19596         * po/bg.po: Update.
19597         * po/ca.po: Update.
19598         * po/cs.po: Update.
19599         * po/da.po: Update.
19600         * po/de.po: Update.
19601         * po/el.po: Update.
19602         * po/eo.po: Update.
19603         * po/es.po: Update.
19604         * po/fi.po: Update.
19605         * po/fr.po: Update.
19606         * po/gl.po: Update.
19607         * po/hr.po: Update.
19608         * po/hu.po: Update.
19609         * po/ia.po: Update.
19610         * po/id.po: Update.
19611         * po/it.po: Update.
19612         * po/ja.po: Update.
19613         * po/ko.po: Update.
19614         * po/lt.po: Update.
19615         * po/nb.po: Update.
19616         * po/nl.po: Update.
19617         * po/pl.po: Update.
19618         * po/pt_BR.po: Update.
19619         * po/ru.po: Update.
19620         * po/rw.po: Update.
19621         * po/sk.po: Update.
19622         * po/sl.po: Update.
19623         * po/sv.po: Update.
19624         * po/tr.po: Update.
19625         * po/uk.po: Update.
19626         * po/vi.po: Update.
19627         * po/zh_CN.po: Update.
19628         * po/zh_TW.po: Update.
19630         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
19631         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
19632         * sysdeps/hppa/dl-irel.h: Remove #warning.
19633         * sysdeps/hppa/entry.h: Provide prototype for
19634         __canonicalize_funcptr_for_compare and cast argument.
19635         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
19636         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
19637         * sysdeps/hppa/sotruss-lib.c: New file.
19638         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
19639         (atomic_compare_and_exchange_val_acq): Use __typeof__.
19640         (atomic_compare_and_exchange_bool_acq): Likewise.
19641         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
19642         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
19644         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
19645         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
19646         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
19648 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
19650         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
19651         called function in non-PIC case.
19653 2015-01-31  David S. Miller  <davem@davemloft.net>
19655         * sysdeps/sparc/sparc32/bits/atomic.h
19656         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
19657         unlock not after it.
19658         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
19659         volatile register usage warnings from the compiler.
19661         * sysdeps/sparc/nptl/sem_init.c: Delete.
19662         * sysdeps/sparc/nptl/sem_post.c: Delete.
19663         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
19664         * sysdeps/sparc/nptl/sem_wait.c: Delete.
19665         * sysdeps/sparc/sparc32/sem_init.c: New file.
19666         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
19667         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
19668         padding explicitly initialized.
19669         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
19670         padding for in-semaphore spinlock.
19671         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
19672         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
19673         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
19674         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
19675         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
19676         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
19677         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
19678         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
19679         version.
19680         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
19681         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
19683 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
19685         [BZ #17801]
19686         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19687         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
19688         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
19689         New.
19690         (index_AVX_Fast_Unaligned_Load): Likewise.
19691         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
19692         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
19693         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
19694         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
19695         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
19696         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
19697         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
19698         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
19699         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
19701 2015-01-29  Andreas Schwab  <schwab@suse.de>
19703         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
19705 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
19707         [BZ #17892]
19708         * nscd/nscd_stat.c (send_stats): Initialize DATA.
19710 2015-01-28  Martin Sebor  <msebor@redhat.com>
19712         * math/README.libm-test: Clarify. Add "How to read the test output."
19714 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
19716         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
19717         Define to 0.
19719 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
19721         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
19722         (__HAVE_64B_ATOMICS): Define to 0.
19724 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19726         [BZ #17885]
19727         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
19728         value to set as new flag.
19730         [BZ #16576]
19731         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
19732         and use _ARCH_PPCSQ instead.
19733         (__ieee754_sqrt): Likewise.
19734         (__ieee754_sqrtf): Likewise.
19735         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
19736         _ARCH_PPCSQ is defined.
19737         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
19738         fsqrt instruction.
19739         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
19740         _ARCH_PPCSQ is defined.
19741         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
19742         fsqrts instruction.
19743         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
19745 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19747         * iconv/loop.c: Suppress array out of bound warning caused by GCC
19748         bug (GCC BZ #64739).
19750 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
19752         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
19753         Mark _retval as used.
19754         (lll_futex_wake_unlock): Likewise.
19755         (lll_futex_timed_wait_requeue_pi): Likewise.
19757         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19758         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
19759         register variables.
19761         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
19762         libm_hidden_def.
19764         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
19765         (__bswap_64): Mark as __always_inline.
19767 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
19769         [BZ #15378]
19770         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
19771         when none of the search directories exist.
19773 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19775         [BZ #17869]
19776         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
19777         power8 in .machine directive.
19779         [BZ #17868]
19780         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
19781         set dependency from opd value.
19783 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19785         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19786         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
19787         architecture.
19789 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19791         [BZ #17870]
19792         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
19793         with uint64_t.
19794         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
19795         (uint64_t) 1.
19796         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
19797         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
19798         Replace 1UL with (uint64_t) 1.
19799         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
19800         int with uint64_t.
19802 2015-01-23  Roland McGrath  <roland@hack.frob.com>
19804         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
19805         (if_freenameindex): Likewise.
19807         * resource/getrlimit64.c: Add missing libc_hidden_def.
19809 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
19811         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
19812         __label__.
19813         (_FP_FMA): Likewise.
19814         (_FP_TO_INT_ROUND): Likewise.
19815         (_FP_FROM_INT): Likewise.
19817 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19819         [BZ #16418]
19820         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
19821         Make code racy and cancel safe.
19823 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
19825         * sysdeps/arm/unwind-resume.h: Fix copyright year.
19826         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
19827         attribution.
19829         * pwd/tst-getpw.c: Rewrite.
19831         [BZ #17702]
19832         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
19833         (modules-names): Add moddummy1 and moddummy2.
19834         ($(objpfx)tst-rec-dlopen): Define.
19835         * dlfcn/moddummy1.c: New file.
19836         * dlfcn/moddummy2.c: New file.
19837         * dlfcn/tst-rec-dlopen.c: New file.
19838         * elf/dl-cache.c (_dl_load_cache_lookup):
19839         Return char*. Copy result with alloca/strcpy/strdup.
19840         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
19841         returns char*. Free cached. If not saving realname
19842         free cached.
19843         * elf/dl-open.c (dl_open_worker): Do not assert that
19844         _r_debug->r_state is RT_CONSISTENT.
19845         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
19846         returns char*.
19848 2015-01-21  Torvald Riegel  <triegel@redhat.com>
19849             Carlos O'Donell  <carlos@redhat.com>
19851         [BZ #12674]
19852         * nptl/sem_waitcommon.c: New file.
19853         * nptl/sem_wait.c: Include sem_waitcommon.c.
19854         (__sem_wait_cleanup, do_futex_wait): Remove.
19855         (__new_sem_wait): Adapt.
19856         (__new_sem_trywait): New function.
19857         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
19858         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
19859         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
19860         (sem_timedwait): Adapt.
19861         * nptl/sem_post.c (__new_sem_post): Adapt.
19862         (futex_wake): New function.
19863         (__old_sem_post): Add release MO fence.
19864         * nptl/sem_open.c (sem_open): Adapt.
19865         * nptl/sem_init.c (__new_sem_init): Adapt.
19866         (futex_private_if_supported): New function.
19867         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
19868         (__old_sem_getvalue): Add using previous code.
19869         * sysdeps/nptl/internaltypes.h: Adapt.
19870         * nptl/tst-sem13.c (do_test): Adapt.
19871         * nptl/tst-sem11.c (main): Adapt.
19872         * nptl/sem_trywait.c: Remove.
19873         * nptl/DESIGN-sem.txt: Remove.
19874         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
19875         (gen-as-const-headers): Remove structsem.sym.
19876         * nptl/structsem.sym: Remove.
19877         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
19878         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
19879         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
19880         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
19881         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
19882         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
19883         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
19884         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
19885         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
19886         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
19887         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
19888         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
19889         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
19890         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
19891         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
19892         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
19893         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
19894         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
19895         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
19896         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
19897         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
19898         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
19900 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
19902         * INSTALL: Regenerated.
19904         * po/libc.pot: Regenerated.
19906 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
19907             Sandra Loosemore  <sandra@codesourcery.com>
19908             Andrew Jenner  <andrew@codesourcery.com>
19909             Joseph Myers  <joseph@codesourcery.com>
19910             Nathan Sidwell  <nathan@codesourcery.com>
19912         * NEWS: Mention new Nios II port.
19913         * sysdeps/nios2/Implies: New file.
19914         * sysdeps/nios2/Makefile: New file.
19915         * sysdeps/nios2/Subdirs: New file.
19916         * sysdeps/nios2/Versions: New file.
19917         * sysdeps/nios2/__longjmp.S: New file.
19918         * sysdeps/nios2/abort-instr.h: New file.
19919         * sysdeps/nios2/backtrace.c: New file.
19920         * sysdeps/nios2/bits/endian.h: New file.
19921         * sysdeps/nios2/bits/fenv.h: New file.
19922         * sysdeps/nios2/bits/link.h: New file.
19923         * sysdeps/nios2/bits/setjmp.h: New file.
19924         * sysdeps/nios2/bsd-_setjmp.S: New file.
19925         * sysdeps/nios2/bsd-setjmp.S: New file.
19926         * sysdeps/nios2/configure: New generated file.
19927         * sysdeps/nios2/configure.ac: New file.
19928         * sysdeps/nios2/crti.S: New file.
19929         * sysdeps/nios2/crtn.S: New file.
19930         * sysdeps/nios2/dl-init.c: New file.
19931         * sysdeps/nios2/dl-machine.h: New file.
19932         * sysdeps/nios2/dl-sysdep.h: New file.
19933         * sysdeps/nios2/dl-tls.h: New file.
19934         * sysdeps/nios2/dl-trampoline.S: New file.
19935         * sysdeps/nios2/gccframe.h: New file.
19936         * sysdeps/nios2/gmp-mparam.h: New file.
19937         * sysdeps/nios2/jmpbuf-offsets.h: New file.
19938         * sysdeps/nios2/jmpbuf-unwind.h: New file.
19939         * sysdeps/nios2/ldsodefs.h: New file.
19940         * sysdeps/nios2/libc-tls.c: New file.
19941         * sysdeps/nios2/libm-test-ulps: New file.
19942         * sysdeps/nios2/machine-gmon.h: New file.
19943         * sysdeps/nios2/math-tests.h: New file.
19944         * sysdeps/nios2/math_private.h: New file.
19945         * sysdeps/nios2/memusage.h: New file.
19946         * sysdeps/nios2/nptl/Makefile: New file.
19947         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
19948         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
19949         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
19950         * sysdeps/nios2/nptl/pthreaddef.h: New file.
19951         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
19952         * sysdeps/nios2/nptl/tls.h: New file.
19953         * sysdeps/nios2/preconfigure: New file.
19954         * sysdeps/nios2/s_fma.c: New file.
19955         * sysdeps/nios2/s_fmaf.c: New file.
19956         * sysdeps/nios2/setjmp.S: New file.
19957         * sysdeps/nios2/sfp-machine.h: New file.
19958         * sysdeps/nios2/sotruss-lib.c: New file.
19959         * sysdeps/nios2/stackguard-macros.h: New file.
19960         * sysdeps/nios2/stackinfo.h: New file.
19961         * sysdeps/nios2/start.S: New file.
19962         * sysdeps/nios2/sysdep.h: New file.
19963         * sysdeps/nios2/tls-macros.h: New file.
19964         * sysdeps/nios2/tst-audit.h: New file.
19965         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
19966         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
19967         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
19968         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
19969         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
19970         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
19971         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
19972         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
19973         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
19974         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
19975         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
19976         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
19977         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
19978         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
19979         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
19980         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
19981         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
19982         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
19983         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
19984         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
19985         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
19986         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
19987         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
19988         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
19989         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
19990         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
19991         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
19992         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
19993         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
19994         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
19995         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
19996         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
19997         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
19998         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
19999         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
20000         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
20001         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
20002         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
20003         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
20004         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
20005         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
20006         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
20007         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
20008         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
20010 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20012         [BZ #17844]
20013         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
20014         (getutent): Use weak_alias in non SHARED case
20015         and default_symbol_version in SHARED case.
20016         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
20017         (getutent_r, pututline): Likewise.
20018         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
20019         (getutid): Likewise.
20020         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
20021         (getutid_r): Likewise.
20022         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
20023         (getutline): Likewise.
20024         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
20025         (getutline_r): Likewise.
20026         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
20027         (updwtmp): Likewise.
20029 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20031         [BZ #17848]
20032         * sysdeps/s390/s390-32/memcmp.S
20033         (memcmp_g5): Rename to __memcmp_g5.
20034         * sysdeps/s390/s390-32/memcpy.S
20035         (memcpy_g5): Rename to __memcpy_g5.
20036         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20037         (memcpy_mvcle) Rename to __memcpy_mvcle.
20038         * sysdeps/s390/s390-32/memset.S
20039         (memset_g5): Rename to __memset_g5.
20040         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20041         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20042         and use prefixed functions.
20043         * sysdeps/s390/s390-32/multiarch/memcmp.S
20044         (memcmp_z196): Rename to __memcmp_z196.
20045         (memcmp_z10): Rename to __memcmp_z10.
20046         (memcmp): Set alias to __memcmp_g5.
20047         (bcmp): Set alias to __memcmp_g5.
20048         * sysdeps/s390/s390-32/multiarch/memcpy.S
20049         (memcpy_z196): Rename to __memcpy_z196.
20050         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20051         (memcpy_z10): Rename to __memcpy_z10.
20052         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20053         (memcpy): Set alias to __memcpy_g5.
20054         * sysdeps/s390/s390-32/multiarch/memset.S
20055         (memset_z196): Rename to __memset_z196.
20056         Jump to __memset_mvcle instead of memset_mvcle.
20057         (memset_z10): Rename to __memset_z10.
20058         Jump to __memset_mvcle instead of memset_mvcle.
20059         (memset_mvcle) Rename to __memset_mvcle.
20060         (memset): Set alias to __memset_g5.
20061         * sysdeps/s390/s390-64/memcmp.S
20062         (memcmp_z900): Rename to __memcmp_z900.
20063         * sysdeps/s390/s390-64/memcpy.S
20064         (memcpy_z900): Rename to __memcpy_z900.
20065         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20066         (memcpy_mvcle) Rename to __memcpy_mvcle.
20067         * sysdeps/s390/s390-64/memset.S
20068         (memset_z900): Rename to __memset_z900.
20069         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
20070         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20071         and use prefixed functions.
20072         * sysdeps/s390/s390-64/multiarch/memcmp.S
20073         (memcmp_z196): Rename to __memcmp_z196.
20074         (memcmp_z10): Rename to __memcmp_z10.
20075         (memcmp): Set alias to __memcmp_z900.
20076         (bcmp): Set alias to __memcmp_z900.
20077         * sysdeps/s390/s390-64/multiarch/memcpy.S
20078         (memcpy_z196): Rename to __memcpy_z196.
20079         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20080         (memcpy_z10): Rename to __memcpy_z10.
20081         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20082         (memcpy): Set alias to __memcpy_z900.
20083         * sysdeps/s390/s390-64/multiarch/memset.S
20084         (memset_z196): Rename to __memset_z196.
20085         Jump to __memset_mvcle instead of memset_mvcle.
20086         (memset_z10): Rename to __memset_z10.
20087         Jump to __memset_mvcle instead of memset_mvcle.
20088         (memset_mvcle) Rename to __memset_mvcle.
20089         (memset): Set alias to __memset_z900.
20091 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
20093         [BZ #17748]
20094         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
20095         __fesetenv instead of fesetenv.
20097 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20099         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
20100         macro.
20102 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20104         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
20105         regression on LE.
20107         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
20108         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
20109         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20110         strncmp-power8 object.
20111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20112         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
20113         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
20114         * NEWS: Update.
20116 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20117             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20119         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
20120         trailing byte check.
20122 2015-01-13  David S. Miller  <davem@davemloft.net>
20124         * include/signal.h (__sigreturn): Guard with __USE_MISC.
20126 2015-01-13  Roland McGrath  <roland@hack.frob.com>
20128         * login/logout.c (logout): Use memset rather than bzero.
20129         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
20130         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
20131         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
20132         (_gethtbyaddr): Likewise.
20133         * locale/programs/simple-hash.c (bcopy): Macro removed.
20135 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20137         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20138         Add strcmp-power8 object.
20139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20140         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
20141         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
20142         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
20143         __strcmp_power8 implementation.
20144         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
20145         * NEWS: Update.
20147         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20148         Add strncpy-power8 and stpncpy-power8 objects.
20149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20150         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
20151         implementations.
20152         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
20153         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
20154         __stpncpy_power8 implementation.
20155         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
20156         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
20157         __strncpy_power8 implementation.
20158         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
20159         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
20160         * NEWS: Update.
20162         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
20163         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
20164         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
20166         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20167         strncat-power8 object.
20168         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
20169         __strcat_power8 implementation.
20170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20171         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
20172         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
20173         optimized strcat for power8.
20175         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20176         strcpy-power8 and stpcpy-power8 objects.
20177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20178         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
20179         implementations.
20180         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
20181         multiarch stpcpy implementation for POWER8.
20182         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
20183         multiarch strcpy implementation for POWER8.
20184         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
20185         __strcpy_power8 function.
20186         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
20187         stpcpy for POWER8.
20188         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
20189         strcpy for POWER8.
20190         * NEWS: Update.
20192 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
20194         [BZ #16009]
20195         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
20196         weights and rules. Use do_xfrm_cached if data fits in cache,
20197         do_xfrm otherwise.  Moved former main loop to...
20198         * (do_xfrm_cached): New function.
20199         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
20200         find_idx, find_position and stack_push.
20201         * (find_idx): New function.
20202         * (find_position): Likewise.
20203         * localedata/sort-test.sh: Added test run for do_xfrm.
20204         * localedata/xfrm-test.c (main): Added command line option
20205         -nocache to run the test with strings that are too large for
20206         the STRXFRM cache.
20208 2015-01-13  Torvald Riegel  <triegel@redhat.com>
20210         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
20211         variable to lll_futex_wake call, not the value itself.
20213 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
20215         [BZ #17803]
20216         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
20217         twom64.  Adjust value to 0x1p-64L.
20218         (__scalblnl): Only return standard underflowing result for K <=
20219         -64 not K <= -63; adjust exponent for underflowing result by 64
20220         not 63.
20221         * math/libm-test.inc (scalbn_test_data): Add more tests.
20222         (scalbln_test_data): Likewise.
20224         [BZ #17834]
20225         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
20226         0x1p63L.
20227         (__scalblnl): Get new exponent of adjusted subnormal value from ES
20228         not HX.
20229         * math/libm-test.inc (scalbn_test_data): Add more tests.
20230         (scalbln_test_data): Likewise.
20232 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20233             Stefani Seibold  <stefani@seibold.net>
20235         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
20236         (sysdep_routines): Add dl-vdso here, ...
20237         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
20238         (sysdep_routines): ... not here.
20239         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
20240         fallback when vDSO is not presented.
20241         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20242         Define with libc_hidden_proto/libc_hidden_data_def definitions.
20243         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
20244         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
20245         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
20246         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
20247         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
20248         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
20249         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
20250         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
20251         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
20252         fallback configurable symbol when vDSO is not available.
20253         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
20254         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
20255         be able to redefine fallback symbol when vDSO is not available.
20256         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
20257         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
20259 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20261         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
20262         (TLS_INIT_TP): Add tm_capable initialization.
20263         (TLS_DEFINE_INIT_TP): Likewise.
20264         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
20265         TCB.
20266         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
20267         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
20268         calculation.
20269         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
20270         transactoion is lock elision is built and TCB tm_capable is set.
20271         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
20272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20273         (INTERNAL_SYSCALL_NCS): Likewise.
20274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20275         (INTERNAL_SYSCALL_NCS): Likewise.
20276         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
20278         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
20279         for powerpc.
20280         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20281         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
20282         and remove it for 32 bits case.
20283         [pthread_rwlock_t] (__rwelision): New field for lock elision.
20284         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
20285         initialization.
20286         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
20287         Disable lock elision with rdlocks if elision is not available.
20289         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
20290         (sysdep_routines): Add lock elision objects.
20291         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20292         [pthread_mutex_t] (__spins): Rework to add lock elision field.
20293         [pthread_mutex_t] (__elision): Add field.
20294         [__PTHREAD_SPINS]: Adjust to init lock elision field.
20295         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
20296         elision definitions for powerpc.
20297         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
20298         implementation of lock elision for powerpc.
20299         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
20300         implementation of timed lock elision for powerpc.
20301         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
20302         implementation of trylock with lock elision for powerpc.
20303         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
20304         implementaion of unlock for lock elision for powerpc.
20305         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
20306         automatic enable lock elision for mutexes.
20307         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
20308         transaction execution definitions for powerpc.
20309         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
20310         definitions.
20311         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
20312         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
20313         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
20314         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
20315         * NEWS: Update.
20317 2015-01-09  Roland McGrath  <roland@hack.frob.com>
20319         * sysdeps/posix/shm-directory.c: Use <> rather than ""
20320         for #include of <shm-directory.h>.
20322 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
20324         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
20325         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
20327 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
20329         [BZ #17791]
20330         * NEWS: Mention bug fix.
20331         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
20332         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
20333         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
20335 2015-01-09  Torvald Riegel <triegel@redhat.com>
20337         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
20339 2015-01-09  Torvald Riegel <triegel@redhat.com>
20341         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
20343 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20345         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
20346         pointer and cast to uintptr_t.
20348 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20350         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
20351         removed.
20352         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
20354 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20356         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
20357         of 0.
20359 2015-01-08  Roland McGrath  <roland@hack.frob.com>
20361         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
20362         <nptl/pthreadP.h> instead.
20363         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
20365         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
20366         already defined.
20367         [__SIGRTMIN] (init): Function removed.
20368         [__SIGRTMIN] (initialized): Variable removed.
20369         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
20370         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
20371         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
20372         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
20373         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
20374         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
20375         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
20376         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
20377         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
20378         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
20379         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
20380         * sysdeps/nptl/allocrtsig.c: New file.
20381         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
20382         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
20383         * sysdeps/generic/testrtsig.h: File removed.
20385         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
20386         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
20388         * nptl/nptl-init.c (pthread_functions): Conditionalize
20389         .ptr__nptl_setxid initialization on [SIGSETXID].
20391         * sysdeps/nptl/sys/procfs.h: New file.
20392         * nptl_db/Makefile (headers): Add it.
20393         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
20395         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
20396         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
20397         * nptl/pthread_attr_setaffinity.c: Include it.
20398         * nptl/pthread_setattr_default_np.c: Likewise.
20399         * nptl/check-cpuset.h: New file.
20401 2015-01-08  Richard Henderson  <rth@redhat.com>
20403         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
20404         (CFLAGS-tst-execstack-prog.c): Likewise.
20405         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
20407 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
20408             Sandra Loosemore  <sandra@codesourcery.com>
20409             Andrew Jenner  <andrew@codesourcery.com>
20410             Joseph Myers  <joseph@codesourcery.com>
20411             Nathan Sidwell  <nathan@codesourcery.com>
20413         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
20414         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
20415         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
20416         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
20417         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
20418         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
20419         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
20420         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
20421         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
20422         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
20423         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
20424         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
20425         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
20426         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
20427         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
20428         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
20429         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
20431 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20433         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
20434         timespec struct member in syscall macro.
20435         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20436         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
20437         first timeval struct member in syscall macro.
20438         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
20440 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
20442         [BZ #17748]
20443         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
20444         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
20445         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
20446         __feupdateenv and define as weak alias of __feupdateenv.  Use
20447         libm_hidden_weak.
20448         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
20449         libm_hidden_def.
20450         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
20451         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
20452         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20453         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
20454         libm_hidden_def.
20455         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
20456         __feupdateenv and define as weak alias of __feupdateenv.  Use
20457         libm_hidden_weak.
20458         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
20459         libm_hidden_def.
20460         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
20461         __feupdateenv and define as weak alias of __feupdateenv.  Use
20462         libm_hidden_weak.
20463         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
20464         libm_hidden_def.
20465         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20466         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20467         (__feupdateenv): Likewise.
20468         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
20469         __feupdateenv and define as weak alias of __feupdateenv.  Use
20470         libm_hidden_weak.
20471         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20472         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
20473         libm_hidden_def.
20474         * sysdeps/tile/math_private.h (__feupdateenv): New inline
20475         function.
20476         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
20477         libm_hidden_def.
20478         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
20479         __feupdateenv instead of feupdateenv.
20480         (default_libc_feupdateenv_test): Likewise.
20481         (libc_feresetround_ctx): Likewise.
20483 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20485         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
20486         prototype.
20488 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
20490         * posix/regcomp.c (parse_bracket_exp): Initialize type to
20491         COLL_SYM in a couple of places to avoid uninitialized variable
20492         wanings on tilegx gcc 4.8.2.
20494 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20496         * sysdeps/aarch64/strcpy.S: New file.
20497         * sysdeps/aarch64/stpcpy.S: New file.
20498         * NEWS: Updated.
20500 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20502         * sysdeps/aarch64/strrchr.S: New file.
20503         * NEWS: Updated.
20505 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
20507         [BZ #17658]
20508         * stdlib/setenv.c: Fix memory leak when setting large,
20509         duplicate string.
20511 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
20513         [BZ #17273]
20514         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
20515         and tabs from buffer before parsing fstab entry.
20516         * misc/tst-mntent.c (main): Add test for mount entry with
20517         trailing spaces and tabs.
20519 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
20521         [BZ #17748]
20522         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
20523         * math/fesetround.c (fesetround): Rename to __fesetround and
20524         define as weak alias of __fesetround.  Use libm_hidden_weak.
20525         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
20526         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
20527         * sysdeps/arm/fesetround.c (fesetround): Likewise.
20528         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
20529         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
20530         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
20531         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
20532         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
20533         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
20534         __fesetround_inline.
20535         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
20536         __fesetround_inline instead of __fesetround.
20537         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
20538         __fesetround and define as weak alias of __fesetround.  Use
20539         libm_hidden_weak.  Call __fesetround_inline instead of
20540         __fesetround.
20541         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
20542         __fesetround and define as weak alias of __fesetround.  Use
20543         libm_hidden_weak.
20544         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
20545         Likewise.
20546         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
20547         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20548         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
20549         * sysdeps/tile/math_private.h (__fesetround): New inline function.
20550         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
20551         __fesetround and define as weak alias of __fesetround.  Use
20552         libm_hidden_weak.
20553         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
20554         __fesetround instead of fesetround.
20555         (default_libc_feholdexcept_setround): Likewise.
20556         (libc_feholdsetround_ctx): Likewise.
20557         (libc_feholdsetround_noex_ctx): Likewise.
20559         [BZ #17748]
20560         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
20561         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
20562         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20563         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20564         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20565         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
20566         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20567         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20568         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20569         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20570         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20571         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20572         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20573         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20574         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
20575         libm_hidden_def.
20576         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
20577         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
20578         Likewise.
20579         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20580         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20581         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20582         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20583         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
20584         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20585         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20586         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
20587         __fesetenv instead of fesetenv.
20588         (libc_feresetround_noex_ctx): Likewise.
20589         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20590         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20591         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
20592         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20593         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20594         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20595         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20596         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20597         (__feupdateenv): Likewise.
20598         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20599         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20600         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20601         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
20603 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20605         [BZ #17806]
20606         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
20607         addresses have been freed.
20609 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20611         * resolv/res_init.c (__res_vinit): Improve comments about nserv
20612         and nservall.
20614 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
20616         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
20617         Clean up check_pf allocation pattern. addresses
20619 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20621         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
20622         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
20623         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
20624         * nptl/pthread_exit.c (__pthread_exit): Likewise.
20625         * nptl/pthread_join.c (pthread_join): Likewise.
20626         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20627         * sysdeps/posix/waitid.c (__waitid): Likewise.
20628         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20629         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20630         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20631         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20632         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20633         Likewise.
20634         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20635         (__libc_pread64): Likewise.
20636         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20637         (__libc_pwrite): Likewise.
20638         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20639         (__libc_pwrite64): Likewsie.
20640         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20641         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20642         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20643         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20644         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20645         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20646         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20648         Likewise.
20649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20650         (__libc_pread64): Likewise.
20651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
20652         Likewise.
20653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20654         (__libc_pwrite64): Likewise.
20655         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20656         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20657         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
20658         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
20659         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20660         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20661         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
20662         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20663         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20664         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20665         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
20666         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20667         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20668         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
20669         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20670         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20671         Likewise.
20673 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20675         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
20676         (CFLAGS-test-double.c): Likewise.
20677         (CFLAGS-test-ldouble.c): Likewise.
20678         (CPPFLAGS-test-ifloat.c): Likewise.
20679         (CPPFLAGS-test-idouble.c): Likewise.
20680         (CPPFLAGS-test-ildoubl.c): Likewise.
20681         (CFLAGS-test-test-fenv.c): Remove variable.
20682         (CFLAGS-test-misc.c): Likewise.
20684 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
20686         [BZ #17797]
20687         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
20688         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
20689         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
20690         CLOCKS_PER_SEC == 1000000.
20691         * time/clocktest.c (main): Replace %ld with %jd and cast to
20692         intmax_t.
20694 2015-01-05  Roland McGrath  <roland@hack.frob.com>
20696         * sysdeps/generic/unwind-resume.h: New file.
20697         * sysdeps/gnu/unwind-resume.c: Include it.
20698         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
20699         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
20700         argument list.
20701         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
20702         global rather than static.
20703         (_Unwind_Resume): Update user.
20704         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
20705         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
20706         rather than static.  Add __attribute__ ((cold)).
20707         (_Unwind_Resume, __gcc_personality_v0): Update callers.
20708         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
20709         * sysdeps/arm/arm-unwind-resume.S: New file.
20710         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
20711         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
20712         * sysdeps/arm/Makefile [$(subdir) = csu]
20713         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
20714         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20715         Add rt-arm-unwind-resume.
20716         [$(subdir) = nptl]
20717         (libpthread-sysdep_routines, libpthread-shared-only-routines):
20718         Add pt-arm-unwind-resume.
20719         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
20720         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
20722 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20724         [BZ #17748]
20725         * include/fenv.h (__feholdexcept): Declare.  Use
20726         libm_hidden_proto.
20727         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
20728         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
20729         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20730         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
20731         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
20732         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
20733         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
20734         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20735         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
20736         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
20737         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20738         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
20739         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
20740         (feholdexcept): Likewise.
20741         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20742         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20743         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20744         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20745         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
20746         __feholdexcept instead of feholdexcept.
20747         (default_libc_feholdexcept_setround): Likewise.
20749 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20751         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
20752         to avoid using stl/str to align destination.
20754 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20756         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
20758 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20760         [BZ #17796]
20761         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
20762         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
20763         Define as weak alias not strong alias.
20765 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20767         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
20768         bltzal with addiupc.
20769         (RTLD_START): Ditto.
20771 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
20773         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
20774         for __vdso_* functions in declarations.
20775         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
20776         definitions.
20777         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
20778         INTERNAL_VSYSCALL): Use struct return types to check for error.
20780         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
20781         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
20782         function with cast from llround().
20783         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
20784         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
20785         Define.
20787 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20789         [BZ #17793]
20790         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
20791         Define as weak alias not strong alias.
20793         [BZ #17635]
20794         * ctype/ctype-c99.c: New file.  isblank implementation moved from
20795         ...
20796         * ctype/ctype-extn.c: ... here.
20797         (__isblank_l): Move to ...
20798         * ctype/ctype-c99_l.c: ... here.  New file.
20799         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
20800         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
20801         Remove variable.
20802         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20803         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20804         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20805         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20806         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20808         [BZ #17777]
20809         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
20810         (posix_fadvise64): Define as weak alias not strong alias.
20811         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20812         (posix_fallocate64): Likewise.
20813         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
20814         Remove variable.
20815         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20816         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20817         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20818         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20819         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20821 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
20823         [BZ #16191]
20824         * NEWS: Mention bug fix.
20825         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
20826         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
20827         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
20828         (HOST_STACK_END_ADDR): Likewise.
20830 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20832         [BZ #17748]
20833         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
20834         * math/fegetround.c (fegetround): Rename to __fegetround and
20835         define as weak alias of __fegetround.  Use libm_hidden_weak.
20836         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
20837         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
20838         * sysdeps/arm/fegetround.c (fegetround): Likewise.
20839         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
20840         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20841         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
20842         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
20843         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
20844         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20845         Undefine after rather than before function definition; use
20846         parentheses around function name in definition.
20847         (__fegetround): Also undefine macro after function definition.
20848         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
20849         __fegetround and define as weak alias of __fegetround.  Use
20850         libm_hidden_weak.  Do not undefine as macro.
20851         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20852         Likewise.
20853         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
20854         __fegetround and define as weak alias of __fegetround.  Use
20855         libm_hidden_weak.
20856         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20857         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20858         * sysdeps/tile/math_private.h (__fegetround): New inline function.
20859         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
20860         __fegetround and define as weak alias of __fegetround.  Use
20861         libm_hidden_weak.
20862         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
20863         __fegetround instead of fegetround.
20865         [BZ #17782]
20866         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
20867         Condition macro definition on [__USE_MISC].
20869         [BZ #17781]
20870         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
20871         (struct sigaction): Change type of sa_flags field to int.
20873         [BZ #17780]
20874         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
20875         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
20876         __glibc_reserved0.
20878         * nptl/version.c (banner): Use single year in copyright notice.
20880         * NEWS: Update copyright dates.
20881         * catgets/gencat.c (print_version): Likewise.
20882         * csu/version.c (banner): Likewise.
20883         * debug/catchsegv.sh: Likewise.
20884         * debug/pcprofiledump.c (print_version): Likewise.
20885         * debug/xtrace.sh (do_version): Likewise.
20886         * elf/ldconfig.c (print_version): Likewise.
20887         * elf/ldd.bash.in: Likewise.
20888         * elf/pldd.c (print_version): Likewise.
20889         * elf/sotruss.sh: Likewise.
20890         * elf/sprof.c (print_version): Likewise.
20891         * iconv/iconv_prog.c (print_version): Likewise.
20892         * iconv/iconvconfig.c (print_version): Likewise.
20893         * locale/programs/locale.c (print_version): Likewise.
20894         * locale/programs/localedef.c (print_version): Likewise.
20895         * login/programs/pt_chown.c (print_version): Likewise.
20896         * malloc/memusage.sh (do_version): Likewise.
20897         * malloc/memusagestat.c (print_version): Likewise.
20898         * malloc/mtrace.pl: Likewise.
20899         * manual/libc.texinfo: Likewise.
20900         * nptl/version.c (banner): Likewise.
20901         * nscd/nscd.c (print_version): Likewise.
20902         * nss/getent.c (print_version): Likewise.
20903         * nss/makedb.c (print_version): Likewise.
20904         * posix/getconf.c (main): Likewise.
20905         * scripts/test-installation.pl: Likewise.
20906         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20908 2015-01-02  Will Newton  <will.newton@linaro.org>
20910         * sysdeps/arm/armv7/configure: Removed.
20911         * sysdeps/arm/armv7/configure.ac: Likewise.
20913 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20915         * All files with FSF copyright notices: Update copyright dates
20916         using scripts/update-copyrights.
20917         * intl/plural.c: Regenerated.
20918         * locale/programs/charmap-kw.h: Likewise.
20919         * locale/programs/locfile-kw.h: Likewise.
20921 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20923         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
20925 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20927         [BZ #17748]
20928         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
20929         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
20930         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20931         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20932         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20933         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
20934         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20935         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
20936         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20937         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20938         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20939         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20940         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20941         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20942         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
20943         libm_hidden_def.
20944         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
20945         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
20946         Likewise.
20947         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20948         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20949         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20950         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20951         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
20952         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20953         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20954         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
20955         __fegetenv instead of fegetenv.
20956         (libc_feholdsetround_noex_ctx): Likewise.
20958 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20960         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
20961         (Elf_MIPS_ABIFlags_v0): New structure.
20962         (EF_MIPS_FP64): Define.
20963         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
20964         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
20965         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
20966         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
20967         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
20968         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
20969         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
20970         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
20971         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
20972         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
20973         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
20974         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
20975         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
20976         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
20977         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
20978         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
20979         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
20980         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
20981         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
20982         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
20983         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
20984         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
20985         field.
20986         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
20987         EF_MIPS_FP64.
20988         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
20989         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
20990         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
20991         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
20992         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
20993         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
20994         * sysdeps/mips/tst-abi-interlink.c: Likewise.
20995         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
20996         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
20997         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
20998         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
20999         record the current FP ABI extension.
21000         (mips-mode-switch): Define to show if kernel headers support mode
21001         switching.
21002         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21003         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
21004         supported SYSV ABI version to 3.
21005         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
21006         feature.
21008 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21009             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21011         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
21012         path.
21013         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
21015 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21017         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
21018         __fegetround and redefine to call __fegetround.  Remove condition
21019         on [!__NO_MATH_INLINES].
21020         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
21021         function.
21022         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
21023         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21024         Remove macro.
21025         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
21026         instead of <fenv_libc.h>.
21027         (__llrintl): Call fegetround instead of __fegetround.
21028         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
21029         instead of <fenv_libc.h>.
21030         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21031         (__lrintl): Call fegetround instead of __fegetround.
21032         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
21033         instead of <fenv_libc.h>.
21034         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21035         (__rintl): Call fegetround instead of __fegetround.
21037 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21039         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
21040         arrays.
21042 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21044         [BZ #17775]
21045         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
21046         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
21047         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
21049 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21051         * sysdeps/i386/tls-macros.h: Include <features.h>.
21052         (TLS_LE): Use non-PIC version for GCC >= 5.0.
21053         (TLS_IE): Likewise.
21054         (TLS_LD): Likewise.
21055         (TLS_GD): Likewise.
21056         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
21057         define for GCC >= 5.0.
21059 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
21061         * math/test-fenv.c (test_single_exception, set_single_exc,
21062         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
21063         feexcp_mask_test, feenable_test, fe_single_test): Add
21064         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
21065         case where they are not used.
21066         * math/libm-test.inc: Likewise.
21067         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
21068         unused in the absence of FP rounding/exception support.
21069         * stdio-common/tst-printf-round.c: Likewise.
21070         * stdlib/tst-strtod-round.c: Likewise.
21071         * stdlib/tst-strtod-underflow.c: Likewise.
21073 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
21075         [BZ #17723]
21076         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
21077         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
21078         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21079         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21080         libm_hidden_weak.
21081         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
21082         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21083         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
21084         libm_hidden_def.
21085         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21086         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21087         libm_hidden_weak.
21088         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
21089         Likewise.
21090         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
21091         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21092         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21093         libm_hidden_weak.
21094         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21095         libm_hidden_def.
21096         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21097         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
21098         (__feraiseexcept): Likewise.
21099         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21100         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21101         libm_hidden_weak.
21102         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21103         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21104         libm_hidden_def.
21105         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
21106         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
21107         Use libm_hidden_def.
21108         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
21109         libm_hidden_def.
21110         (feraiseexcept): Define as weak not strong alias.  Use
21111         libm_hidden_weak.
21112         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
21113         New inline function.  Factored out of ...
21114         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
21115         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
21116         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
21117         feraiseexcept.
21118         * math/w_acos.c (__acos): Likewise.
21119         * math/w_asin.c (__asin): Likewise.
21120         * math/w_ilogb.c (__ilogb): Likewise.
21121         * math/w_j0.c (y0): Likewise.
21122         * math/w_j1.c (y1): Likewise.
21123         * math/w_jn.c (yn): Likewise.
21124         * math/w_log.c (__log): Likewise.
21125         * math/w_log10.c (__log10): Likewise.
21126         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
21127         * sysdeps/aarch64/fpu/math_private.h
21128         (libc_feupdateenv_test_aarch64): Likewise.
21129         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21130         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
21131         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
21132         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21133         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21134         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21135         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
21136         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21137         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21138         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21140 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21142         [BZ #17732]
21143         * io/test-utime.c (main): Replace %ld with %jd and cast to
21144         intmax_t.
21145         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
21146         * nptl/tst-mutex5.c: Include <stdint.h>.
21147         (do_test): Replace %ld with %jd and cast to intmax_t.
21148         * posix/tst-regex.c (run_test): Likewise.
21149         (run_test_backwards): Likewise.
21150         * rt/tst-clock.c: Include <stdint.h>.
21151         (clock_test): Replace %ld with %jd and cast to intmax_t.
21152         * rt/tst-cpuclock1.c: Include <stdint.h>.
21153         (do_test): Replace %lu with %ju and cast to uintmax_t.
21154         * rt/tst-cpuclock2.c: Include <stdint.h>.
21155         (do_test): Replace %lu with %ju and cast to uintmax_t.
21156         * rt/tst-mqueue1.c: Include <stdint.h>.
21157         (check_attrs): Replace %ld with %jd and cast to intmax_t.
21158         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
21159         intmax_t.
21160         * rt/tst-mqueue4.c (do_test): Likewise.
21161         * rt/tst-timer4.c: Include <stdint.h>.
21162         (check_ts): Replace %ld with %jd and cast to intmax_t.
21163         (do_test): Likewise.
21164         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
21165         and cast to intmax_t.
21166         * sysdeps/pthread/tst-timer.c (main): Likewise.
21167         * time/clocktest.c (main): Likewise.
21168         * time/tst-posixtz.c (do_test): Likewise.
21169         * timezone/tst-timezone.c (main): Likewise.
21171 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21172             H.J. Lu  <hongjiu.lu@intel.com>
21174         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
21175         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
21176         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
21177         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
21178         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
21179         version if bit_Fast_Unaligned_Load is set.
21180         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21181         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21182         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21183         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21184         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21185         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21186         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21187         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
21188         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
21189         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
21190         to 4.
21191         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
21192         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
21193         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
21194         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
21196 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
21198         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
21199         instead of #if to avoid a Wundef warning.
21200         * stdlib/tst-limits.c (do_test): Likewise.
21202         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
21203         parallel other exception macros.
21204         (fegetenv): Convert from macro to extern inline so that it applies
21205         retroactively to inline functions already seen by the compiler.
21206         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
21208         * posix/Makefile (before-compile): Use $(objpfx) for
21209         posix-conf-vars-def.h.
21211 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21213         * posix/getconf.c (main): Use size_t for type of I.
21214         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
21215         NSPEC.
21217         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
21218         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
21219         * posix/posix-envs.def: Likewise.
21220         * sysdeps/posix/sysconf.c: Likewise.
21221         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
21222         (specs): Remove array.
21223         * scripts/gen-posix-conf-vars.awk: Support generation of specs
21224         array.
21226         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
21227         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
21228         (__sysconf): Use CONF_IS_* macros.
21230         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
21231         ($(objpfx)posix-conf-vars-def.h): New target.
21232         * posix/posix-conf-vars.list: New file.
21233         * posix/posix-conf-vars.h: New file.
21234         * posix/confstr.c: Include posix-conf-vars.h.
21235         (confstr): Use CONF_IS_* macros.
21236         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
21237         CONF_IS_* macros.
21238         * scripts/gen-posix-conf-vars.awk: New file.
21240 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
21242         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
21243         fegetround): Add no-op macros to avoid linknamespace issues.
21245         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
21246         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
21248         * sysdeps/unix/sysv/linux/tile/sysdep.h
21249         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
21250         assembly-specific section to avoid a redefinition warning.
21252         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
21253         long before casting to pointer to avoid a cast warning.
21255 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
21257         * sysdeps/tile/tilegx/Implies: New file.
21259 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
21261         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
21263 2014-12-23  Florian Weimer  <fweimer@redhat.com>
21265         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
21267 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21269         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
21270         not define.
21271         * sysdeps/unix/sysv/linux/utimes.c: Do not include
21272         <kernel-features.h>.
21273         (__utimes) [__NR_utimes]: Make code unconditional.
21274         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
21275         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21276         (__ASSUME_UTIMES): Do not undefine.
21277         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21278         (__ASSUME_UTIMES): Likewise.
21279         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21280         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
21281         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
21282         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
21284 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21286         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21288 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
21290         [BZ #17747]
21291         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
21292         alias to weak alias for j0l, y0l.
21293         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
21294         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
21296         [BZ #17746]
21297         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
21298         conversion.
21300 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21302         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
21303         to zero if not already defined.
21305 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21307         [BZ #17724]
21308         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
21309         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
21310         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
21311         (char *) casts added.
21312         * sysdeps/ieee754/k_standardf.c: New file.
21313         * sysdeps/ieee754/k_standardl.c: Likewise.
21314         * math/Makefile (libm-support): Remove k_standard.
21315         (libm-calls): Add k_standard.
21317 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21319         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21320         Optimize to avoid an unnecessary FPCR read.
21322 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21324         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21325         Optimize to reduce FPCR/FPSR accesses.
21327 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21329         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
21330         Call libc_fetestexcept_aarch64.
21332 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21334         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
21335         Call libc_fesetround_aarch64.
21337 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21339         [BZ #17733]
21340         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
21341         (__bind): Do not define as weak alias.
21342         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
21343         define.
21344         (__getsockname): Do not define as weak alias.
21346 2014-12-22  Will Newton  <will.newton@linaro.org>
21348         * manual/install.texi: Document that we require bison 2.7
21349         or above.
21350         * INSTALL: Regenerate.
21351         * configure.ac: Use AC_CHECK_PROG_VER instead of
21352         AC_PATH_PROG when checking for bison and check for
21353         version 2.7 or above.
21354         * configure: Regenerate.
21356 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
21358         [BZ #17745]
21359         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
21360         * sysdeps/tile/ffsll.c (ffsll): To here.
21362         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
21364 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21366         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
21367         if not defined.
21368         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
21369         definition.
21370         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21371         hidden ___tls_get_addr.
21372         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21373         hidden __tls_get_addr.
21374         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
21375         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
21376         Likewise.
21378 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21380         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
21381         _dl_init call.
21383 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21385         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
21386         from "call _dl_init@PLT".
21387         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
21389 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
21391         * manual/search.texi: (Array Sort Function): Clarify stable sorting
21392         guarantees.
21394 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
21396         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
21398 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21400         [BZ #17744]
21401         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
21402         strnlen.
21404 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21406         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
21407         of multu on MIPSr6.
21408         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
21409         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
21410         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
21411         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
21412         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
21414 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21416         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
21417         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
21418         (PTR_SUBU): Use subu for mips32r6/mips64r6.
21419         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
21420         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
21421         mips32r6/mips64r6.
21422         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
21424 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
21426         * string/strncat.c (STRNCAT): Simplify implementation.
21428 2014-12-19  David S. Miller  <davem@davemloft.net>
21430         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
21431         access the quad as both a long double and as a series of 4 words.
21433         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
21434         link_map->l_info array access.
21436 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21438         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
21440         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
21441         * math/atest-exp2.c (TIMEOUT): Likewise.
21442         * math/atest-sincos.c (TIMEOUT): Likewise.
21444 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21446         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
21447         -Wno-error with -fno-builtin-lround.
21449 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21451         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
21452         Contains futex constants and functions moved over from ...
21453         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
21454         <lowlevellock-futex.h>.
21455         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21456         (lll_timedwait_tid): Add comments and parentheses around macro
21457         arguments.
21459 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21461         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
21462         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
21463         (__lll_private_flag): Remove.
21464         (lll_futex_wait): Likewise.
21465         (lll_futex_timed_wait): Likewise.
21466         (lll_futex_wake): Likewise.
21467         (lll_futex_requeue): Likewise.
21468         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21469         (__lll_timedwait_tid): Spell out argument names.
21470         (lll_timedwait_tid): Add comments and parentheses around macro
21471         arguments.
21472         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
21473         LLL_SHARED and LLL_PRIVATE usable from assembly code.
21475 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21477         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
21478         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21479         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21480         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
21481         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
21482         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
21483         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
21484         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
21485         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
21486         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
21487         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
21488         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
21489         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
21490         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
21491         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
21492         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
21493         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
21494         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
21495         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
21497 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21499         * sysdeps/x86_64/x32/Makefile: New file.
21501 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21503         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
21504         1L with (mp_limb_t) 1.
21506 2014-12-17  Roland McGrath  <roland@hack.frob.com>
21508         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
21509         * nptl/libc_pthread_init.c: ... here.
21510         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
21511         * nptl/register-atfork.c: ... here.
21513         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
21514         Use pthread_sigmask rather than INTERNAL_SYSCALL.
21515         Use assert_perror to check its return value.
21516         (__gai_create_helper_thread): Likewise.
21518         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
21520         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
21522 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
21524         [BZ #17725]
21525         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
21526         __profil_counter.
21527         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
21528         Likewise.
21529         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
21530         Likewise.
21531         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
21532         Likewise.
21533         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
21534         (profil_counter): Likewise.
21535         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
21536         (profil_counter): Likewise.
21537         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
21538         Likewise.
21539         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
21540         Likewise.
21541         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
21542         (profil_counter): Likewise.
21543         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
21544         Likewise.
21545         [!__profil_counter] (profil_counter): Define as weak alias of
21546         __profil_counter.
21547         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
21548         (profil_counter): Rename to __profil_counter.
21549         [!__profil_counter] (profil_counter): Define as weak alias of
21550         __profil_counter.
21551         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
21552         (profil_counter): Rename to __profil_counter.
21553         [!__profil_counter] (profil_counter): Define as weak alias of
21554         __profil_counter.
21555         * sysdeps/posix/profil.c: Update comment referring to
21556         profil_counter.
21557         (__profil): Use __profil_counter instead of profil_counter.
21558         * sysdeps/posix/sprofil.c (profil_counter): Rename to
21559         __profil_counter.  Use __profil_counter_ushort and
21560         __profil_counter_uint in definitions.
21561         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
21562         instead of profil_counter_uint and profil_counter_ushort.
21564         [BZ #17722]
21565         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
21566         define as weak alias of __inet_makeaddr.
21567         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
21568         as weak alias of __inet_addr.
21569         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
21570         as weak alias of __inet_pton.  Use libc_hidden_weak.
21571         * include/arpa/inet.h (__inet_pton): Declare.  Use
21572         libc_hidden_proto.
21573         (inet_makeaddr): Don't use libc_hidden_proto.
21574         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
21575         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
21576         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
21577         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
21578         Remove variable.
21579         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21580         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21582 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
21584         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
21586 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21588         * stdio-common/bug-vfprintf-nargs.c (do_test):
21589         Cast value to intptr_t to avoid format warning
21590         for usage with PRIdPTR printing macro.
21592 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21594         * libio/tst-widetext.c (do_test):
21595         Use format type %td instead of %Zd for ptrdiff_t
21596         in order to avoid format warning.
21598 2014-12-17  Andreas Schwab  <schwab@suse.de>
21600         * nscd/mem.c (gc): Add size_t cast to match printf format.
21602 2014-12-16  Roland McGrath  <roland@hack.frob.com>
21604         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
21605         (init): Apply PTR_MANGLE to pointers before storing them.
21606         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
21607         before using them.
21609 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
21611         [BZ #17719]
21612         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
21613         define as weak alias of __memrchr.
21614         (__memrchr): Do not define as strong alias of memrchr.
21615         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
21616         Remove variable.
21617         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21618         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21619         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21621         [BZ #17717]
21622         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
21623         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
21624         (if_indextoname): Rename to __if_indextoname and define as weak
21625         alias of __if_indextoname.  Use libc_hidden_weak.
21626         (if_freenameindex): Rename to __if_freenameindex and define as
21627         weak alias of __if_freenameindex.
21628         (if_nameindex): Rename to __if_nameindex and define as weak alias
21629         of __if_nameindex.
21630         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
21631         __if_nametoindex and define as weak alias of __if_nametoindex.
21632         Use libc_hidden_weak.
21633         (if_freenameindex): Rename to __if_freenameindex and define as
21634         weak alias of __if_freenameindex.
21635         (if_nameindex): Rename to __if_nameindex and define as weak alias
21636         of __if_nameindex.
21637         (if_indextoname): Rename to __if_indextoname and define as weak
21638         alias of __if_indextoname.  Use libc_hidden_weak.
21639         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
21640         __if_nametoindex and define as weak alias of __if_nametoindex.
21641         Use libc_hidden_weak.
21642         (if_freenameindex): Rename to __if_freenameindex and define as
21643         weak alias of __if_freenameindex.  Use libc_hidden_weak.
21644         (if_nameindex_netlink): Use __if_freenameindex instead of
21645         if_freenameindex.
21646         (if_nameindex): Rename to __if_nameindex and define as weak alias
21647         of __if_nameindex.  Use libc_hidden_weak.
21648         (if_indextoname): Rename to __if_indextoname and define as weak
21649         alias of __if_indextoname.  Use libc_hidden_weak.
21650         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
21651         libc_hidden_proto.
21652         [!_ISOMAC] (__if_freenameindex): Likewise.
21653         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
21654         if_nametoindex.
21655         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
21656         variable.
21657         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21658         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21659         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21660         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21661         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21662         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21663         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21665         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
21666         Remove variable.
21667         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21668         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21670 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21672         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
21673         subscript above bounds'
21675         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
21676         bounds.
21678 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
21680         * libio/tst-fopenloc.c: Use test-skeleton.c.
21682         * stdlib/tst-bsearch.c: Use test-skeleton.c.
21683         (entry): Rename to ITEM.
21684         (do_test, comp): Adjust.
21686         * stdio-common/tst-fseek.c: Use test-skeleton.c.
21688 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21690         * string/tester.c: Include <libc-internal.h>.
21691         (test_memset): Ignore -Wmemset-transposed-args.
21693 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21695         * misc/tst-mntent2.c (do_test): Fix warning.
21697 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21699         * elf/tst-unique4lib.cc(a): Mark as used.
21701 2014-12-16  Florian Weimer  <fweimer@redhat.com>
21703         [BZ #17630]
21704         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
21705         names.
21707 2014-12-16  Allan McRae  <allan@archlinux.org>
21709         * stdio-common/Makefile (tests): Re-add bug26.
21711 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
21713         [BZ #17657]
21714         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
21715         static array.
21717 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
21719         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
21720         (__lll_lock_wait): Likewise.
21721         (__lll_timedlock_wait): Likewise.
21722         (__lll_timedwait_tid): Likewise.
21723         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
21724         (__lll_robust_timedlock_wait): Likewise.
21725         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
21726         (lll_cond_trylock): Likewise.
21727         (__lll_lock): Likewise.
21728         (__lll_robust_lock): Likewise.
21729         (__lll_cond_lock): Likewise.
21730         (lll_robust_cond_lock): Likewise.
21731         (__lll_timedlock): Likewise.
21732         (__lll_robust_timedlock): Likewise.
21733         (__lll_unlock): Likewise.
21734         (__lll_robust_unlock): Likewise.
21735         (lll_wait_tid): Likewise.
21736         (lll_timedwait_tid): Likewise.
21738 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21740         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
21742 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21744         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
21746 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21748         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
21749         * stdio-common/tst-sprintf.c: Likewise.
21751 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21753         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
21755 2014-12-15  Jeff Law  <law@redhat.com>
21757         [BZ #16617]
21758         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
21759         on the heap.  (CVE-2012-3406)
21760         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
21761         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
21762         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
21764 2014-12-15  Will Newton  <will.newton@linaro.org>
21766         * manual/install.texi: Bump required version of texinfo
21767         to 4.7 from 4.5.
21768         * INSTALL: Regenerated.
21769         * configure.ac: Check for makeinfo version 4.7 and above.
21770         * configure: Regenerated.
21772 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21774         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
21775         PREFIX, string constant to insert between directory and name.
21776         * sysdeps/posix/shm_open.c: Update caller.
21777         * sysdeps/posix/shm_unlink.c: Likewise.
21778         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
21779         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
21780         (SEM_SHM_PREFIX): New macro.
21781         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
21782         [$(have-thread-library) = no].
21783         * nptl/Makefile (libpthread-routines): Add shm-directory.
21784         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
21785         * sysdeps/nptl/shm-directory.h: New file.
21786         * sysdeps/posix/shm-directory.c
21787         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
21788         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21789         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
21790         INTERNAL_SYSCALL.
21791         (__where_is_shmfs): Function removed.
21792         (mountpoint, defaultmount, defaultdir, __namedsem_once):
21793         Variables removed.
21794         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
21795         Use SHM_GET_NAME.
21796         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
21798         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
21799         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
21800         unconditional for use inside libpthread.
21801         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
21803 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21805         * nptl/pthread_getaffinity.c: New file.
21806         * nptl/pthread_setaffinity.c: New file.
21807         * nptl/pthread_getname.c: New file.
21808         * nptl/pthread_setname.c: New file.
21810         * nptl/pthread_create.c (START_THREAD_DEFN)
21811         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
21813 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21814             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21816         * resolv/res_send.c (send_vc): Disable warning resplen may
21817         be used uninitialized.
21819 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21821         * nptl/tst-mutex6.c
21822         (ATTR_NULL): New define checks ATTR against NULL.
21823         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
21824         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
21826 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
21828         [BZ #17581]
21829         * malloc/hooks.c
21830         (mem2mem_check): Revert my previous change.
21831         (malloc_check_get_size): Revert my previous change.
21832         (mem2chunk_check): Revert my previous change.
21834 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21836         * sysdeps/posix/shm-directory.c: New file.
21837         * sysdeps/posix/shm-directory.h: New file.
21838         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
21839         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
21840         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
21841         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
21842         Transmute EPERM to EACCES.
21843         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
21844         from ...
21845         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
21846         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
21848 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21850         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
21851         pointer and cast to uintptr_t.
21852         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
21853         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
21854         Add cast to avoid warning.
21855         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
21857 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21859         * nptl/semaphore.h: Move to ...
21860         * sysdeps/pthread/semaphore.h: ... here.
21861         * Makefile (installed-headers): Change nptl/semaphore.h to
21862         sysdeps/pthread/semaphore.h.
21864 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21866         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
21867         generated error format strings.
21869         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
21870         -Wformat-extra-args warnings for scanf formats.
21871         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
21872         test of zero-length format (duh).
21873         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
21874         corner-case scanf format test.
21875         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
21876         generated fprintf format string.
21877         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
21878         corner-case sprintf format tests.
21879         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
21880         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
21881         -Wformat-extra-args warnings throughout.
21882         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
21883         (CFLAGS-scanf4.c): Likewise.
21884         (CFLAGS-scanf7.c): Likewise.
21885         (CFLAGS-tst-sprintf.c): Likewise.
21886         (CFLAGS-tst-printf.c): Likewise.
21887         (CFLAGS-tst-printfsz.c): Likewise.
21889 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21891         * include/cpio.h: New file.
21892         * include/fmtmsg.h: Likewise.
21894         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
21895         corresponding format argument to size_t.
21896         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
21897         arguments.
21898         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
21899         corresponding format argument to size_t.
21900         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
21901         arguments.
21902         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
21903         corresponding format argument to size_t.
21904         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
21905         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
21906         (CFLAGS-tst-mbswcs2.c): Likewise.
21907         (CFLAGS-tst-mbswcs3.c): Likewise.
21908         (CFLAGS-tst-mbswcs4.c): Likewise.
21909         (CFLAGS-tst-mbswcs5.c): Likewise.
21910         (CFLAGS-tst-trans.c): Likewise.
21912 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21914         * posix/regexbug1.c (main): Use "%s" format with regerror results,
21915         rather than assuming they won't contain any '%'s.
21917 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
21919         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
21920         inhibit_loop_to_libcall to avoid recursive calls.
21921         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
21922         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
21924 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21926         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
21927         prototype.
21929 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21931         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
21932         integer value instead of boolean.
21934 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21936         * malloc/malloc.c: Fix powerof2 check.
21938 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21940         * locale/programs/locfile.h (maybe_swap_uint32):
21941         Remove inline and add unused attribute.
21943 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21945         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21946         Truncating assembler expression to a .long expression.
21948 2014-12-11  Andreas Schwab  <schwab@suse.de>
21950         * elf/rtld.c (struct map_args): Constify str member.
21951         (do_preload): Constify fname argument.
21953 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21955         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
21956         constants definition.
21958 2014-12-11  Andreas Schwab  <schwab@suse.de>
21960         [BZ #16657]
21961         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
21962         FORCE_ELISION instead of DO_ELISION.
21963         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
21964         Remove.
21965         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
21966         Likewise.
21968         * iconvdata/gconv-modules: Remove duplicate entry.
21970 2014-12-11  Will Newton  <will.newton@linaro.org>
21972         Merge gettext 0.19.3 into intl/.
21974         This involves a number of cosmetic changes to comments
21975         and ANSI function definitions and prototypes throughout
21976         all the files. The gettext copyright header is used but
21977         with the date ranges taken from the glibc copy.
21979         * NEWS: Add gettext merge to 2.21.
21980         * intl/bindtextdom.c: Switch to gettext copyright.
21981         Use ANSI definitions and prototypes.
21982         Use gl_* locking primitives rather than __libc_* ones.
21983         Use __builtin_expect rather than __glibc_likely/unlikely.
21984         * intl/dcgettext.c: Switch to gettext copyright.
21985         Use ANSI definitions and prototypes.
21986         * intl/dcigettext.c: Switch to gettext copyright.
21987         Use ANSI definitions and prototypes.
21988         (INTDIV0_RAISES_SIGFPE): New define.
21989         Use gl_* locking primitives rather than __libc_* ones.
21990         Include eval-plural.h instead of plural-eval.c.
21991         Use __builtin_expect rather than __glibc_likely/unlikely.
21992         * intl/dcngettext.c: Switch to gettext copyright.
21993         Use ANSI definitions and prototypes.
21994         * intl/dgettext.c: Likewise.
21995         * intl/dngettext.c: Likewise.
21996         * intl/plural-eval.c: Renamed to...
21997         * intl/eval-plural.h: ...this.
21998         * intl/explodename.c: Switch to gettext copyright.
21999         Use ANSI definitions and prototypes.
22000         (_nl_explode_name): Use strchr instead of __rawmemchr.
22001         * intl/finddomain.c: Switch to gettext copyright.
22002         Use ANSI definitions and prototypes.
22003         Use gl_* locking primitives rather than __libc_* ones.
22004         (_nl_find_domain): Use malloc rather than alloca for
22005         allocation of temporary locale name.
22006         * intl/gettext.c: Switch to gettext copyright.
22007         Use ANSI definitions and prototypes.
22008         * intl/gettextP.h: Switch to gettext copyright.
22009         Use ANSI definitions and prototypes.
22010         Use gl_* locking primitives rather than __libc_* ones.
22011         * intl/gmo.h: Switch to gettext copyright.
22012         (struct sysdep_string): Move struct segment_pair outside of
22013         struct definition.
22014         * intl/hash-string.c: Use ANSI definitions and prototypes.
22015         * intl/hash-string.h: Switch to gettext copyright.
22016         Use ANSI definitions and prototypes.
22017         * intl/l10nflist.c: Switch to gettext copyright.
22018         Use ANSI definitions and prototypes.
22019         (_nl_normalize_codeset): Avoid integer overflow.
22020         * intl/loadinfo.h: Switch to gettext copyright.
22021         Use ANSI definitions and prototypes.
22022         (LIBINTL_DLL_EXPORTED): New define.
22023         (PATH_SEPARATOR): New define.
22024         * intl/loadmsgcat.c: Switch to gettext copyright.
22025         * intl/localealias.c: Switch to gettext copyright.
22026         Use ANSI definitions and prototypes.
22027         (_nl_expand_alias): Use PATH_SEPARATOR.
22028         * intl/ngettext.c: Switch to gettext copyright.
22029         Use ANSI definitions and prototypes.
22030         * intl/plural-exp.c: Likewise.
22031         * intl/plural-exp.h: Switch to gettext copyright.
22032         Use ANSI definitions and prototypes.
22033         (struct expression): Move definition of enum operator outside
22034         of struct definition.
22035         * intl/plural.c: Regenerate.
22036         * intl/plural.y: Switch to gettext copyright.
22037         Use ANSI definitions and prototypes.
22038         Port to bison 3.0.
22039         * intl/textdomain.c: Switch to gettext copyright.
22040         Use ANSI definitions and prototypes.
22041         Use gl_* locking primitives rather than __libc_* ones.
22043 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
22045         * debug/warning-nop.c: Add used atrribute.
22047 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22049         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
22051         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
22052         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
22053         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
22055 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22056             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22058         [BZ #17634]
22059         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
22060         Undefine after defining function.  Define as weak alias of
22061         __wcschr.  Use libc_hidden_weak.
22062         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
22063         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
22064         (libc_hidden_def): Also define __GI___wcschr alias.
22065         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
22066         __wcschr and define as weak alias of __wcschr.
22067         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
22068         __wcschr.
22069         [!WCSCHR] (DEFAULT_WCSCHR): Define.
22070         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
22071         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
22072         libc_hidden_weak.  Do not use libc_hidden_def.
22073         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
22074         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
22075         __GI___wcschr alias.
22076         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
22077         [IS_IN (libc)] (wcschr): Define as macro expanding to
22078         __redirect_wcschr.
22079         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
22080         [IS_IN (libc)] (__wcschr_power6): Likewise.
22081         [IS_IN (libc)] (__wcschr_power7): Likewise.
22082         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
22083         instead of wcschr.
22084         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
22085         __libc_wcschr.
22086         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
22087         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
22088         __wcschr and define as weak alias of __wcschr.  Use
22089         libc_hidden_builtin_def.
22090         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
22091         as weak alias of __wcschr.  Use libc_hidden_weak.
22092         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
22093         wcschr.
22094         * time/era.c (_nl_init_era_entries): Likewise.
22095         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
22096         variable.
22097         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22098         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22100 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22102         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
22103         format for long int variable.
22105 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
22107         [BZ #10672]
22108         * manual/search.texi: (Array Sort Function): Remove claim how to make
22109         qsort stable.
22111 2014-12-10  Andreas Schwab  <schwab@suse.de>
22113         [BZ #12847]
22114         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
22115         user-controlled locks.
22117 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
22119         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
22120         register.
22122 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22124         * configure.ac (--disable-werror): New configure option.
22125         (enable_werror): New AC_SUBST.
22126         * configure: Regenerated.
22127         * config.make.in (enable-werror): New variable.
22128         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
22129         -Wno-error=undef.
22130         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
22131         * manual/install.texi (Configuring and compiling): Document
22132         --disable-werror.
22133         * INSTALL: Regenerated.
22134         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
22135         (CFLAGS-tst-chk2.c): Likewise.
22136         (CFLAGS-tst-chk3.c): Likewise.
22137         (CFLAGS-tst-chk4.cc): Likewise.
22138         (CFLAGS-tst-chk5.cc): Likewise.
22139         (CFLAGS-tst-chk6.cc): Likewise.
22140         (CFLAGS-tst-lfschk1.c): Likewise.
22141         (CFLAGS-tst-lfschk2.c): Likewise.
22142         (CFLAGS-tst-lfschk3.c): Likewise.
22143         (CFLAGS-tst-lfschk4.cc): Likewise.
22144         (CFLAGS-tst-lfschk5.cc): Likewise.
22145         (CFLAGS-tst-lfschk6.cc): Likewise.
22147         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
22148         (main): Disable -Wdeprecated-declarations around calls to
22149         register_printf_function.
22151         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
22152         (do_test): Disable -Wdiv-by-zero around some calls to
22153         fwrite_unlocked and fread_unlocked.
22155         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
22156         (DIAG_POP_NEEDS_COMMENT): Likewise.
22157         (_DIAG_STR1): Likewise.
22158         (_DIAG_STR): Likewise.
22159         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
22160         * stdio-common/bug21.c: Include <libc-internal.h>.
22161         (do_test): Disable -Wformat around call to sscanf.
22162         * stdio-common/scanf14.c: Include <libc-internal.h>.
22163         (main): Disable -Wformat around some calls to scanf functions.
22165 2014-12-09  Torvald Riegel  <triegel@redhat.com>
22167         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
22169 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22171         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
22172         stack variable alignment.
22174 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
22176         [BZ #17682]
22177         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
22178         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
22179         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
22180         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
22181         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
22182         __getrlimit instead of getrlimit.
22183         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
22184         __gettimeofday instead of gettimeofday.
22185         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22186         Likewise.
22187         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22188         Likewise.
22189         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22190         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
22191         Remove variable.
22192         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22193         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22195 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22197         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
22198         for wide-character tests.
22200 2014-12-04  Roland McGrath  <roland@hack.frob.com>
22202         * io/openat64.c: #include <libc-internal.h>
22203         (__openat64): Prototypify.  Use ignore_value on MODE.
22204         * io/openat.c: Likewise.
22205         * misc/reboot.c: #include <libc-internal.h>
22206         (reboot): Prototypify.  Use ignore_value on HOWTO.
22207         * misc/ptrace.c: #include <libc-internal.h>
22208         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
22210 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
22212         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
22213         XPG4, UNIX98 and XOPEN2K.
22214         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
22215         Remove variable.
22216         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22218 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22220         * libio/fileops.c: Use ISO C style for function definitions.
22221         * libio/iofopen.c: Likewise.
22222         * libio/wfileops.c: Likewise.
22224         [BZ #17653]
22225         * libio/fileops.c (_IO_new_file_underflow): Unset cached
22226         offset on EOF.
22227         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
22228         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
22229         (fgets_func): Function pointer to fgets and fgetws.
22230         (do_ftell_test): Add test to verify ftell value after read
22231         EOF.
22232         (do_test): Set fgets_func.
22234         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
22235         O_TRUNC flag for w and w+ modes.
22236         (do_rewind_test): Likewise.
22237         (do_ftell_test): Likewise.
22238         (do_write_test): Likewise.
22240         [BZ #17647]
22241         * libio/fileops.c (do_ftell): Seek only when there are
22242         unflushed writes.
22243         * libio/wfileops.c (do_ftell_wide): Likewise.
22244         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
22245         test case.
22246         (do_one_test): Call it.
22248 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
22250         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
22251         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
22252         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
22253         Remove variable.
22254         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22255         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22256         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22258 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22260         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
22261         Remove variable.
22262         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22264         [BZ #17668]
22265         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
22266         as weak alias of __getifaddrs.  Use libc_hidden_weak.
22267         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22268         __freeifaddrs.  Use libc_hidden_weak.
22269         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
22270         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
22271         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22272         __freeifaddrs.  Use libc_hidden_weak.
22273         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
22274         __getifaddrs and define as weak alias of __getifaddrs.  Use
22275         libc_hidden_weak.
22276         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22277         __freeifaddrs.  Use libc_hidden_weak.
22278         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
22279         Remove variable.
22280         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22281         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22283 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22285         [BZ #17601]
22286         * sysdeps/mips/start.S (__start): Use indirect jump to call
22287         __libc_start_main.
22289 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22291         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
22293         * nptl/tst-mutex1.c: Include <stdbool.h>.
22294         [!ATTR] (ATTR_NULL): New macro.
22295         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
22296         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
22297         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
22299         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
22300         to char *.
22302         [BZ #17665]
22303         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
22304         Change conditional to [__USE_MISC].
22306         [BZ #17664]
22307         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
22308         fgets_unlocked.
22309         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
22310         __fgets_unlocked.
22311         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
22312         fgets_unlocked.
22313         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
22314         Remove variable.
22315         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22316         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22317         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22318         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22319         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22320         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22321         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22322         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22323         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22325         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
22327 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22329         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22330         Remove strpbrk objects.
22331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22332         (__libc_ifunc_impl_list): Remove strpbrk implementation.
22333         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
22334         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
22335         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
22336         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
22338         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22339         Remove strcspn objects.
22340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22341         (__libc_ifunc_impl_list): Remove strcspn implementation.
22342         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
22343         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
22344         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
22345         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
22347         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22348         Remove strspn objetcs.
22349         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22350         (__libc_ifunc_impl_list): Remove strspn implementation.
22351         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
22352         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22353         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
22354         * sysdeps/powerpc/powerpc64/strspn.S: New file.
22356 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
22358         [BZ #17581]
22359         * malloc/hooks.c
22360         (mem2mem_check): Add a terminator to the chain of checking blocks.
22361         (malloc_check_get_size): Use it here.
22362         (mem2chunk_check): Ditto.
22364 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22366         * sysdeps/powerpc/powerpc64/strtok.S: New file.
22367         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
22369 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
22371         * bits/ioctl-types.h: Indent preprocessor directives correctly.
22373         * nptl/nptl-init.c: Include libc-internal.h.
22374         (__pthread_initialize_minimal_internal): Use ROUND_UP.
22376         * elf/ldconfig.c (search_dir): Expand comment.
22378 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
22380         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
22381         variable.
22382         (linknamespace-symlist-stdlibs-tests): Likewise.
22383         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
22384         instead of $(objpfx)symlist-stdlibs.
22385         (linknamespace-libs-isoc): New variable.
22386         (linknamespace-libs): Use $(linknamespace-libs-isoc).
22387         (linknamespace-libs-ISO): New variable.
22388         (linknamespace-libs-ISO99): Likewise.
22389         (linknamespace-libs-ISO11): Likewise.
22390         (linknamespace-libs-XPG3): Likewise.
22391         (linknamespace-libs-XPG4): Likewise.
22392         (linknamespace-libs-POSIX): Likewise.
22393         (linknamespace-libs-UNIX98): Likewise.
22394         (linknamespace-libs-XOPEN2K): Likewise.
22395         (linknamespace-libs-POSIX2008): Likewise.
22396         (linknamespace-libs-XOPEN2K8): Likewise.
22397         ($(objpfx)symlist-stdlibs): Replace by
22398         $(linknamespace-symlist-stdlibs-tests).  Use
22399         $(linknamespace-libs-$*) as set of libraries.
22400         ($(linknamespace-header-tests)): Update dependencies.  Use
22401         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
22402         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
22403         * conform/linknamespace.pl: Remove comment about considering
22404         definitions of symbols from irrelevant libraries.
22406 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
22408         [BZ #13862]
22409         * elf/dl-tls.c: Include <atomic.h>.
22410         (oom): Remove #ifdef SHARED/#endif.
22411         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
22412         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
22413         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
22414         big enough.
22415         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
22416         * nptl/Makefile (tests): Add tst-stack4.
22417         (modules-names): Add tst-stack4mod.
22418         ($(objpfx)tst-stack4): New.
22419         (tst-stack4mod.sos): Likewise.
22420         ($(objpfx)tst-stack4.out): Likewise.
22421         ($(tst-stack4mod.sos)): Likewise.
22422         (clean): Likewise.
22423         * nptl/tst-stack4.c: New file.
22424         * nptl/tst-stack4mod.c: Likewise.
22426 2014-11-27  J. Brown  <jb999@gmx.de>
22428         * sysdeps/x86/bits/string.h: Add recent CPUs.
22430 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22432         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
22433         sigblock.
22435         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
22436         feof.
22438         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
22439         variable.
22441 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22443         * nscd/connections.c: Include libc-internal.h because of macro
22444         usage ignore_value.
22446 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22448         * string/bits/string3.h (__warn_memset_zero_len): Don't
22449         declare for gcc newer than 5.0.
22450         (memset): Don't test for zero-length __LEN for gcc newer than
22451         5.0.
22453 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22455         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
22456         size_t for %zu format.
22458         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
22459         difference, not %ju.
22461 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22463         * include/libc-internal.h (ignore_value): New macro.
22464         * nscd/connections.c (restart): Wrap calls to setuid and setgid
22465         with ignore_value.
22467         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
22468         definition.
22470         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
22471         pthread_cleanup_push to void *.
22473         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
22474         Undefine.
22476         [BZ #16619]
22477         [BZ #16740]
22478         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
22479         instead of 1L << 52.
22481         * libio/bug-rewind.c (do_test): Check fwscanf return values.
22482         * libio/bug-rewind2.c (do_test): Likewise.
22484         * debug/test-stpcpy_chk-ifunc.c: Remove file.
22485         * debug/test-strcpy_chk-ifunc.c: Likewise.
22486         * wcsmbs/test-wcschr-ifunc.c: Likewise.
22487         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22488         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22489         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22490         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22491         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22492         * Rules [$(multi-arch) = no] (tests): Do not filter out
22493         $(tests-ifunc).
22494         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
22495         * debug/Makefile (tests-ifunc): Remove variable.
22496         (tests): Do not add $(tests-ifunc).
22497         * wcsmbs/Makefile (tests-ifunc): Remove variable.
22498         (tests): Do not add $(tests-ifunc).
22499         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
22500         [TEST_IFUNC]: Remove conditionals.
22501         * string/test-string.h (TEST_IFUNC): Remove macro.
22502         [TEST_IFUNC]: Remove conditionals.
22504         * string/test-strchr.c [!WIDE] (L): New macro.
22505         [WIDE] (L): Likewise.
22506         (check1): Use CHAR instead of char.  Use L on string and character
22507         constants.
22509 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
22511         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
22512         tests.
22513         * sysdeps/powerpc/bits/atomic.h
22514         (__arch_atomic_exchange_and_add_32_acq): Add definition.
22515         (__arch_atomic_exchange_and_add_32_rel): Likewise.
22516         (atomic_exchange_and_add_acq): Likewise.
22517         (atomic_exchange_and_add_rel): Likewise.
22518         * sysdeps/powerpc/powerpc32/bits/atomic.h
22519         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22520         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22521         * sysdeps/powerpc/powerpc64/bits/atomic.h
22522         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22523         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22525 2014-11-26  Torvald Riegel  <triegel@redhat.com>
22527         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
22528         Change synchronization of __sched_fifo_min_prio and
22529         __sched_fifo_max_prio.
22530         * nptl/pthread_mutexattr_getprioceiling.c
22531         (pthread_mutexattr_getprioceiling): Likewise.
22532         * nptl/pthread_mutexattr_setprioceiling.c
22533         (pthread_mutexattr_setprioceiling): Likewise.
22534         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22535         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
22536         Likewise.
22538 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22540         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
22541         void.
22543 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22545         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
22546         third argument const.
22548 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
22550         fnmatch: work around GCC compiler warning bug with uninit var
22551         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
22552         This works around a bug with x86-64 GCC 4.9.2 and earlier
22553         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
22554         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
22555         used uninitialized in this function [-Wmaybe-uninitialized]".
22557 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22559         * posix/bug-regex31.c (main): Return RES not 0.
22561 2014-11-25  Anton Blanchard <anton@samba.org>
22563         * sysdeps/powerpc/bits/atomic.h
22564         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
22566 2014-11-24  Sterling Augustine  <saugustine@google.com>
22568         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
22570 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
22572         [BZ #17608]
22573         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
22575 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
22577         [BZ #17633]
22578         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
22579         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
22580         variable.
22581         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22582         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22584 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22586         * string/strncpy.c (strncpy): Improve performance by using memset.
22588 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22590         * string/strcpy.c (strcpy):
22591         Improve performance by using strlen and memcpy.
22593 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
22595         * string/strcoll_l.c (get_next_seq): __always_inline.
22596         * string/strcoll_l.c (do_compare): __always_inline.
22598 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22600         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
22601         defined.
22602         * include/mqueue.h: Likewise.
22603         * include/stdlib.h: Likewise.
22605         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
22606         (get_null_defines): Adjust.
22607         * sunrpc/Makefile: Adjust comment.
22608         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
22609         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
22610         (CFLAGS-interp.c): Likewise.
22611         (CFLAGS-ldconfig.c): Likewise.
22612         (CPPFLAGS-.os): Likewise.
22613         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22614         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22615         * extra-modules.mk (extra-modules.mk): Likewise.
22616         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
22617         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
22618         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
22619         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
22620         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
22621         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
22622         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
22623         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
22624         * iconvdata/Makefile (CPPFLAGS): Likewise.
22625         (cpp-srcs-left): Add libof for all iconvdata routines.
22626         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
22627         * include/assert.h: Likewise.
22628         * include/ctype.h: Likewise.
22629         * include/errno.h: Likewise.
22630         * include/libc-symbols.h: Likewise.
22631         * include/math.h: Likewise.
22632         * include/netdb.h: Likewise.
22633         * include/resolv.h: Likewise.
22634         * include/stdio.h: Likewise.
22635         * include/stdlib.h: Likewise.
22636         * include/string.h: Likewise.
22637         * include/sys/stat.h: Likewise.
22638         * include/wctype.h: Likewise.
22639         * intl/l10nflist.c: Likewise.
22640         * libidn/idn-stub.c: Likewise.
22641         * libio/libioP.h: Likewise.
22642         * nptl/libc_multiple_threads.c: Likewise.
22643         * nptl/pthreadP.h: Likewise.
22644         * posix/regex_internal.h: Likewise.
22645         * resolv/res_hconf.c: Likewise.
22646         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
22647         * sysdeps/arm/memmove.S: Likewise.
22648         * sysdeps/arm/sysdep.h: Likewise.
22649         * sysdeps/generic/_itoa.h: Likewise.
22650         * sysdeps/generic/symbol-hacks.h: Likewise.
22651         * sysdeps/gnu/errlist.awk: Likewise.
22652         * sysdeps/gnu/errlist.c: Likewise.
22653         * sysdeps/i386/i586/memcpy.S: Likewise.
22654         * sysdeps/i386/i586/memset.S: Likewise.
22655         * sysdeps/i386/i686/memcpy.S: Likewise.
22656         * sysdeps/i386/i686/memmove.S: Likewise.
22657         * sysdeps/i386/i686/mempcpy.S: Likewise.
22658         * sysdeps/i386/i686/memset.S: Likewise.
22659         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22660         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22661         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
22662         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
22663         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22664         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22665         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
22666         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22667         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22668         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22669         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22670         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22671         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22672         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22673         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22674         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22675         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
22676         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
22677         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
22678         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22679         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22680         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22681         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22682         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22683         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22684         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22685         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
22686         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22687         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
22688         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22689         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22690         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22691         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22692         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22693         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22694         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22695         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22696         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22697         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22698         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22699         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22700         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22701         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22702         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22703         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22704         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22705         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
22706         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
22707         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22708         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22709         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22710         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
22711         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
22712         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22713         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22714         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
22715         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22716         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
22717         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
22718         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22719         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22720         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22721         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
22722         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22723         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22724         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
22725         * sysdeps/posix/closedir.c: Likewise.
22726         * sysdeps/posix/opendir.c: Likewise.
22727         * sysdeps/posix/readdir.c: Likewise.
22728         * sysdeps/posix/rewinddir.c: Likewise.
22729         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
22730         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
22731         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22732         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22733         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22734         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
22735         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
22736         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
22737         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
22738         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
22739         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
22740         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
22741         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
22742         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
22743         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
22744         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
22745         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
22746         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
22747         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
22748         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
22749         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
22750         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
22751         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
22752         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
22753         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
22754         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
22755         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
22756         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
22757         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
22758         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
22759         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
22760         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
22761         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
22762         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
22763         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
22764         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
22765         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22766         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22767         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
22768         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
22769         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
22770         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
22771         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
22772         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22773         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22774         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
22775         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
22776         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
22777         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
22778         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
22779         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
22780         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
22781         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22782         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
22783         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
22784         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
22785         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
22786         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
22787         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
22788         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
22789         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22790         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
22791         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22792         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
22793         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
22794         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22795         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
22796         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
22797         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
22798         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
22799         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22800         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
22801         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
22802         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
22803         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
22804         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
22805         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
22806         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
22807         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22808         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
22809         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
22810         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22811         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
22812         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
22813         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22814         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
22815         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
22816         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22817         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22818         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22819         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
22820         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
22821         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
22822         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22823         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22824         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
22825         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22826         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22827         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
22828         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
22829         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22830         * sysdeps/unix/alpha/sysdep.S: Likewise.
22831         * sysdeps/unix/alpha/sysdep.h: Likewise.
22832         * sysdeps/unix/make-syscalls.sh: Likewise.
22833         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22834         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22835         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22836         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
22837         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22838         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22839         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
22840         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22841         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22842         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
22843         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22844         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22845         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22846         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22847         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22848         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22849         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22850         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22851         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22852         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22853         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22854         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22855         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22856         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22857         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22858         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22859         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22862         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
22863         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22864         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22865         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22866         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22867         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22868         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22869         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22870         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22871         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22872         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22873         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22874         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22875         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22876         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22877         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22878         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22879         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22880         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22881         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22882         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22883         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22884         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22885         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22886         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22887         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
22888         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22889         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22890         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22891         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
22892         * sysdeps/x86_64/memcpy.S: Likewise.
22893         * sysdeps/x86_64/memmove.c: Likewise.
22894         * sysdeps/x86_64/memset.S: Likewise.
22895         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
22896         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22897         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22898         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
22899         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
22900         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22901         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22902         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22903         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22904         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22905         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22906         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22907         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
22908         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22909         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22910         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
22911         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22912         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22913         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22914         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22915         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
22916         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22917         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22918         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22919         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22920         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22921         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22922         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
22923         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22924         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22925         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
22926         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22927         * sysdeps/x86_64/strcmp.S: Likewise.
22929         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
22931         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
22932         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
22933         * elf/rtld-Rules: Likewise.
22934         * elf/setup-vdso.h: Likewise.
22935         * include/assert.h: Likewise.
22936         * include/bits/stdlib-float.h: Likewise.
22937         * include/errno.h: Likewise.
22938         * include/sys/stat.h: Likewise.
22939         * include/unistd.h: Likewise.
22940         * sysdeps/aarch64/setjmp.S: Likewise.
22941         * sysdeps/alpha/setjmp.S: Likewise.
22942         * sysdeps/arm/__longjmp.S: Likewise.
22943         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
22944         * sysdeps/arm/setjmp.S: Likewise.
22945         * sysdeps/arm/sysdep.h: Likewise.
22946         * sysdeps/generic/_itoa.h: Likewise.
22947         * sysdeps/generic/dl-sysdep.h: Likewise.
22948         * sysdeps/generic/ldsodefs.h: Likewise.
22949         * sysdeps/i386/dl-tls.h: Likewise.
22950         * sysdeps/i386/setjmp.S: Likewise.
22951         * sysdeps/m68k/setjmp.c: Likewise.
22952         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
22953         * sysdeps/mach/hurd/opendir.c: Likewise.
22954         * sysdeps/posix/getcwd.c: Likewise.
22955         * sysdeps/posix/opendir.c: Likewise.
22956         * sysdeps/posix/profil.c: Likewise.
22957         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22958         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22959         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22960         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22961         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22962         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
22963         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22964         * sysdeps/s390/dl-tls.h: Likewise.
22965         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22966         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22967         * sysdeps/sh/sh3/setjmp.S: Likewise.
22968         * sysdeps/sh/sh4/setjmp.S: Likewise.
22969         * sysdeps/unix/alpha/sysdep.h: Likewise.
22970         * sysdeps/unix/arm/sysdep.S: Likewise.
22971         * sysdeps/unix/i386/sysdep.S: Likewise.
22972         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22973         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22974         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22975         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22976         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22977         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22978         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22979         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22980         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22981         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22982         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22983         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22984         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22987         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22988         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22989         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22990         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22991         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22992         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22993         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22994         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22995         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22996         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22997         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22998         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22999         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23000         * sysdeps/x86_64/setjmp.S: Likewise.
23002         * include/math.h: Use IS_IN instead of IS_IN_libm.
23003         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
23004         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23005         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23006         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
23007         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23008         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23009         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23010         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23011         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23012         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23013         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
23014         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
23015         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
23016         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
23017         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
23018         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
23019         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23020         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
23021         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23022         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
23023         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
23024         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
23025         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
23026         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
23027         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
23028         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
23029         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
23030         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
23031         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
23032         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
23033         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
23034         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23035         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23037         Likewise.
23038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
23039         Likewise.
23040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
23041         Likewise.
23042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
23043         Likewise.
23044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
23045         Likewise.
23046         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23047         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
23048         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23049         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23050         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23051         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
23053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
23054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
23055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
23056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
23057         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
23058         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
23059         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23060         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23061         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23062         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23063         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23064         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23065         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23066         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
23067         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
23068         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
23069         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
23070         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
23071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23072         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
23074         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
23075         * nptl/pthreadP.h: Likewise.
23076         * nptl_db/structs.def: Likewise.
23077         * sysdeps/arm/sysdep.h: Likewise.
23078         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23079         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23080         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
23081         * sysdeps/unix/alpha/sysdep.h: Likewise.
23082         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23083         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23084         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23085         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23086         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23087         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23088         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23089         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23090         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23091         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23092         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23093         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23094         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23095         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23098         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23099         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23100         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23101         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23102         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23103         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23104         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23105         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23106         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
23107         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23109         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
23110         * nptl/pthreadP.h: Likewise.
23111         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23112         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23113         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23114         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23115         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23116         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23117         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23118         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23119         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23120         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23121         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23122         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23124         Likewise.
23125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23126         Likewise.
23127         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23128         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23129         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23130         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23131         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23132         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23133         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23134         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23136         * dlfcn/dladdr.c: Use IS_IN.
23137         * dlfcn/dladdr1.c: Likewise.
23138         * dlfcn/dlclose.c: Likewise.
23139         * dlfcn/dlerror.c: Likewise.
23140         * dlfcn/dlinfo.c: Likewise.
23141         * dlfcn/dlmopen.c: Likewise.
23142         * dlfcn/dlopen.c: Likewise.
23143         * dlfcn/dlsym.c: Likewise.
23144         * dlfcn/dlvsym.c: Likewise.
23146         * include/ifaddrs.h: Use IS_IN.
23147         * inet/check_pf.c: Likewise.
23148         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23149         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
23151         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
23152         IS_IN_ldconfig.
23153         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
23154         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
23156         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
23157         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
23158         IS_IN (libc).
23160         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
23162         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
23163         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23164         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23165         * include/libc-symbols.h (IS_IN_LIB): New macro.
23166         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
23167         * include/netdb.h: Likewise.
23168         * include/stap-probe.h: Remove all uses of IN_LIB.
23170         * Makeconfig (module-cppflags-real): Define MODULE_NAME
23171         instead of IN_MODULE.
23172         * include/libc-symbols.h (IN_MODULE): Define using
23173         MODULE_NAME.
23174         (PASTE_NAME, PASTE_NAME1): New macros.
23175         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
23176         of IN_LIB.
23177         (STAP_PROBE_ASM): Likewise.
23179 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23181         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
23182         __mach_init in dlopened libc.
23184 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
23186         * sysdeps/arm/preconfigure.ac: Delete EABI check.
23187         * sysdeps/arm/preconfigure: Regenerate.
23189 2014-11-21  Roland McGrath  <roland@hack.frob.com>
23191         * nptl/pthread_create.c (__pthread_create_2_1): Set
23192         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
23193         when copying values from IATTR into PD.
23195 2014-11-21  Will Newton  <will.newton@linaro.org>
23196             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
23198         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
23199         Refactor inline-asm.  Also add comment.
23201         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
23202         ElfW macro instead of hardcoded Elf64 types.
23203         (la_aarch64_gnu_pltenter): Likewise.
23204         * sysdeps/aarch64/dl-machine.h
23205         (elf_machine_runtime_setup): Use ElfW(Addr).
23207         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
23208         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
23209         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
23210         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
23211         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
23212         (R_AARCH64_TLS_DTPMOD64): Rename to ..
23213         (R_AARCH64_TLS_DTPMOD): This.
23214         (R_AARCH64_TLS_DTPREL64): Rename to ...
23215         (R_AARCH64_TLS_DTPREL): This.
23216         (R_AARCH64_TLS_TPREL64): Rename to ...
23217         (R_AARCH64_TLS_TPREL): This.
23218         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
23219         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
23220         R_AARCH64_TLS_TPREL64.
23221         (elf_machine_rela): Likewise.
23223 2014-11-21  Torvald Riegel  <triegel@redhat.com>
23225         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
23226         by setting it to 0.  64b atomics are not supported currently.
23228 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23230         [BZ #16469]
23231         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
23232         search domain names.
23234 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23236         [BZ #16469]
23237         * NEWS: Update.
23238         * resolv/res_query.c (__libc_res_nquerydomain): Retain
23239         trailing dot.
23240         * posix/tst-getaddrinfo5.c: New.
23241         * posix/Makefile (tests): Add it.
23243 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23245         [BZ #14498]
23246         * NEWS: Fixed.
23247         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
23248         after parsing line but before break_if_match.
23249         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
23250         if there is a protocol mismatch.
23252 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
23254         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
23255         because the potential race is on the user-supplied stream.
23257 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23259         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
23260         string literal if not passed a buffer.
23261         * manual/job.texi (ctermid): Update reasoning, note deviation
23262         from posix, suggest mtasurace when not passed a buffer, for
23263         future non-preliminary safety notes.
23265 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23267         * manual/users.texi (cuserid): Fix MT-Safety note for the case
23268         of not passing it a buffer.
23269         Reported by Peng Haitao.
23271 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23273         * manual/Makefile ($(objpfx)stamp-summary): Require
23274         check-safety.sh to pass.
23275         * manual/check-safety.sh: Wish for verification that every
23276         @deftypefn and @deftypefun is followed by a @safety remark.
23278 2014-11-20  Roland McGrath  <roland@hack.frob.com>
23280         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
23282         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
23283         PTHREAD_CANCEL_ASYNCHRONOUS.
23284         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
23285         send SIGCANCEL.
23287         * nptl/default-sched.h: New file.
23288         * sysdeps/unix/sysv/linux/default-sched.h: New file.
23289         * nptl/pthread_create.c: Include it.
23290         (__pthread_create_2_1): Use collect_default_sched instead of making
23291         Linux syscalls here directly.
23293 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23295         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
23296         __pthread_once): Use C11 atomics.
23298 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23300         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23302 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23304         * include/atomic.h (__atomic_link_error, __atomic_check_size,
23305         atomic_thread_fence_acquire, atomic_thread_fence_release,
23306         atomic_thread_fence_seq_cst, atomic_load_relaxed,
23307         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
23308         atomic_compare_exchange_weak_relaxed,
23309         atomic_compare_exchange_weak_acquire,
23310         atomic_compare_exchange_weak_release,
23311         atomic_exchange_acquire, atomic_exchange_release,
23312         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
23313         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
23314         atomic_fetch_and_acquire,
23315         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
23317 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23319         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
23320         USE_ATOMIC_COMPILER_BUILTINS): Define.
23321         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
23322         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23323         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
23324         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23325         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
23326         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23327         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
23328         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23329         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
23330         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23331         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
23332         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23333         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
23334         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23335         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
23336         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23337         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23338         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23339         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23340         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23341         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
23342         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23343         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23344         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23345         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
23346         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23347         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23348         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23349         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
23350         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23351         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
23352         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23353         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
23354         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23355         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23356         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23357         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
23358         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23359         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
23360         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23362 2014-11-19  Roland McGrath  <roland@hack.frob.com>
23364         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
23365         the sched_priority value here.  It was already checked when the user
23366         called pthread_attr_setschedparam.
23368         * nptl/tst-bad-schedattr.c: New file.
23369         * nptl/Makefile (tests): Add it.
23371 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
23372             Florian Weimer  <fweimer@redhat.com>
23373             Joseph Myers  <joseph@codesourcery.com>
23374             Adam Conrad  <adconrad@0c3.net>
23375             Andreas Schwab  <schwab@suse.de>
23376             Brooks  <bmoses@google.com>
23378         [BZ #17625]
23379         * wordexp-test.c (__dso_handle): Add prototype.
23380         (__register_atfork): Likewise.
23381         (__app_register_atfork): New function.
23382         (registered_forks): New global.
23383         (register_fork): New function.
23384         (test_case): Add 3 new tests for WRDE_CMDSUB.
23385         (main): Call __app_register_atfork.
23386         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
23387         fork count is non-zero fail the test.
23388         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
23389         is set.
23390         (parse_dollars): Remove check for WRDE_NOCMD.
23391         (parse_dquote): Likewise.
23393 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23395         * Makeconfig (built-modules): List non-library modules to be
23396         built.
23397         (module-cppflags): Include libc-modules.h for
23398         everything except shlib-versions.v.i.
23399         (CPPFLAGS): Use it.
23400         (before-compile): Add libc-modules.h.
23401         ($(common-objpfx)libc-modules.h,
23402         $(common-objpfx)libc-modules.stmp): New targets.
23403         (common-generated): Add libc-modules.h and libc-modules.stmp.
23404         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
23405         * include/libc-symbols.h: Don't include libc-modules.h.
23406         * include/libc-modules.h: Remove file.
23407         * scripts/gen-libc-modules.awk: New script to generate
23408         libc-modules.h.
23409         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
23410         Depend on libc-modules.stmp.
23412         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
23414         * Makeconfig (in-module): Get value of libof set for the
23415         translation unit.
23416         (CPPFLAGS): Use $(in-module).
23417         * Makerules: Don't suffix routine names for nonlib.
23418         * include/libc-modules.h: New file.
23419         * include/libc-symbols.h: Include libc-modules.h
23420         (IS_IN): New macro to replace IS_IN_* macros.
23421         * elf/Makefile: Set libof-* for each routine.
23422         * elf/rtld-Rules: Likewise.
23423         * extra-modules.mk: Likewise.
23424         * iconv/Makefile: Likewise.
23425         * iconvdata/Makefile: Likewise.
23426         * locale/Makefile: Likewise.
23427         * malloc/Makefile: Likewise.
23428         * nss/Makefile: Likewise.
23429         * sysdeps/gnu/Makefile: Likewise.
23430         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
23431         * sysdeps/unix/sysv/linux/Makefile: Likewise.
23432         * sysdeps/s390/s390-64/Makefile: Likewise.
23433         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
23434         CPPFLAGS for nscd instead of nonlib.
23436 2014-11-18  Roland McGrath  <roland@hack.frob.com>
23438         * nptl/createthread.c: New file.
23440         * nptl/createthread.c: Moved ...
23441         * sysdeps/unix/sysv/linux/createthread.c: ... here.
23443         * nptl/createthread.c: Add proper top-line comment.
23444         (do_clone): Folded into ...
23445         (create_thread): ... here.  Take new arguments STOPPED_START and
23446         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
23447         increment __nptl_threads, do event-reporting logic, do
23448         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
23449         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
23450         resource cleanup if sched_setaffinity or sched_setscheduler fails,
23451         just send SIGCANCEL.
23452         * nptl/pthread_create.c: Forward-declare create_thread before
23453         including createthread.c.
23454         (start_thread): Use new macro START_THREAD_DEFN to replace defining
23455         declaration, and new macro START_THREAD_SELF to replace argument.
23456         Remove return statement.
23457         (report_thread_creation): New function.
23458         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
23459         synchronization logic, and __nptl_nthreads increment here, around
23460         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
23461         PD->parent_cancelhandling here, before create_thread.  When
23462         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
23463         __deallocate_stack, and ENOMEM translation here.
23465 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
23467         [BZ #17616]
23468         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
23469         (mptwo): Rename to __mptwo.
23470         (__inv): Use __mptwo instead of mptwo.
23471         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
23472         (mptwo): Rename to __mptwo.
23473         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
23474         of mpone and __mptwo instead of mptwo.
23475         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
23476         instead of mpone.
23477         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23478         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
23479         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
23480         of mpone and __mptwo instead of mptwo.
23481         (__mpranred): Use __mpone instead of mpone.
23482         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
23483         variable.
23484         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23485         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23486         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23487         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23488         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23489         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23490         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23491         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23492         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23493         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23494         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23495         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23496         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23497         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23498         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23499         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23500         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23501         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23502         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23504 2014-11-18  Tom de Vries  <tom@codesoucery.com>
23506         * manual/signal.texi (Primitives Interrupted by Signals): In section,
23507         replace BSD Handler xref with BSD Signal Handling.
23509 2014-11-17  Richard Henderson  <rth@redhat.com>
23511         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
23512         (_FP_PACK_RAW_2): Remove.
23513         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
23514         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
23515         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
23516         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
23517         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
23518         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
23519         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
23520         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
23521         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
23522         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
23523         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
23524         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
23525         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
23526         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
23527         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
23528         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
23530 2014-11-14  Roland McGrath  <roland@hack.frob.com>
23532         * signal/signal.h [__USE_MISC]
23533         (struct sigvec): Remove type.
23534         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
23535         (sigvec): Remove declaration.
23536         * sysdeps/posix/sigvec.c: Moved ...
23537         * signal/sigvec.c: ... here, replacing old file.
23538         (struct sigvec): New type, copied from old signal.h definition.
23539         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
23540         (__sigvec): Convert definition to prototype.
23541         (sigvec): Replace weak_alias with compat_symbol.
23542         * signal/Versions (libc: GLIBC_2.21): New version set.
23543         * include/signal.h: Remove __sigvec declaration.
23544         * sysdeps/unix/bsd/sigvec.c: Remove file.
23545         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
23546         * manual/signal.texi (BSD Handler): Remove subsection.
23547         Move siginterrupt up to ...
23548         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
23549         (Blocking in BSD): Fold subsection into its parent.
23550         * NEWS: Mention sigvec removal.
23552 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23554         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
23555         (DLA_FMS): Make definition conditional only on [__FMA4__].
23556         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
23557         definition.
23559         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
23560         Make definition conditional only on [PROF].
23561         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
23562         definition.
23563         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
23564         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
23566         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
23567         !__GNUC__].
23568         * include/signal.h (__sigpause): Move declaration above call to
23569         libc_hidden_proto.
23570         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
23571         variable.
23572         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23573         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23575 2014-11-14  David S. Miller  <davem@davemloft.net>
23577         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
23578         Define before including <string/memcpy.c> and <string/mempcpy.c>.
23580 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23582         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
23583         * configure: Regenerated.
23584         * manual/install.texi (Tools for Compilation): Document a
23585         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
23586         compiler verified to work.
23587         * INSTALL: Regenerated.
23589         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
23590         redeclare with asm name.
23591         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
23592         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
23593         including <string.h>.
23594         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23595         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
23596         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23597         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
23598         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23599         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23600         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23602 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
23604         * stdlib/strtol.c (__strtol): Use prototype definition.
23606         [BZ #17594]
23607         * stdlib/strtol.c (SYM__): New macro.
23608         (SYM__1): Likewise.
23609         (__strtol): Likewise.
23610         (strtol): Rename to __strtol and define as weak alias of
23611         __strtol.  Use libc_hidden_weak.
23613 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23615         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
23616         Use numbered labels in inline assembly.
23618 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23620         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
23621         Add setjmp LIBC_PROBE.
23622         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
23623         Likewise.
23624         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
23625         Add longjmp, longjmp_target LIBC_PROBE.
23626         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
23627         Likewise.
23629 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23631         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23632         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
23633         to get rid of unused variable warning.
23635 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23637         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
23638         Check for unwind_backtrace ==  NULL only in SHARED case.
23639         (__backchain_backtrace): Compile only in SHARED case.
23640         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
23641         Likewise.
23642         (__backchain_backtrace): Declare as static.
23644 2014-11-12  Roland McGrath  <roland@hack.frob.com>
23646         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
23647         (__libc_multiple_threads_ptr): Variable moved ...
23648         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
23650 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
23652         * conform/GlibcConform.pm: New file.
23653         * conform/conformtest.pl: Use GlibcConform module.
23654         * conform/linknamespace.pl: New file.
23655         * conform/list-header-symbols.pl: Likewise.
23656         * conform/Makefile (linknamespace-symlists-base): New variable.
23657         (linknamespace-symlists-tests): Likewise.
23658         (linknamespace-header-base): Likewise.
23659         (linknamespace-header-tests): Likewise.
23660         (tests-special): Add new tests.
23661         ($(linknamespace-symlists-tests)): New rule.
23662         (linknamespace-libs): New variable.
23663         ($(objpfx)symlist-stdlibs): New rule.
23664         ($(linknamespace-header-tests)): Likewise.
23665         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
23666         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
23667         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
23668         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
23669         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
23670         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
23671         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
23672         (test-xfail-ISO/math.h/linknamespace): Likewise.
23673         (test-xfail-ISO/signal.h/linknamespace): Likewise.
23674         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
23675         (test-xfail-ISO/time.h/linknamespace): Likewise.
23676         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23677         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
23678         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23679         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23680         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23681         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23682         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23683         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23684         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23685         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23686         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23687         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23688         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23689         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
23690         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
23691         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23692         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
23693         (test-xfail-XPG3/search.h/linknamespace): Likewise.
23694         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
23695         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23696         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
23697         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23698         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23699         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
23700         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23701         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23702         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
23703         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
23704         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23705         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
23706         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23707         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23708         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23709         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23710         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
23711         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
23712         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
23713         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
23714         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23715         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
23716         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23717         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
23718         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23719         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23720         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23721         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
23722         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
23723         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23724         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23725         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
23726         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23727         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23728         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
23729         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23730         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23731         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23732         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
23733         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23734         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23735         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23736         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23737         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23738         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
23739         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
23740         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23741         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23742         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
23743         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23744         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23745         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
23746         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23747         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23748         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23749         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23750         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
23751         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23752         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
23753         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
23754         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23755         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
23756         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23757         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
23758         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
23759         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23760         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23761         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
23762         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23763         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23764         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23765         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
23766         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
23767         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
23768         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23769         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23770         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23771         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23772         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
23773         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
23774         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23775         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23776         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23777         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23778         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
23779         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23780         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23781         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23782         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23783         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23784         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
23785         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23786         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23787         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
23788         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23789         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23790         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23791         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23792         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23793         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23794         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23795         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23796         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
23797         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23798         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23799         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23800         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23801         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23802         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
23803         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23804         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23805         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23806         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23807         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
23808         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
23809         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23810         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23811         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23812         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23813         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23814         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23815         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23816         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23817         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23818         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23819         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23820         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23821         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23822         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
23823         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23824         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23825         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23827         [BZ #17589]
23828         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
23829         of fgets_unlocked.
23831         [BZ #17585]
23832         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
23833         (memmem): Rename to __memmem and define as weak alias of
23834         __memmem.  Use libc_hidden_weak.
23835         (__memmem): Use libc_hidden_def.
23836         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
23837         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
23838         memmem.
23840         [BZ #17582]
23841         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
23842         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
23843         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
23844         and define as weak alias of __fgets_unlocked.  Use
23845         libc_hidden_weak.
23846         (__fgets_unlocked): Use libc_hidden_def.
23847         * include/stdio.h (__fgets_unlocked): Declare.  Use
23848         libc_hidden_proto.
23849         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
23850         __fgets_unlocked instead of fgets_unlocked.
23851         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
23852         (GET_NPROCS_CONF_PARSER): Likewise.
23853         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
23854         (GET_NPROCS_CONF_PARSER): Likewise.
23856         [BZ #17574]
23857         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
23858         weak alias of __wmemset.  Use libc_hidden_weak.
23859         (__wmemset): Use libc_hidden_def.
23860         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
23861         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
23862         of wmemset.
23864         [BZ #17573]
23865         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
23866         with asm name __mempcpy.
23867         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
23869         [BZ #17572]
23870         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
23871         and define as weak alias of __rawmemchr.
23872         (__rawmemchr): Do not define as strong alias of rawmemchr.
23874         [BZ #17571]
23875         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
23876         alias of __qsort_r.
23877         (qsort): Call __qsort_r instead of qsort_r.
23878         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
23879         (__qsort_r): Declare.  Call libc_hidden_proto.
23880         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
23881         instead of qsort_r.
23882         * nscd/gai.c (__qsort_r): Define to qsort_r.
23883         * posix/tst-rfc3484.c (__qsort_r): Likewise.
23884         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
23885         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
23887         [BZ #17570]
23888         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
23889         define as weak alias of __malloc_info.
23891         [BZ #17584]
23892         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
23893         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23894         (__rewinddir): Use libc_hidden_def.
23895         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
23896         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23897         (__rewinddir): Use libc_hidden_def.
23898         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
23899         weak alias of __rewinddir.  Don't use libc_hidden_def.
23900         (__rewinddir): Use libc_hidden_def.
23901         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
23902         (__rewinddir): Use libc_hidden_proto.
23903         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
23904         rewinddir.
23905         (__getcwd): Use __rewinddir instead of rewinddir.
23907         [BZ #17583]
23908         * libio/fileno.c (fileno): Rename to __fileno and define as weak
23909         alias of __fileno.  Use libc_hidden_weak.
23910         (__fileno): Use libc_hidden_def.
23911         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
23912         * libio/ftello.c (ftello): Rename to __ftello and define as weak
23913         alias of __ftello.
23914         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
23915         __ftello.
23916         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
23917         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
23918         libc_hidden_def.
23919         (fread_unlocked): Don't use libc_hidden_ver.
23920         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
23921         and define as weak alias of __fread_unlocked.  Don't use
23922         libc_hidden_def.
23923         (__fread_unlocked): Use libc_hidden_def.
23924         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
23925         (ftello): Don't use libc_hidden_proto.
23926         (__ftello): Declare.  Use libc_hidden_proto.
23927         (fread_unlocked): Don't use libc_hidden_proto.
23928         (__fread_unlocked): Declare.  Use libc_hidden_proto.
23929         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
23930         and __ftello instead of fileno, fread_unlocked and ftello.
23932 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23934         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
23935         GOT12.
23936         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23937         Likewise.
23938         (_dl_start_user): Likewise.
23939         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
23941 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
23942             Siddhesh Poyarekar  <siddhesh@redhat.com>
23944         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
23945         Move argv and envp down instead of moving argc up.
23946         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
23948 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
23950         [BZ #17506]
23951         * test-skeleton.c (main): Return successful if one of
23952         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
23953         * string/tst-strcoll-overflow.c: Define expected status.
23955 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
23957         [BZ #17475]
23958         * locale/iso-639.def: Define Bhili and Tulu language codes.
23960 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
23962         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
23964 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
23966         [BZ #17555]
23967         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
23969 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23971         * configure.ac: Updated check of minimal required version to
23972         2.22.
23973         * manual/install.texi (Tools for Compilation): Updated version
23974         number.
23975         * configure: Regenerated.
23976         * INSTALL: Likewise.
23978 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
23980         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
23981         __tls_get_addr.
23983 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
23985         * include/sys/wait.h (__libc_waitpid): Remove declaration.
23986         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
23987         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23988         libc_hidden_weak.
23989         (waitpid): Define as alias of __waitpid.
23990         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
23991         __waitpid.
23992         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23993         libc_hidden_weak.
23994         (waitpid): Define as alias of __waitpid.
23995         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
23996         __libc_waitpid alias.
23997         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
23998         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
23999         Likewise.
24000         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
24001         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
24002         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
24003         alias.
24004         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
24005         __waitpid.
24006         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24007         libc_hidden_weak.
24008         (waitpid): Define as alias of __waitpid.
24010 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
24012         * manual/llio.texi: Add comment that write safety has been
24013         fixed in Linux.
24015         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
24016         (localplt-build-dso): Add elf/ld.so.
24017         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
24018         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
24019         and free for ld.so.
24020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
24021         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
24022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
24023         Likewise.
24024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24025         Likewise.
24026         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
24027         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
24028         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
24029         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
24030         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24031         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
24032         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
24033         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
24034         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24035         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
24036         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24038 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
24040         [BZ #14132]
24041         * include/libc-symbols.h (INTUSE): Remove macro.
24042         (INTDEF): Likewise.
24043         (INTVARDEF): Likewise.
24044         (_INTVARDEF): Likewise.
24045         (INTDEF2): Likewise.
24046         (INTVARDEF2): Likewise.
24047         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
24048         rtld_hidden_def instead of INTVARDEF.
24049         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
24050         (_dl_starting_up_internal): Remove declaration.
24051         (_dl_starting_up): Use rtld_hidden_proto.
24052         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
24053         declaration.
24054         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
24055         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
24056         _dl_starting_up.
24057         * elf/dl-writev.h (_dl_writev): Likewise.
24058         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
24059         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
24060         _dl_starting_up_internal.
24062 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24064         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24065         test-skeleton.c.
24067 2014-11-05  Will Newton  <will.newton@linaro.org>
24069         * benchtests/Makefile: (bench-malloc): Add malloc thread
24070         scalability benchmark.
24071         * benchtests/bench-malloc-threads.c: New file.
24073 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
24075         * sysdeps/aarch64/strchrnul.S: New file.
24077 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24079         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
24080         definition.
24081         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24082         Likwise.
24083         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24084         Likewise.
24085         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24086         Likewise.
24087         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24088         Likewise.
24089         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24090         Likewise.
24092 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
24094         * catgets/test-gencat.c: Use test-skeleton.c.
24095         * catgets/tst-catgets.c: Likewise.
24096         * csu/tst-empty.c: Likewise.
24097         * elf/tst-audit2.c: Likewise.
24098         * elf/tst-global1.c: Likewise.
24099         * elf/tst-pathopt.c: Likewise.
24100         * elf/tst-piemod1.c: Likewise.
24101         * elf/tst-tls10.c: Likewise.
24102         * elf/tst-tls11.c: Likewise.
24103         * elf/tst-tls12.c: Likewise.
24104         * gnulib/tst-gcc.c: Likewise.
24105         * iconvdata/tst-e2big.c: Likewise.
24106         * iconvdata/tst-loading.c: Likewise.
24107         * iconv/tst-iconv1.c: Likewise.
24108         * iconv/tst-iconv2.c: Likewise.
24109         * inet/test-inet6_opt.c: Likewise.
24110         * inet/tst-gethnm.c: Likewise.
24111         * inet/tst-network.c: Likewise.
24112         * inet/tst-ntoa.c: Likewise.
24113         * intl/tst-codeset.c: Likewise.
24114         * intl/tst-gettext2.c: Likewise.
24115         * intl/tst-gettext3.c: Likewise.
24116         * intl/tst-ngettext.c: Likewise.
24117         * intl/tst-translit.c: Likewise.
24118         * io/test-stat.c: Likewise.
24119         * libio/test-fmemopen.c: Likewise.
24120         * libio/tst-freopen.c: Likewise.
24121         * libio/tst-sscanf.c: Likewise.
24122         * libio/tst-ungetwc1.c: Likewise.
24123         * libio/tst-ungetwc2.c: Likewise.
24124         * libio/tst-widetext.c: Likewise.
24125         * localedata/tst-ctype.c: Likewise.
24126         * localedata/tst-digits.c: Likewise.
24127         * localedata/tst-leaks.c: Likewise.
24128         * localedata/tst-mbswcs1.c: Likewise.
24129         * localedata/tst-mbswcs2.c: Likewise.
24130         * localedata/tst-mbswcs3.c: Likewise.
24131         * localedata/tst-mbswcs4.c: Likewise.
24132         * localedata/tst-mbswcs5.c: Likewise.
24133         * localedata/tst-setlocale.c: Likewise.
24134         * localedata/tst-trans.c: Likewise.
24135         * localedata/tst-wctype.c: Likewise.
24136         * localedata/tst-xlocale1.c: Likewise.
24137         * login/tst-grantpt.c: Likewise.
24138         * malloc/tst-calloc.c: Likewise.
24139         * malloc/tst-malloc.c: Likewise.
24140         * malloc/tst-mallocstate.c: Likewise.
24141         * malloc/tst-mcheck.c: Likewise.
24142         * malloc/tst-mtrace.c: Likewise.
24143         * malloc/tst-obstack.c: Likewise.
24144         * math/atest-exp2.c: Likewise.
24145         * math/atest-exp.c: Likewise.
24146         * math/atest-sincos.c: Likewise.
24147         * math/test-matherr.c: Likewise.
24148         * math/test-misc.c: Likewise.
24149         * math/test-powl.c: Likewise.
24150         * math/tst-definitions.c: Likewise.
24151         * misc/tst-dirname.c: Likewise.
24152         * misc/tst-efgcvt.c: Likewise.
24153         * misc/tst-fdset.c: Likewise.
24154         * misc/tst-hsearch.c: Likewise.
24155         * misc/tst-mntent2.c: Likewise.
24156         * nptl/tst-sem7.c: Likewise.
24157         * nptl/tst-sem8.c: Likewise.
24158         * nptl/tst-sem9.c: Likewise.
24159         * nss/test-netdb.c: Likewise.
24160         * posix/tst-fnmatch.c: Likewise.
24161         * posix/tst-getlogin.c: Likewise.
24162         * posix/tst-gnuglob.c: Likewise.
24163         * posix/tst-mmap.c: Likewise.
24164         * pwd/tst-getpw.c: Likewise.
24165         * resolv/tst-inet_ntop.c: Likewise.
24166         * rt/tst-timer.c: Likewise.
24167         * stdio-common/test-fseek.c: Likewise.
24168         * stdio-common/test-popen.c: Likewise.
24169         * stdio-common/test-vfprintf.c: Likewise.
24170         * stdio-common/tst-cookie.c: Likewise.
24171         * stdio-common/tst-fileno.c: Likewise.
24172         * stdio-common/tst-gets.c: Likewise.
24173         * stdio-common/tst-obprintf.c: Likewise.
24174         * stdio-common/tst-perror.c: Likewise.
24175         * stdio-common/tst-sprintf2.c: Likewise.
24176         * stdio-common/tst-sprintf3.c: Likewise.
24177         * stdio-common/tst-sprintf.c: Likewise.
24178         * stdio-common/tst-swprintf.c: Likewise.
24179         * stdio-common/tst-tmpnam.c: Likewise.
24180         * stdio-common/tst-unbputc.c: Likewise.
24181         * stdio-common/tst-wc-printf.c: Likewise.
24182         * stdlib/tst-environ.c: Likewise.
24183         * stdlib/tst-fmtmsg.c: Likewise.
24184         * stdlib/tst-limits.c: Likewise.
24185         * stdlib/tst-rand48-2.c: Likewise.
24186         * stdlib/tst-rand48.c: Likewise.
24187         * stdlib/tst-random2.c: Likewise.
24188         * stdlib/tst-random.c: Likewise.
24189         * stdlib/tst-strtol.c: Likewise.
24190         * stdlib/tst-strtoll.c: Likewise.
24191         * stdlib/tst-tls-atexit.c: Likewise.
24192         * stdlib/tst-xpg-basename.c: Likewise.
24193         * string/test-ffs.c: Likewise.
24194         * string/tst-bswap.c: Likewise.
24195         * string/tst-inlcall.c: Likewise.
24196         * string/tst-strtok.c: Likewise.
24197         * string/tst-strxfrm.c: Likewise.
24198         * sysdeps/x86_64/tst-audit10.c: Likewise.
24199         * sysdeps/x86_64/tst-audit3.c: Likewise.
24200         * sysdeps/x86_64/tst-audit4.c: Likewise.
24201         * sysdeps/x86_64/tst-audit5.c: Likewise.
24202         * time/tst-ftime_l.c: Likewise.
24203         * time/tst-getdate.c: Likewise.
24204         * time/tst-mktime3.c: Likewise.
24205         * time/tst-mktime.c: Likewise.
24206         * time/tst-posixtz.c: Likewise.
24207         * time/tst-strptime2.c: Likewise.
24208         * time/tst-strptime3.c: Likewise.
24209         * wcsmbs/tst-btowc.c: Likewise.
24210         * wcsmbs/tst-mbrtowc.c: Likewise.
24211         * wcsmbs/tst-mbsrtowcs.c: Likewise.
24212         * wcsmbs/tst-wchar-h.c: Likewise.
24213         * wcsmbs/tst-wcpncpy.c: Likewise.
24214         * wcsmbs/tst-wcrtomb.c: Likewise.
24215         * wcsmbs/tst-wcsnlen.c: Likewise.
24216         * wcsmbs/tst-wcstof.c: Likewise.
24218 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
24220         [BZ #14132]
24221         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
24222         INTDEF.
24223         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
24224         declaration.
24225         (_dl_mcount): Use rtld_hidden_proto.
24226         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
24227         _dl_mcount.
24228         * elf/rtld.c (_rtld_global_ro): Likewise.
24230         [BZ #14132]
24231         * elf/dl-init.c (_dl_init): Don't use INTDEF.
24232         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
24233         of _dl_init_internal.
24234         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
24235         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
24236         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
24237         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
24238         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
24239         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
24240         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
24241         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
24242         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
24243         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
24244         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
24245         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
24246         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24247         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24248         * sysdeps/tile/dl-start.S (_start): Likewise.
24249         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
24250         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
24252         [BZ #14132]
24253         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
24254         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
24255         (rtld_progname): Make macro definition unconditional.
24256         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
24257         INTDEF.
24258         (dlmopen_doit): Do not use INTUSE with _dl_argv.
24259         (dl_main): Likewise.
24260         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24261         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
24262         instead of _dl_argv_internal.
24263         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24264         __GI__dl_argv instead of INTUSE(_dl_argv).
24265         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
24266         __GI__dl_argv instead of _dl_argv_internal.
24268         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
24269         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
24270         macro.
24271         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
24272         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
24273         New macro.
24274         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
24275         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
24276         macro.
24277         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
24278         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
24280 2014-11-04  Andreas Schwab  <schwab@suse.de>
24282         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
24284 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24286         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
24287         mtvsrd instruction in binary form.
24289 2014-11-03  Andreas Schwab  <schwab@suse.de>
24291         [BZ #17522]
24292         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
24293         for less than MB_LEN_MAX use a local buffer of that size.
24294         * libio/tst-fputws.c: New file.
24295         * libio/Makefile (tests): Add tst-fputws.
24297 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
24299         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
24300         the size of the fpu_fr.fpu_dregs[] array.
24302 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
24304         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
24305         (__nanosleep): Do not define as alias.
24306         (nanosleep): Define as alias of __nanosleep.
24307         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
24308         __libc_nanosleep name.
24310 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24312         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
24313         install.texi in comment.
24315 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24317         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
24318         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
24319         ... add here and use lwsync or sync ...
24320         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
24321         ... and add here using lwsync.
24323 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24325         * elf/dl-machine-reject-phdr.h: New file.
24326         * elf/dl-load.c: #include that.
24327         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
24328         if that returned true.
24330 2014-10-31  Roland McGrath  <roland@hack.frob.com>
24332         [BZ #17496]
24333         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
24334         gen-as-const-headers chunk.  Add a big scare comment after the last
24335         safe place to touch before-compile.
24337 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24339         * manual/install.texi (Tools for Compilation): Update autoconf
24340         version requirements.
24341         * INSTALL: Regenerated.
24343         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
24344         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
24345         (__libc_pselect): Likewise.
24347         [BZ #14138]
24348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
24349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24353 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24355         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
24356         correct barrier instruction.
24357         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
24358         Likewise.
24359         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
24360         Likewise.
24362 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24364         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
24365         after defining inlines.  Instead, just use parens to defeat macro
24366         expansion of __isctype in its declaration.
24368 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24370         * include/sys/uio.h (__libc_readv): Remove declaration.
24371         (__libc_writev): Likewise.
24372         * misc/readv.c (__libc_readv): Rename to __readv.
24373         (__readv): Do not define as alias.
24374         (readv): Define as alias of __readv.
24375         * misc/writev.c (__libc_writev): Rename to __writev.
24376         (__writev): Do not define as alias.
24377         (writev): Define as alias of __writev.
24378         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
24379         (__readv): Do not define as alias.
24380         (readv): Define unconditionally as alias of __readv.
24381         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
24382         (__writev): Do not define as alias.
24383         (writev): Define unconditionally as alias of __writev.
24384         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
24385         name.
24386         (writev): Do not define __libc_writev name.
24388 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24390         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
24391         (convert_charseq): New function, broken out of ...
24392         (use_from_charmap): ... here.  Call it.
24393         (use_to_charmap): Use convert_charseq and free instead of duplicating
24394         its code with a variable-length stack struct.
24396 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24398         * include/fcntl.h (__libc_creat): Remove declaration.
24399         * io/creat.c (__libc_creat): Rename to creat.
24400         (creat): Do not define as alias.
24401         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
24402         of creat instead of __libc_creat.
24403         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
24404         to creat.
24405         (creat): Do not define as alias.
24406         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
24407         __libc_creat.
24408         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
24409         __libc_creat name.
24410         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
24411         Likewise.
24413 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
24415         * manual/llio.texi: Add comments discussing why write() may be
24416         considered MT-unsafe on Linux.
24418 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
24420         * dl-load.c (local_strdup): Remove.
24421         (expand_dynamic_string_token): Use __strdup.
24422         (decompose_rpath): Likewise.
24423         (_dl_map_object): Likewise.
24425 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
24427         [BZ #14132]
24428         * sysdeps/generic/unwind-dw2-fde.c
24429         (__register_frame_info_bases_internal): Do not declare.
24430         (__register_frame_info_table_bases_internal): Likewise.
24431         (__deregister_frame_info_bases_internal): Likewise.
24432         (__register_frame_info_bases): Declare and use hidden_proto before
24433         definition.  Use hidden_def instead of INTDEF.
24434         (__register_frame_info_table_bases): Likewise.
24435         (__deregister_frame_info_bases): Likewise.
24436         (__register_frame_info): Do not use INTUSE.
24437         (__register_frame): Likewise.
24438         (__register_frame_info_table): Likewise.
24439         (__register_frame_table): Likewise.
24440         (__deregister_frame_info): Likewise.
24441         (__deregister_frame): Likewise.
24443 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
24445         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24446         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
24447         not undefine.
24448         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
24449         Likewise.
24450         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
24451         Likewise.
24453 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
24455         [BZ #14138]
24456         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
24457         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
24458         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
24459         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
24460         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
24461         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
24462         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
24463         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
24464         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
24465         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
24466         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
24467         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
24468         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
24469         syscall.
24470         (setfsuid): Likewise.
24471         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
24472         (setfsuid): Likewise.
24473         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
24474         (setfsuid): Likewise.
24475         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
24476         Likewise.
24477         (setfsuid): Likewise.
24478         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
24479         (setfsuid): Likewise.
24480         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
24481         Likewise.
24482         (setfsuid): Likewise.
24484 2014-10-27  Andreas Schwab  <schwab@suse.de>
24486         [BZ #17501]
24487         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
24488         check for Slow_SSE4_2 feature bit.
24489         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
24490         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24491         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
24492         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
24494 2014-10-24  Roland McGrath  <roland@hack.frob.com>
24496         * configure.ac: Validate compiler version with a empirical test of
24497         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
24498         $CC -v output.
24499         * configure: Regenerated.
24501         * inet/htons.c (htons): Prototypify.
24502         * inet/htonl.c (htonl): Likewise.
24504 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24506         * string/strncat.c (strncat): Improve performance by using strlen.
24508 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24510         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
24512 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24514         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
24515         Call libc_fetestexcept_aarch64.
24517 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24519         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
24520         Call libc_feholdexcept_aarch64.
24522 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24524         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
24525         Call get_rounding_mode.
24527 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24529         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24530         Simplify logic.
24532 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24534         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
24535         Simplify logic.
24537 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
24539         [BZ #14138]
24540         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
24541         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
24542         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
24543         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
24544         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
24545         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
24546         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
24547         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
24548         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
24549         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
24550         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24551         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
24552         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
24553         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
24554         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
24555         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
24556         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
24557         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
24558         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
24559         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
24560         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
24561         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
24562         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
24563         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
24564         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
24565         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
24566         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
24567         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
24568         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
24569         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
24570         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
24571         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
24572         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
24573         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
24574         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
24575         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
24576         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
24577         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
24578         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
24579         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
24580         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
24581         syscall.
24582         (geteuid): Likewise.
24583         (getgid): Likewise.
24584         (getuid): Likewise.
24585         (getresgid): Likewise.
24586         (getresuid): Likewise.
24587         (getgroups): Likewise.
24588         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
24589         (geteuid): Likewise.
24590         (getgid): Likewise.
24591         (getuid): Likewise.
24592         (getresgid): Likewise.
24593         (getresuid): Likewise.
24594         (getgroups): Likewise.
24595         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
24596         (geteuid): Likewise.
24597         (getgid): Likewise.
24598         (getuid): Likewise.
24599         (getresgid): Likewise.
24600         (getresuid): Likewise.
24601         (getgroups): Likewise.
24602         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
24603         Likewise.
24604         (geteuid): Likewise.
24605         (getgid): Likewise.
24606         (getuid): Likewise.
24607         (getresgid): Likewise.
24608         (getresuid): Likewise.
24609         (getgroups): Likewise.
24610         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
24611         (geteuid): Likewise.
24612         (getgid): Likewise.
24613         (getuid): Likewise.
24614         (getresgid): Likewise.
24615         (getresuid): Likewise.
24616         (getgroups): Likewise.
24617         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
24618         Likewise.
24619         (geteuid): Likewise.
24620         (getgid): Likewise.
24621         (getuid): Likewise.
24622         (getgroups): Likewise.
24624         [BZ #14138]
24625         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
24626         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
24627         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
24628         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24629         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
24630         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
24631         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
24632         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
24633         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
24634         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
24635         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
24636         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
24637         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
24638         __chown.
24639         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
24640         (lchown): Likewise.
24641         (fchown): Likewise.
24642         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
24643         Likewise.
24644         (lchown): Likewise.
24645         (fchown): Likewise.
24646         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
24647         (lchown): Likewise.
24648         (fchown): Likewise.
24649         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
24650         Likewise.
24651         (lchown): Likewise.
24652         (fchown): Likewise.
24654 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24656         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
24657         Simplify logic.
24659 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24661         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24662         Cleanup logic.
24664 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24666         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24667         Remove unused include.
24669 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24671         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
24672         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
24673         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
24674         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
24676 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
24677             Helge Deller <deller@gmx.de>
24679         [BZ #17508]
24680         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
24681         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
24682         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
24684 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
24686         [BZ #14132]
24687         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
24688         Remove macro definition.
24689         (__ashrdi3_v_glibc20): Likewise.
24690         (__lshrdi3_v_glibc20): Likewise.
24691         (__cmpdi2_v_glibc20): Likewise.
24692         (__ucmpdi2_v_glibc20): Likewise.
24693         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
24694         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24695         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24696         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24697         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24698         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
24700 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24702         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
24703         old GNU extension [0] syntax.
24704         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
24705         alloca rather than an array member with variable length.
24706         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
24707         * nscd/nscd.c (invalidate_db): New function, broken out of ...
24708         (parse_opt): ... here.  Likewise use alloca there.
24709         Validate the -i argument before checking for rootness.
24710         (send_shutdown): New function, broken out of ...
24711         (parse_opt): ... here.
24713 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24715         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
24716         macro to get at the _rt_local_ro field.
24717         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
24718         ([PIC] case) or _dl_hwcap ([!PIC] case).
24719         * sysdeps/arm/setjmp.S: Likewise.
24721         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
24722         * sysdeps/arm/configure.ac: New check to define it.
24723         * sysdeps/arm/configure: Regenerated.
24724         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
24725         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
24726         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
24727         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
24728         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
24729         Use move/movt pair instead of a load.
24730         (LDST_GLOBAL): Macro removed.
24731         (LDR_GLOBAL): New macro replaces it.
24732         (LDR_HIDDEN): New macro.
24733         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
24734         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
24736         * setjmp/tst-setjmp-static.c: New file.
24737         * setjmp/Makefile (tests): Add it.
24738         (tests-static): New variable.
24740 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
24742         [BZ #17485]
24743         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
24745 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
24747         [BZ #14132]
24748         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
24750 2014-10-21  Roland McGrath  <roland@hack.frob.com>
24752         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
24754 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24756         * io/fts.c (dirent_not_directory): New function.
24757         (fts_build): Call it.
24759 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24761         * nptl/version.c (__nptl_main): Use normal __write rather than
24762         INTERNAL_SYSCALL.
24763         (banner): Update copyright years.
24765         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
24766         gettimeofday.
24767         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24768         * nptl/pthread_cond_timedwait.c: Likewise.
24769         * nptl/pthread_mutex_timedlock.c: Likewise.
24770         * nptl/sem_timedwait.c: Likewise.
24772         * sysdeps/nptl/bits/libc-lock.h
24773         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
24774         (__libc_lock_init_recursive): Return void, not 0.
24775         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
24776         (__libc_rwlock_init): Likewise.
24777         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
24779 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24781         [BZ #15215]
24782         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
24783         (__pthread_once_slow): ... here.
24784         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
24785         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
24787 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24789         [BZ #15215]
24790         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
24791         __PTHREAD_ONCE_FORK_GEN_INCR): New.
24792         * sysdeps/nptl/fork.c (__libc_fork): Use them.
24793         * nptl/pthread_once.c (__pthread_once): Likewise.
24794         Update comments.
24796 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
24798         [BZ #14138]
24799         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
24800         name.
24801         (writev): Use __libc_writev as strong name.
24802         * sysdeps/unix/sysv/linux/readv.c: Remove file.
24803         * sysdeps/unix/sysv/linux/writev.c: Likewise.
24805 2014-10-17  Roland McGrath  <roland@hack.frob.com>
24807         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
24809         * sysdeps/i386/nptl/tls.h
24810         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
24811         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
24812         New macros.
24813         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
24814         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
24815         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
24816         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
24817         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
24818         Call CHECK_THREAD_SYSINFO instead of doing an assert.
24820         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24821         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
24822         on [__NR_futex].
24823         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
24824         broken out of ...
24825         (__pthread_mutex_init): ... here.  Call it.
24826         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
24827         Conditionalize PI cases on [__NR_futex].
24828         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
24829         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
24830         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24832         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
24833         conditional on [SIGSETXID].
24834         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
24835         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
24836         is defined.  Likewise for SIGSETXID.
24837         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
24838         Conditionalize definitions on [SIGSETXID].
24839         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
24840         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
24841         unblocking on [SIGCANCEL].
24843         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
24844         [__NR_set_robust_list].
24846 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24848         * string/strcoll_l.c (get_next_seq): Fix up formatting.
24849         (do_compare): Likewise.
24851 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
24853         [BZ #15884]
24854         * string/strcoll_l.c: Don't include stdio.h.
24855         (coll_seq): Remove members idxarr and rulearr.
24856         (get_next_seq_cached): Remove function.
24857         (get_next_seq): Likewise.
24858         (get_next_seq_nocache): Rename to get_next_seq.
24859         (do_compare): Remove function.
24860         (do_compare_nocache): Rename to do_compare.
24861         (STRCOLL): Remove weight and rules cache.
24863 2014-10-16  Roland McGrath  <roland@hack.frob.com>
24865         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
24866         * sysdeps/arm/sfp-machine.h: ... to here.
24867         * sysdeps/arm/Implies: Remove arm/soft-fp.
24869 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
24871         * conform/data/sys/utsname.h-data (*_t): Allow.
24872         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
24873         [POSIX] (WEXITED): Do not expect constant.
24874         [POSIX] (WSTOPPED): Likewise.
24875         [POSIX] (WNOHANG): Likewise.
24876         [POSIX] (WNOWAIT): Likewise.
24877         [POSIX] (siginfo_t): Do not expect type or elements.
24878         [POSIX] (pid_t): Do not expect type.
24879         [POSIX] (signal.h): Do not allow header.
24880         [POSIX] (sys/resource.h): Likewise.
24881         [POSIX] (si_*): Do not allow pattern.
24882         [POSIX] (W*): Likewise.
24883         [POSIX] (P_*): Likewise.
24884         [POSIX] (BUS_*): Likewise.
24885         [POSIX] (CLD_*): Likewise.
24886         [POSIX] (FPE_*): Likewise.
24887         [POSIX] (ILL_*): Likewise.
24888         [POSIX] (POLL_*): Likewise.
24889         [POSIX] (SEGV_*): Likewise.
24890         [POSIX] (SI_*): Likewise.
24891         [POSIX] (TRAP_*): Likewise.
24892         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
24893         variable.
24895 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24897         [BZ #12926]
24898         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
24899         infinite loop when __recvmsg returns 0.
24901 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
24903         * CANCEL-FCT-WAIVE: Remove file.
24904         * CANCEL-FILE-WAIVE: Likewise.
24906         [BZ #14132]
24907         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
24908         instead of INTVARDEF.
24909         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24910         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
24911         rtld_hidden_data_def instead of INTVARDEF.
24912         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24913         * elf/dl-deps.c (expand_dst): Likewise.
24914         * elf/dl-load.c (_dl_dst_count): Likewise.
24915         (_dl_dst_substitute): Likewise.
24916         (decompose_rpath): Likewise.
24917         (_dl_init_paths): Likewise.
24918         (open_path): Likewise.
24919         (_dl_map_object): Likewise.
24920         * elf/rtld.c (dl_main): Likewise.
24921         (process_dl_audit): Likewise.
24922         (process_envvars): Likewise.
24923         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
24924         Remove declaration.
24925         (__libc_enable_secure): Use rtld_hidden_proto.
24927 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24929         * elf/dl-load.c
24930         (add_path): New function broken out of _dl_rtld_di_serinfo.
24931         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
24933 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24935         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
24936         parentheses around macro arguments.
24937         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
24938         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
24939         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
24940         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
24941         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
24942         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24943         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24944         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
24945         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
24946         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
24947         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
24948         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
24949         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
24950         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
24951         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
24952         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
24953         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
24954         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
24955         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
24956         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
24957         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
24958         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
24959         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
24960         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24961         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24962         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
24963         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
24964         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
24965         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
24966         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
24967         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
24968         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
24969         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
24970         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
24971         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
24972         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
24973         Likewise.
24974         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
24975         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24976         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24977         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
24978         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
24979         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
24980         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
24981         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
24982         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
24983         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
24984         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
24985         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
24986         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
24987         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
24988         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
24989         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24990         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24991         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
24992         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
24993         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
24994         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
24995         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
24996         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
24997         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
24998         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
24999         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
25000         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
25001         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
25002         (_FP_FRAC_SRS_1): Likewise.
25003         (_FP_FRAC_CLZ_1): Likewise.
25004         (_FP_MUL_MEAT_1_imm): Likewise.
25005         (_FP_MUL_MEAT_1_wide): Likewise.
25006         (_FP_MUL_MEAT_1_hard): Likewise.
25007         (_FP_SQRT_MEAT_1): Likewise.
25008         (_FP_FRAC_ASSEMBLE_1): Likewise.
25009         (_FP_FRAC_DISASSEMBLE_1): Likewise.
25010         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
25011         (__FP_CLZ_2): Likewise.
25012         (_FP_MUL_MEAT_2_wide): Likewise.
25013         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25014         (_FP_MUL_MEAT_2_gmp): Likewise.
25015         (_FP_MUL_MEAT_2_120_240_double): Likewise.
25016         (_FP_SQRT_MEAT_2): Likewise.
25017         (_FP_FRAC_ASSEMBLE_2): Likewise.
25018         (_FP_FRAC_DISASSEMBLE_2): Likewise.
25019         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
25020         (_FP_FRAC_CLZ_4): Likewise.
25021         (_FP_MUL_MEAT_4_wide): Likewise.
25022         (_FP_MUL_MEAT_4_gmp): Likewise.
25023         (_FP_SQRT_MEAT_4): Likewise.
25024         (_FP_FRAC_ASSEMBLE_4): Likewise.
25025         (_FP_FRAC_DISASSEMBLE_4): Likewise.
25026         * soft-fp/op-common.h (_FP_CMP): Likewise.
25027         (_FP_CMP_EQ): Likewise.
25028         (_FP_CMP_UNORD): Likewise.
25029         (_FP_TO_INT): Likewise.
25030         (_FP_FROM_INT): Likewise.
25031         [!__FP_CLZ] (__FP_CLZ): Likewise.
25032         (_FP_DIV_HELP_imm): Likewise.
25033         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
25034         Likewise.
25035         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
25036         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
25037         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
25038         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
25039         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
25040         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25041         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25042         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
25043         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
25044         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
25045         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
25046         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
25047         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
25048         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
25049         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
25050         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
25051         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
25052         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
25053         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
25054         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
25055         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
25056         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
25057         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
25058         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25059         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25060         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
25061         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
25062         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
25063         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
25064         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
25065         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
25066         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
25067         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
25068         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
25069         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
25070         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
25071         (FP_UNPACK_RAW_SP): Likewise.
25072         (FP_PACK_RAW_S): Likewise.
25073         (FP_PACK_RAW_SP): Likewise.
25074         (FP_UNPACK_S): Likewise.
25075         (FP_UNPACK_SP): Likewise.
25076         (FP_UNPACK_SEMIRAW_S): Likewise.
25077         (FP_UNPACK_SEMIRAW_SP): Likewise.
25078         (FP_PACK_S): Likewise.
25079         (FP_PACK_SP): Likewise.
25080         (FP_PACK_SEMIRAW_S): Likewise.
25081         (FP_PACK_SEMIRAW_SP): Likewise.
25082         (_FP_SQRT_MEAT_S): Likewise.
25083         (FP_CMP_S): Likewise.
25084         (FP_CMP_EQ_S): Likewise.
25085         (FP_CMP_UNORD_S): Likewise.
25086         (FP_TO_INT_S): Likewise.
25087         (FP_FROM_INT_S): Likewise.
25089         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
25091         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
25092         (FP_EX_INVALID_IMZ): Likewise.
25093         (FP_EX_INVALID_IMZ_FMA): Likewise.
25094         (FP_EX_INVALID_ISI): Likewise.
25095         (FP_EX_INVALID_ZDZ): Likewise.
25096         (FP_EX_INVALID_IDI): Likewise.
25097         (FP_EX_INVALID_SQRT): Likewise.
25098         (FP_EX_INVALID_CVI): Likewise.
25099         (FP_EX_INVALID_VC): Likewise.
25100         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
25101         "invalid" exceptions.
25102         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
25103         (_FP_ADD_INTERNAL): Likewise.
25104         (_FP_MUL): Likewise.
25105         (_FP_FMA): Likewise.
25106         (_FP_DIV): Likewise.
25107         (_FP_CMP_CHECK_NAN): Likewise.
25108         (_FP_SQRT): Likewise.
25109         (_FP_TO_INT): Likewise.
25110         (FP_EXTEND): Likewise.
25112 2014-10-09  Allan McRae  <allan@archlinux.org>
25114         * po/fr.po: Update French translation from translation project.
25116 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25118         [BZ #14132]
25119         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
25120         of INTDEF.
25121         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
25122         (__cxa_atexit): Use libc_hidden_proto.
25123         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
25125         [BZ #14132]
25126         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
25127         declaration.
25128         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
25129         [!_ISOMAC] (__iswspace_l_internal): Likewise.
25130         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
25131         [!_ISOMAC] (__iswctype_internal): Likewise.
25132         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
25133         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
25134         alias.
25135         (fcntl): Remove __fcntl_internal alias.
25136         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
25137         __connect_internal alias.
25138         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
25139         Likewise.
25141         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
25142         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
25143         FP_DENORM_ZERO.
25144         (_FP_CHECK_FLUSH_ZERO): New macro.
25145         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
25146         (_FP_CMP): Likewise.
25147         (_FP_CMP_EQ): Likewise.
25148         (_FP_TO_INT): Do not set inexact for subnormal arguments if
25149         FP_DENORM_ZERO.
25150         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
25151         (FP_TRUNC): Likewise.
25153         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
25154         treated as invalid conversion, not as normal exponent.
25156         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
25157         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
25158         (_FP_CMP_EQ): Likewise.
25159         (_FP_CMP_UNORD): Likewise.
25160         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
25161         (FP_CMP_EQ_D): Likewise.
25162         (FP_CMP_UNORD_D): Likewise.
25163         * soft-fp/extended.h (FP_CMP_E): Likewise.
25164         (FP_CMP_EQ_E): Likewise.
25165         (FP_CMP_UNORD_E): Likewise.
25166         * soft-fp/quad.h (FP_CMP_Q): Likewise.
25167         (FP_CMP_EQ_Q): Likewise.
25168         (FP_CMP_UNORD_Q): Likewise.
25169         * soft-fp/single.h (FP_CMP_S): Likewise.
25170         (FP_CMP_EQ_S): Likewise.
25171         (FP_CMP_UNORD_S): Likewise.
25172         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
25173         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
25174         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
25175         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
25176         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
25177         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
25178         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
25179         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
25180         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
25181         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
25182         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
25183         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
25184         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
25185         to FP_CMP_Q.
25186         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
25187         FP_CMP_Q.
25188         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
25189         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
25190         FP_CMP_EQ_Q.
25191         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
25192         FP_CMP_Q.
25193         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
25194         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
25195         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
25196         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
25197         FP_CMP_EQ_Q.
25198         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
25199         FP_CMP_Q.
25200         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
25201         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
25202         FP_CMP_EQ_Q.
25203         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
25204         FP_CMP_Q.
25205         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
25206         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
25207         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
25208         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
25209         FP_CMP_EQ_Q.
25211         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
25212         a subnormal result, set the underflow exception if trapping on
25213         underflow is enabled.
25214         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
25215         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
25216         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
25217         redefine to 0.
25218         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
25219         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25220         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25221         * soft-fp/extendxftf2.c (__extendxftf2): Use
25222         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
25224         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
25225         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
25226         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25227         FP_HANDLE_EXCEPTIONS.
25228         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
25229         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25230         FP_HANDLE_EXCEPTIONS.
25231         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
25232         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25233         FP_HANDLE_EXCEPTIONS.
25234         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
25235         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25236         FP_HANDLE_EXCEPTIONS.
25238 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
25240         [BZ #14132]
25241         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
25242         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
25243         use INTUSE.
25244         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
25245         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
25246         Remove alias.
25247         (__adjtimex): Define using libc_hidden_ver.
25248         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
25249         Remove declaration.
25250         (ntp_gettime): Call __adjtimex directly.
25251         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
25252         Remove declaration.
25253         (ntp_gettimex): Call __adjtimex directly.
25254         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
25255         __adjtimex_internal alias.
25257 2014-10-08  Roland McGrath  <roland@hack.frob.com>
25259         [BZ #17460]
25260         * nscd/nscd.c (more_help): Rewrite list of tables collection
25261         using xstrdup and asprintf.
25263         * nscd/nscd_conf.c: Remove local xstrdup declaration.
25265 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25266             Roland McGrath  <roland@hack.frob.com>
25268         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
25269         (do_lookup_unique): ... local function 'enter' here; update callers.
25271 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
25273         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
25274         compat_symbol calls on [SHARED].
25275         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
25276         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
25277         Remove.
25278         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25279         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
25280         (oldsetrlimit): Remove.
25281         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25283         (lchown): New syscall entry.
25284         (oldsetrlimit): Remove.
25285         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25286         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
25287         (oldsetrlimit): Remove.
25288         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25290         [BZ #14138]
25291         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
25292         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
25293         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
25294         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25295         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25296         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
25297         (fchown): Likewise.
25298         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
25299         (fchown): Likewise.
25300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
25301         Likewise.
25303 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25305         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
25306         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
25307         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
25308         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
25309         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
25310         Likewise.
25311         (__old_sem_post): Likewise.
25313 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
25315         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
25316         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
25317         HAVE_CLOCK_GETTIME_VSYSCALL macros.
25318         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
25319         Use INLINE_VSYSCALL macro.
25320         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
25321         __vdso_clock_gettime.
25322         * sysdeps/unix/sysv/linux/tile/init-first.c
25323         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
25324         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
25325         __vdso_clock_gettime.
25327         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
25328         to set up frame more cleanly.
25330         * sysdeps/tile/memcmp.c: New file.
25332         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
25334         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
25335         * sysdeps/tile/tilegx/strcasestr.c: New file.
25336         * sysdeps/tile/tilegx/strnlen.c: New file.
25337         * sysdeps/tile/tilegx/strstr.c: New file.
25339         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
25341 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
25343         * nptl/tst-setuid3.c: Write errors to stdout.
25345 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25347         * elf/dl-deps.c
25348         (preload): New functions broken out of _dl_map_object_deps.
25349         (_dl_map_object_deps):  Remove a nested function. Update call sites.
25351 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
25353         [BZ #14138]
25354         * sysdeps/unix/sysv/linux/execve.c: Remove file.
25355         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
25357 2014-10-01  Steve Ellcey  <sellcey@mips.com>
25359         * sysdeps/mips/strcmp.S: New.
25361 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
25363         [BZ #14138]
25364         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
25365         (linkat): Likewise.
25366         (mkdirat): Likewise.
25367         (readlinkat): Likewise.
25368         (renameat): Likewise.
25369         (symlinkat): Likewise.
25370         (unlinkat): Likewise.
25371         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
25372         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
25373         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
25374         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
25375         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
25376         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
25377         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
25379 2014-09-30  Will Newton  <will.newton@linaro.org>
25381         * math/math.h: Define long double math functions if
25382         _LIBC_TEST is defined.
25383         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
25385         * localedata/Makefile: Move assignment to tests-special
25386         into an ifdef testing run-built-tests.
25387         * timezone/Makefile: Likewise.
25389 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
25391         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
25392         with $(BASH) not $(SHELL).
25394 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
25395             Matthew LeGendre  <legendre1@llnl.gov>
25397         [BZ #17411]
25398         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
25399         l_reloc_result.
25401 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25403         * stdio-common/printf_fp.c
25404         (hack_digit): New function, broken out of ...
25405         (__printf_fp): ... local function here.  Update call sites.
25406         hack_digit now takes an additional parameter that is a pointer
25407         to a struct of the referenced locals.  Those locals moved inside
25408         the struct and references updated.
25410 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
25412         * aclocal.m4: Require autoconf 2.69.
25413         * configure: Regenerated.
25414         * sysdeps/aarch64/configure: Likewise.
25415         * sysdeps/alpha/configure: Likewise.
25416         * sysdeps/arm/armv7/configure: Likewise.
25417         * sysdeps/arm/configure: Likewise.
25418         * sysdeps/ia64/configure: Likewise.
25419         * sysdeps/mach/configure: Likewise.
25420         * sysdeps/mips/configure: Likewise.
25421         * sysdeps/s390/configure: Likewise.
25422         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
25423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
25425         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
25426         file.
25427         * sysdeps/ia64/configure.ac: Likewise.
25429 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
25431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
25432         specify symbol version for ld.so.  Do not include entry for
25433         libpthread.
25434         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25435         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25436         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25438         [BZ #14171]
25439         * Makeconfig [$(build-shared) = yes]
25440         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
25441         makefiles.
25442         [$(build-shared) = yes && $(soversions.mk-done) = t]
25443         ($(common-objpfx)gnu/lib-names.h): Remove rule.
25444         [$(build-shared) = yes && $(soversions.mk-done) = t]
25445         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
25446         to Makerules.
25447         [$(build-shared) = yes && $(soversions.mk-done) = t]
25448         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
25449         here.
25450         [$(build-shared) = yes && $(soversions.mk-done) = t]
25451         (common-generated): Don't append gnu/lib-names.h and
25452         gnu/lib-names.stmp here.
25453         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
25454         (lib-names-h-abi): New variable.
25455         [$(build-shared) = yes && $(soversions.mk-done) = t]
25456         (lib-names-stmp-abi): Likewise.
25457         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25458         abi-variants] (before-compile): Append
25459         $(common-objpfx)$(lib-names-h-abi).
25460         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25461         abi-variants] (common-generated): Append gnu/lib-names.h.
25462         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25463         abi-variants] (install-others-nosubdir): Depend on
25464         $(inst_includedir)/$(lib-names-h-abi).
25465         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25466         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
25467         [$(build-shared) = yes && $(soversions.mk-done) = t]
25468         ($(common-objpfx)$(lib-names-h-abi)): New rule.
25469         [$(build-shared) = yes && $(soversions.mk-done) = t]
25470         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
25471         [$(build-shared) = yes && $(soversions.mk-done) = t]
25472         (common-generated): Append $(lib-names-h-abi) and
25473         $(lib-names-stmp-abi).
25474         * scripts/lib-names.awk: Do not handle multi being set.
25475         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
25476         Remove variable.
25477         (abi-lp64_be-ld-soname): Likewise.
25478         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
25479         Likewise.
25480         (abi-hard-ld-soname): Likewise.
25481         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
25482         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
25483         Remove variable.
25484         (abi-o32_hard-ld-soname): Likewise.
25485         (abi-o32_soft_2008-ld-soname): Likewise.
25486         (abi-o32_hard_2008-ld-soname): Likewise.
25487         (abi-n32_soft-ld-soname): Likewise.
25488         (abi-n32_hard-ld-soname): Likewise.
25489         (abi-n32_soft_2008-ld-soname): Likewise.
25490         (abi-n32_hard_2008-ld-soname): Likewise.
25491         (abi-n64_soft-ld-soname): Likewise.
25492         (abi-n64_hard-ld-soname): Likewise.
25493         (abi-n64_soft_2008-ld-soname): Likewise.
25494         (abi-n64_hard_2008-ld-soname): Likewise.
25495         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
25496         Likewise.
25497         (abi-64-v2-ld-soname): Likewise.
25498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
25499         ld.so entries.
25500         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
25501         variable.
25502         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
25503         entry.
25504         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
25505         variable.
25506         (abi-64-ld-soname): Likewise.
25507         (abi-x32-ld-soname): Likewise.
25508         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
25509         entry.
25510         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25512 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
25514         [BZ #14138]
25515         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
25516         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
25517         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
25518         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
25519         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
25520         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
25521         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
25522         syscall entry for GLIBC_2.2 symbol version.
25523         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
25524         Likewise.
25525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25526         (setrlimit): Likewise.
25527         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
25528         Likewise.
25530 2014-09-23  Will Newton  <will.newton@linaro.org>
25532         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
25533         _LINUX_ARM_SYSDEP_H include guard too.
25534         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
25535         define.
25537 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25539         * sysdeps/unix/sysv/linux/eventfd.c:
25540         Make first argument unsigned.
25541         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
25542         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
25544 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
25546         [BZ #16852]
25547         * socket/recvmmsg.c (recvmmsg): Drop const argument.
25548         * socket/sys/socket.h: Likewise.
25549         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
25551 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25553         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
25555 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
25557         * time/tst-ftime.c: New test.
25558         * time/Makefile (tests): Add tst-ftime.
25560 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
25562         * soft-fp/extended.h: Fix comment formatting.
25563         * soft-fp/op-1.h: Likewise.
25564         * soft-fp/op-2.h: Likewise.
25565         * soft-fp/op-4.h: Likewise.
25566         * soft-fp/op-8.h: Likewise.
25567         * soft-fp/op-common.h: Likewise.
25568         * soft-fp/soft-fp.h: Likewise.
25570         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
25572 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
25574         [BZ #6652]
25575         * Makeconfig (soversions-default-setname): Remove variable.
25576         ($(common-objpfx)soversions.i): Don't pass default_setname to
25577         soversions.awk.
25578         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
25579         oldest_abi to abi-versions.awk.
25580         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
25581         * config.make.in (oldest-abi): Remove variable.
25582         * configure.ac (--enable-oldest-abi): Remove configure option.
25583         * configure: Regenerated.
25584         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
25585         text.
25586         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
25587         * scripts/soversions.awk: Do not handle default_setname variable.
25588         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
25589         variable.
25590         * sysdeps/mach/hurd/configure: Regenerated.
25591         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
25592         variable.
25593         * sysdeps/unix/sysv/linux/configure: Regenerated.
25595 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25597         * elf/Makefile (CFLAGS-interp.c): Remove.
25598         ($(elf-objpfx)runtime-linker.h): Generate header with linker
25599         path string.
25600         * elf/interp.c: Include generated runtime-linker.h
25602         * Makerules (lib%.so): Don't include $(+interp) in
25603         prerequisites.
25604         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
25605         * dlfcn/eval.c: Remove file.
25607         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
25608         macros.
25610         [BZ #17266]
25611         * misc/sys/cdefs.h: Define __extern_always_inline for clang
25612         4.2 and newer.
25614         [BZ #17370]
25615         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
25617 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25618             Jakub Jelinek  <jakub@redhat.com>
25620         [BZ #17266]
25621         * libio/stdio.h: Check definition of __fortify_function
25622         instead of __extern_always_inline to include bits/stdio2.h.
25623         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
25624         check if __extern_always_inline is defined.
25625         [__USE_MISC || __USE_XOPEN]: Likewise.
25626         [__USE_ISOC99] Likewise.
25627         * misc/sys/cdefs.h (__fortify_function): Define only if
25628         __extern_always_inline is defined.
25629         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
25630         __extern_always_inline and __extern_inline only for g++-4.3
25631         and newer or a compatible gcc.
25633 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
25635         [BZ #17371]
25636         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25637         last change to handle zero prefix length.
25639 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25641         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
25642         _SC_REGEX_VERSION.
25644         * posix/getconf.c (vars): Add _POSIX_IPV6 and
25645         _POSIX_RAW_SOCKETS.
25647 2014-09-13  Allan McRae  <allan@archlinux.org>
25649         * po/ru.po: Update Russian translation from translation project.
25651 2014-09-12  Roland McGrath  <roland@hack.frob.com>
25653         * locale/programs/locale.c (show_locale_vars): Inline local function
25654         into its sole call site.  Clean up some style nits.
25655         (print_item): New function, broken out of ...
25656         (show_info): ... local function here.  Clean up style nits.
25658         * locale/programs/ld-ctype.c (set_one_default): New function, broken
25659         out of ...
25660         (set_class_defaults): ... local function set_default here.
25661         Define set_default as a macro locally to pass constant parameters.
25662         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
25663         rather than a shared local.
25665         * stdlib/rpmatch.c (try): New function, broken out of ...
25666         (rpmatch): ... local function here.  Also, prototypify definition.
25668 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
25670         * scripts/soversions.awk: Do not handle configuration names.
25671         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
25672         vendor and os variables to soversions.awk.
25673         * configure.ac: Do not modify gnu-* host_os.
25674         * configure: Regenerated
25675         * shlib-versions: Remove first column with configuration names.
25676         * nptl/shlib-versions: Likewise.
25677         * nptl_db/shlib-versions: Likewise.
25678         * sysdeps/hppa/shlib-versions: Likewise.
25679         * sysdeps/m68k/shlib-versions: Likewise.
25680         * sysdeps/mach/hurd/shlib-versions: Likewise.
25681         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
25682         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
25683         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
25684         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
25685         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
25686         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
25687         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
25688         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
25689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
25690         Likewise.
25691         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25692         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
25693         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25694         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25695         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25696         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
25697         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25698         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
25701         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
25702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25703         Regenerated.
25704         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
25705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
25706         Condition symbol version definitions on [HAVE_ELFV2_ABI].
25708         * shlib-versions: Remove OS-specific entries.  Moved to files in
25709         sysdeps.
25710         * sysdeps/mach/hurd/shlib-versions: New file.
25711         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25713         * nptl/shlib-versions: Remove architecture-specific entries.
25714         Moved to files in sysdeps.
25715         * shlib-versions: Likewise.
25716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
25717         file.
25718         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25719         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
25720         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25721         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25723         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
25724         (UDP_NO_CHECK6_RX): Likewise.
25726 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25728         * sysdeps/posix/sysconf.c (__sysconf): Spell
25729         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
25731 2014-08-12  Florian Weimer  <fweimer@redhat.com>
25733         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
25734         loading.
25735         * iconv/Versions (__gconv_transliterate): Export for use from
25736         gconv modules.
25737         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
25738         (struct __gconv_trans_data, __gconv_trans_fct,
25739         __gconv_trans_context_fct, __gconv_trans_query_fct,
25740         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
25741         definitions.
25742         (struct __gconv_step_data): Remove __trans member.
25743         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
25744         longer hidden.  Remove unused trans_data argument.
25745         * iconv/gconv_int.h (struct trans_struct): Remove definition.
25746         (__gconv_translit_find): Remove declaration.
25747         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
25748         prototype.
25749         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
25750         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
25751         trans_data argument.  Add hidden definition.
25752         (__gconv_translit_find): Remove.
25753         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
25754         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
25755         * iconv/skeleton.c: Remove transliteration initialization.
25756         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
25757         __gconv_step_data initialization.
25758         * libio/iofwide.c (__libio_translit_): Remove.
25759         (_IO_fwide): Adjust struct __gconv_step_data initialization.
25760         * wcsmbs/btowc.c (__btowc): Likewise.
25761         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25762         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25763         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
25764         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
25765         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
25766         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
25767         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
25768         * wcsmbs/wctob.c (wctob): Likewise.
25770 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25772         [BZ #16194]
25773         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
25774         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
25775         register usage.
25776         * sysdeps/x86/Makefile: Adjust.
25778 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25779             Roland McGrath  <roland@hack.frob.com>
25781         * locale/weight.h: Add include guard.
25782         (findidx): Make static rather than auto; take new parameters
25783         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
25784         * locale/weightwc.h: Likewise.
25785         * posix/fnmatch_loop.c
25786         (FCT): Change type of EXTRA from int32_t to wint_t.
25787         Don't include either header inside the function.
25788         Call FINDIDX rather than findidx, and pass new arguments.
25789         #undef FINDIDX at the end of the file.
25790         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
25791         FINDIDX before including fnmatch_loop.c for the non-wide version.
25792         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
25793         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
25794         for the wide version.
25795         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
25796         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
25797         Pass new arguments to findidx.
25798         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
25799         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
25800         Don't #include it inside the function.  Pass new arguments to findidx.
25801         * posix/regex_internal.h
25802         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
25803         (re_string_elem_size_at): Don't #include it inside the function.
25804         Pass new arguments to findidx.
25805         * string/strcoll_l.c: #include WEIGHT_H at top level.
25806         (get_next_seq): Don't #include it inside the function.
25807         Pass new arguments to findidx.
25808         (get_next_seq_nocache): Likewise.
25809         * string/strxfrm_l.c: #include WEIGHT_H at top level.
25810         (STRXFRM): Don't #include it inside the function.
25811         Pass new arguments to findidx.
25813 2014-09-11  Florian Weimer  <fweimer@redhat.com>
25815         [BZ #17344]
25816         * malloc/malloc.c (unlink): Turn asserts into a call to
25817         malloc_printerr.
25819 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
25821         [BZ #17370]
25822         * libio/wfileops (do_ftell_wide): Free OUT.
25824 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
25826         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
25828 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25830         [BZ #17363]
25831         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
25832         group if the current group is empty.
25834 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25836         * benchtests/bench-memset.c (test_main): Add more test from size
25837         from 32 to 512 bytes.
25838         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25839         Add POWER8 memset object.
25840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25841         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
25842         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
25843         implementation.
25844         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
25845         Likewise.
25846         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
25847         multiarch POWER8 memset optimization.
25848         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
25849         POWER8 memset optimization.
25851         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25852         Remove bzero multiarch objects.
25853         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
25854         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
25855         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
25856         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
25857         Remove define.
25858         [__bzero]: Redefine to specific name.
25859         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25860         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25861         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
25862         define.
25863         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25864         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25866 2014-09-10  Florian Weimer  <fweimer@redhat.com>
25868         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
25869         warnings into errors.
25871         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
25872         __cxa_thread_atexit_impl prototype.
25874 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25876         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
25877         Fix capitalization of error message.
25879 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25881         * sysdeps/mips/preconfigure: Modify ABI tests.
25883 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
25885         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
25887 2014-09-07  Roland McGrath  <roland@hack.frob.com>
25888             Carlos O'Donell  <carlos@systemhalted.org>
25890         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
25891         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
25892         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
25893         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
25894         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
25895         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
25896         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
25897         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
25898         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
25899         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
25900         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
25901         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
25902         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
25903         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
25904         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
25905         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
25906         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
25907         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
25908         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
25909         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
25910         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
25911         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
25912         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
25913         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
25914         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
25915         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
25916         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
25917         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
25918         Deconditionalize the code that was previously under [RESET_PID].
25919         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
25920         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
25921         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
25922         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
25923         include sysdep.h.
25925 2014-09-08  Allan McRae  <allan@archlinux.org>
25927         * version.h (RELEASE): Set to "development".
25928         (VERSION): Set to "2.20.90"
25930 2014-09-07  Allan McRae  <allan@archlinux.org
25932         * version.h (RELEASE): Set to "stable".
25933         (VERSION): Set to "2.20"
25934         * include/features.h (__GLIBC_MINOR__): Set to 20.
25936         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
25937         Liebler.
25939         * po/ko.po: Update Korean translation from translation project.
25941 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
25943         [BZ #17354]
25944         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
25945         macro for handling signed relocations.
25947 2014-09-03  Florian Weimer  <fweimer@redhat.com>
25949         [BZ #17325]
25950         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
25951         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
25952         assert.
25953         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
25954         * iconvdata/ibm935.c (BODY): Likewise.
25955         * iconvdata/ibm937.c (BODY): Likewise.
25956         * iconvdata/ibm939.c (BODY): Likewise.
25957         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
25958         assert.
25959         * iconvdata/Makefile (iconv-test.out): Pass module list to test
25960         script.
25961         * iconvdata/run-iconv-test.sh: New test loop for checking for
25962         decoder crashers.
25964 2014-09-02  Khem Raj  <raj.khem@gmail.com>
25966         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
25967         libm_hidden_ver.
25969 2014-09-01  Allan McRae  <allan@archlinux.org>
25971         * po/eo.po: Update Esperanto translation from translation project.
25973         * po/ca.po: Update Catalan translation from translation project.
25975 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25977         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
25978         __proc_dostop call.
25980 2014-08-27  Mark Wielaard  <mjw@redhat.com>
25982         [BZ #17319]
25983         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
25984         to call set_thread_area instead of hand written asm.
25985         (__NR_set_thread_area): Removed define.
25986         (TLS_FLAG_WRITABLE): Likewise.
25987         (__ASSUME_SET_THREAD_AREA): Remove check.
25988         (TLS_EBX_ARG): Remove define.
25989         (TLS_LOAD_EBX): Likewise.
25991 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25993         Simplify atomicity of socket creation in bind.
25995         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
25996         looking up the name after linking the file.
25998 2014-08-27  Allan McRae  <allan@archlinux.org>
26000         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26002 2014-08-26  Florian Weimer  <fweimer@redhat.com>
26004         [BZ #17187]
26005         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
26006         trans_compare, open_translit, __gconv_translit_find):
26007         Remove module loading code.
26009 2014-08-26  Allan McRae  <allan@archlinux.org>
26011         * po/vi.po: Update Vietnamese translation from translation project.
26013         * po/uk.po: Update Ukrainian translation from translation project.
26015         * po/fr.po: Update French translation from translation project.
26017         * po/ru.po: Update Russian translation from translation project.
26019         * po/pl.po: Update Polish translation from translation project.
26021         * po/cs.po: Update Czech translation from translation project.
26023         * po/de.po: Update German translation from translation project.
26025         * po/bg.po: Update Bulgarian translation from translation project.
26027         * po/sv.po: Update Sweedish translation from translation project.
26029         * po/nl.po: Update Dutch translation from translation project.
26031         * po/es.po: Update Spanish translation from translation project.
26033 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26035         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
26037         * catgets/Makefile (CPPFLAGS-gencat): Remove.
26038         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
26039         (CPPFLAGS-iconvconfig): Likewise.
26040         * timezone/Makefile (CPPFLAGS-zic): Likewise.
26042         * include/libc-symbols.h: Remove unnecessary check for
26043         NOT_IN_libc.
26044         * nptl/pthreadP.h: Likewise.
26045         * sysdeps/aarch64/setjmp.S: Likewise.
26046         * sysdeps/alpha/setjmp.S: Likewise.
26047         * sysdeps/arm/sysdep.h: Likewise.
26048         * sysdeps/i386/setjmp.S: Likewise.
26049         * sysdeps/m68k/setjmp.c: Likewise.
26050         * sysdeps/posix/getcwd.c: Likewise.
26051         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26052         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26053         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26054         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26055         * sysdeps/sh/sh3/setjmp.S: Likewise.
26056         * sysdeps/sh/sh4/setjmp.S: Likewise.
26057         * sysdeps/unix/alpha/sysdep.h: Likewise.
26058         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26059         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26060         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26061         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26064         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26065         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26066         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26067         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26068         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26069         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26070         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26071         * sysdeps/x86_64/setjmp.S: Likewise.
26073 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
26075         [BZ #17263]
26076         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
26077         <stdint.h>.
26078         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
26079         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
26081 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26083         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
26085         [BZ #17262]
26086         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
26087         and __x86_64__ when disabling x87 inline functions.
26089 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26091         [BZ #17259]
26092         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
26093         asm statement with __cpuid_count.
26095 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
26097         * configure.ac: Change __ehdr_start code to dereference the struct.
26098         Run readelf on the output to look for relocations.
26099         * configure: Regenerated.
26101 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
26103         [BZ #17261]
26104         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
26105         value to 0.
26106         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
26108 2014-08-12  Roland McGrath  <roland@hack.frob.com>
26110         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
26112 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
26114         [BZ #16892]
26115         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
26116         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
26118 2014-08-12  Sean Anderson  <seanga2@gmail.com>
26120         * malloc/malloc.c: Fix typo in comment.
26122 2014-08-09  Allan McRae  <allan@archlinux.org>
26124         * Regenerate libc.po.
26126 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
26128         * intl/tst-gettext2.sh: Check every lang file for creation.
26130 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26132         * sysdeps/aarch64/fpu/math_private.h
26133         (libc_feholdsetround_noex_aarch64_ctx): New function.
26135 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26137         * sysdeps/arm/armv6/strcpy.S (strcpy):
26138         Fix performance issue in misaligned cases.
26140 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26142         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
26143         Move definition from termios.h.
26144         (struct termio): Likewise.
26145         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26146         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26147         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26148         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26149         Likewise.
26150         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
26151         Move definition to ioctl-types.h
26152         (struct termio): Likewise.
26153         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26154         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26155         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26156         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26157         Likewise.
26159 2014-08-05  Richard Henderson  <rth@redhat.com>
26161         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
26162         exceptions.
26163         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
26164         Add fraiseexcpt.
26165         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
26166         Use __feraiseexcept.
26167         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
26168         Protect libm symbols with IS_IN_libm.
26170         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
26172 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
26174         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
26176 2014-08-04  Will Newton  <will.newton@linaro.org>
26178         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
26179         file.
26181 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
26183         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
26184         variants for each function.
26186 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26188         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
26189         appended ...
26190         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
26191         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
26192         appended ...
26193         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
26194         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
26195         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
26196         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
26197         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
26198         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
26199         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
26200         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
26201         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
26202         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
26203         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
26204         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
26205         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
26206         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
26207         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
26208         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
26209         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
26210         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
26211         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
26212         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
26213         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
26214         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
26215         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
26216         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
26217         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
26218         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
26219         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
26220         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
26221         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
26222         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
26223         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
26224         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
26225         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
26226         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
26227         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
26228         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
26229         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
26230         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
26231         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
26232         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
26233         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
26234         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
26235         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
26236         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
26237         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
26238         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
26239         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
26240         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
26241         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
26242         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
26243         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
26244         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
26245         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
26246         Update #include.
26247         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
26248         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
26250 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26252         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
26253         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
26254         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
26255         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
26256         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
26257         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
26259 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26261         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
26262         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
26263         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26264         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
26266 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26268         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
26269         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
26270         (__libc_vfork): Define function under this name.
26271         (__vfork): Define as an alias.
26272         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
26273         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
26275 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26277         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
26278         that was previously under [RESET_PID].
26279         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
26281 2014-08-04  Andreas Schwab  <schwab@suse.de>
26283         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
26285 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
26287         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
26288         (main): Likewise.
26290 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26292         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
26294 2014-08-01  Richard Henderon  <rth@redhat.com>
26296         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
26297         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
26298         typo in exact zero test.
26299         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26300         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26301         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26303 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26305         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26306         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
26307         * sysdeps/arm/sysdep.h: ... here.
26308         [!__ASSEMBLER__]: Include <stdint.h>.
26310 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26312         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
26313         (HAVE_WCTYPE_H): Likewise.
26314         (HAVE_ISWCTYPE): Likewise.
26315         (ENABLE_NLS): Likewise.
26316         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
26317         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
26319         * posix/regex_internal.c: Check if DEBUG is defined and is
26320         set.
26322         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
26323         (HAVE_MBSRTOWCS): Likewise.
26324         * posix/fnmatch.c: Include string.h unconditionally.
26326 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26328         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
26329         reversal.
26331 2014-07-31  Roland McGrath  <roland@hack.frob.com>
26333         * sysdeps/generic/safe-fatal.h: New file.
26334         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
26335         * nptl/forward.c: Include it.
26336         (__pthread_unwind): Use __safe_fatal as default action, rather
26337         than a bogus use of INTERNAL_SYSCALL that could never work.
26339         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
26340         * configure.ac (libc_cv_builtin_trap): New test.
26341         * configure: Regenerated.
26342         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
26343         (ABORT_INSTRUCTION): Define using __builtin_trap.
26345         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
26346         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
26347         * sysdeps/nptl/nptl-signals.h: New file.
26348         * nptl/pthreadP.h: Include <nptl-signals.h>.
26350 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26352         * sysdeps/s390/s390-64/utf16-utf32-z9.c
26353         (ONE_DIRECTION): Define.
26354         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26355         (ONE_DIRECTION): Define.
26356         * sysdeps/s390/s390-64/utf8-utf32-z9.c
26357         (ONE_DIRECTION): Define.
26359 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26361         * sysdeps/s390/Makefile: Delete file.
26362         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
26363         * sysdeps/s390/__longjmp.c: Delete file.
26364         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
26365         Remove fields __flags and __reserved.
26366         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
26367         and add versioning.
26368         * sysdeps/s390/rtld-__longjmp.c: Delete file.
26369         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
26370         * sysdeps/s390/rtld-setjmp.S: Likewise.
26371         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
26372         * sysdeps/s390/s390-32/__longjmp.c: ... here.
26373         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
26374         * sysdeps/s390/s390-32/setjmp.S: ... here.
26375         Add versioning.
26376         (__sigsetjmp): Remove setting __flags field.
26377         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
26378         * sysdeps/s390/s390-64/__longjmp.c: ... here.
26379         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
26380         * sysdeps/s390/s390-64/setjmp.S: ... here.
26381         Add versioning.
26382         (__sigsetjmp): Remove setting __flags field.
26383         * sysdeps/s390/setjmp.S: Delete file.
26384         * sysdeps/s390/sigjmp.c: Likewise.
26385         * sysdeps/s390/v1-longjmp.c: Likewise.
26386         * sysdeps/s390/v1-setjmp.h: Likewise.
26387         * sysdeps/s390/v1-sigjmp.c: Likewise.
26388         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
26389         Remove v1-longjmp_chk.
26390         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
26391         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
26392         Include debug/longjmp_chk.c and add versioning.
26393         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
26394         Include nptl/pt-longjmp.c and add versioning.
26395         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
26396         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
26397         Include __longjmp.c.
26398         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26399         Move to ...
26400         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
26401         (__getcontext): Remove setting __flags field.
26402         Add versioning.
26403         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26404         Don't restore upper high grps.
26405         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
26406         Likewise.
26407         (__swapcontext): Remove setting uc_flags field.
26408         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
26409         Delete file.
26410         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26411         Include __longjmp.c.
26412         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26413         Move to ...
26414         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
26415         (__getcontext): Remove setting __flags field.
26416         Add versioning.
26417         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
26418         (__swapcontext): Remove setting uc_flags field.
26419         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
26420         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
26421         Remove fields uc_high_gprs and __reserved.
26422         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
26423         New file with reverted content.
26424         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
26425         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
26426         Regenerated.
26427         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
26428         Regenerated.
26430 2014-07-31  Andreas Schwab  <schwab@suse.de>
26432         * config.h.in (HAVE_IFUNC): Define to 0.
26433         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
26434         definedness.
26436 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
26438         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26439         memmove-avx-unaligned, memcpy-avx-unaligned and
26440         mempcpy-avx-unaligned.
26441         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26442         Add tests for AVX memcpy functions.
26443         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
26444         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
26445         memcpy_chk.
26446         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
26447         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
26448         memmove_chk.
26449         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
26450         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
26451         mempcpy_chk.
26452         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
26453         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
26454         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
26456 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26458         [BZ #17213]
26459         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
26460         powerpc64le.
26462 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
26464         [BZ #16839]
26465         * manual/llio.texi: Add section about open file description locks.
26466         * manual/examples/ofdlocks.c: Example of open file description
26467         lock usage.
26468         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
26469         F_OFD_SETLK, and F_OFD_SETLKW.
26471 2014-07-23  Allan McRae  <allan@archlinux.org>
26473         * po/es.po: Update Spanish translation from translation project.
26475 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
26477         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
26479 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
26481         [BZ #17078]
26482         * sysdeps/arm/dl-machine.h (elf_machine_rela)
26483         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
26484         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
26486 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
26488         [BZ #17088]
26489         * math/fesetenv.c (__fesetenv)
26490         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
26491         * math/feupdateenv.c (__feupdateenv)
26492         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
26494         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
26495         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26496         (__ASSUME_SOCKETCALL): Do not define.
26498         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
26499         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
26500         (__ASSUME_SOCKETCALL): Do not define.
26501         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
26502         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26503         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26504         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26505         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26506         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
26507         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26508         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26510         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
26511         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
26512         (__ASSUME_SOCKETCALL): Do not define.
26513         (__ASSUME_IPC64): Define unconditionally.
26514         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26515         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26516         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26517         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26518         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
26519         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26520         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
26521         Likewise.
26523         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
26524         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
26525         (__ASSUME_SOCKETCALL): Do not define.
26526         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
26527         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26528         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26529         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26530         (__ASSUME_REQUEUE_PI): Define unconditionally.
26531         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
26532         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
26533         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26534         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
26535         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26536         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26538         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
26539         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
26540         (__ASSUME_SOCKETCALL): Do not define.
26541         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
26542         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26543         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26544         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
26545         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26546         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26548         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
26549         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
26550         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26551         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
26552         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26553         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
26554         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26555         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
26556         (__ASSUME_GETCPU_SYSCALL): Likewise.
26558         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
26559         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
26560         cases for individual architectures.
26561         * sysdeps/gnu/configure: Regenerated.
26562         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
26563         LIBC_SLIBDIR_RTLDDIR.
26564         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
26565         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
26566         LIBC_SLIBDIR_RTLDDIR.
26567         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
26568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
26569         LIBC_SLIBDIR_RTLDDIR.
26570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26571         Regenerated.
26572         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
26573         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
26574         file.
26575         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
26576         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
26577         file.
26578         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
26579         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
26580         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
26581         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
26583         * sysdeps/aarch64/shlib-versions: Move to ...
26584         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
26585         * sysdeps/alpha/shlib-versions: Move to ...
26586         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
26587         * sysdeps/arm/shlib-versions: Move to ...
26588         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
26589         * sysdeps/hppa/shlib-versions: Move all contents except for
26590         libgcc_s entry to ...
26591         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
26592         entry from ...
26593         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
26594         * sysdeps/ia64/shlib-versions: Move to ...
26595         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
26596         entry from ...
26597         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
26598         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
26599         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
26600         * sysdeps/microblaze/shlib-versions: Move to ...
26601         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
26602         * sysdeps/mips/shlib-versions: Move to ...
26603         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
26604         entry from ...
26605         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
26606         * sysdeps/tile/shlib-versions: Move to ...
26607         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
26608         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
26609         from ...
26610         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
26611         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
26612         entry from ...
26613         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
26615 2014-07-17  Will Newton  <will.newton@linaro.org>
26617         * sysdeps/arm/bits/atomic.h
26618         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
26619         (__arch_compare_and_exchange_bool_16_int): Likewise.
26620         (__arch_compare_and_exchange_bool_64_int): Likewise.
26622         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
26623         into an #else block.
26625 2014-07-16  Roland McGrath  <roland@hack.frob.com>
26627         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
26628         just Linux configurations.  Test empirically that the compiler sets
26629         __ARM_EABI__, rather than using the tuple to decide.
26630         * sysdeps/arm/preconfigure: Regenerated.
26631         * sysdeps/unix/sysv/linux/arm/configure: File removed.
26632         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
26633         contents appended ...
26634         * sysdeps/arm/configure.ac: ... here.
26635         * sysdeps/arm/configure: Regenerated.
26637 2014-07-15  Roland McGrath  <roland@hack.frob.com>
26639         * nptl/pthread_kill.c: New file.
26640         * nptl/pthread_sigmask.c: New file.
26641         * nptl/pthread_sigqueue.c: New file.
26643         * sysdeps/nptl/lowlevellock.h: New file.
26644         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
26645         * sysdeps/nptl/lowlevellock-futex.h: New file.
26647         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
26648         Remove dead declarations.
26650 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
26652         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
26653         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
26654         config-cflags-avx2.
26655         * sysdeps/x86_64/configure.ac: Likewise.
26656         * sysdeps/i386/configure: Regenerated.
26657         * sysdeps/x86_64/configure: Likewise.
26658         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26659         memset-avx2 only if config-cflags-avx2 is yes.
26660         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26661         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
26662         defined.
26663         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
26664         only if HAVE_AVX2_SUPPORT is defined.
26665         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26667 2014-07-14  Alan Modra  <amodra@gmail.com>
26669         [BZ #17153]
26670         * elf/elf.h (DT_PPC64_NUM): Correct value.
26671         * NEWS: Add to fixed bug list.
26673 2014-07-13  Jim Meyering  <meyering@fb.com>
26675         [BZ 17150]
26676         regex: don't deref NULL upon heap allocation failure
26677         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
26678         failure in one more place.
26679         To trigger the segfault, configure grep -with-included-regex,
26680         build it, and run these commands:
26681         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
26683 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
26685         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26687 2014-07-11  Richard Henderson  <rth@redhat.com>
26689         * sysdeps/aarch64/libm-test-ulps: Update.
26691 2014-07-10  Florian Weimer  <fweimer@redhat.com>
26693         [BZ #17135]
26694         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
26695         * nptl/allocatestack.c (__nptl_setxid_error): New function.
26696         (__nptl_setxid): Initialize error member.  Call
26697         __nptl_setxid_error.
26698         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
26699         * nptl/descr.h (struct xid_command): Add error member.
26700         * nptl/tst-setuid3.c: New file.
26701         * nptl/Makefile (tests): Add it.
26703 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26705         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
26706         New define.
26707         (__lll_trylock): Use __lll_base_trylock.
26708         (__lll_cond_trylock): Likewise.
26710 2014-07-10  Roland McGrath  <roland@hack.frob.com>
26712         * nptl/pthread_create.c (start_thread): Use atomic_or and
26713         lll_futex_wake directly rather than lll_robust_dead.
26714         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26715         (lll_robust_dead): Macro removed.
26716         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
26717         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26718         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26719         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26720         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26721         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26722         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26723         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26724         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26725         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26726         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26727         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26728         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26729         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26730         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26732         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
26733         Use atomic_compare_and_exchange_val_acq directly rather than
26734         lll_robust_trylock.
26735         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26736         (__lll_robust_trylock, lll_robust_trylock): Removed.
26737         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26738         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26739         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26740         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26741         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26742         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26743         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26744         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26745         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26746         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26747         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26748         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26749         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26750         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26752 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26754         * manual/locale.texi (Locale Names): New section documenting
26755         locale name syntax.  Adjust menu and node chaining accordingly.
26756         (Choosing Locale): Reference Locale Names, Locale Categories.
26757         Mention setting LC_ALL=C.  Reflect that name syntax is now
26758         documented.
26759         (Locale Categories): New section title.  Reference Locale Names.
26760         LC_ALL is an environment variable, but not a category.
26761         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
26762         description, now in Locale Name.  Reference that section.  Locale
26763         name syntax is now documented.
26765 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26767         [BZ #17137]
26768         * locale/findlocale.c (name_present, valid_locale_name): New
26769         functions.
26770         (_nl_find_locale): Use the loc_name variable to store name
26771         candidates.  Call name_present and valid_locale_name to check and
26772         validate locale names.  Return an error if the locale is invalid.
26774 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26776         * locale/setlocale.c (setlocale): Use strdup for allocating
26777         composite name copy.
26779 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26781         Sync up with gnulib.
26782         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
26783         [!_LIBC && ENABLE_NLS]: Include gettext.h.
26784         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
26785         and _GL_ARG_NONNULL.
26786         [USE_UNLOCKED_IO]: Include unlocked-io.h.
26787         [!_LIBC]: Include code for Windows and Cygwin.
26788         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
26789         Include prototype for int strerror_r.
26790         [!_LIBC] (is_open): New function.
26791         (flush_stdout): New function.
26792         (print_errno_message): Use it.
26793         (error): Likewise.
26794         (error_at_line): Likewise.
26795         (error_tail) Add function attribute macros.  Use
26796         __builtin_expect.
26798         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
26800         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
26802         * io/ftw.c: Include sys/param.h unconditionally.
26804         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
26806         [BZ #17125]
26807         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
26808         libc_freeres_ptr.
26809         (freecache): New function to free CACHE on exit.
26811         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
26812         initialization.
26814 2014-07-09  David S. Miller  <davem@davemloft.net>
26816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26818         * sysdeps/sparc/nptl/internaltypes.h: Delete.
26819         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
26820         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
26821         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
26822         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
26823         * sysdeps/sparc/nptl/sem_init.c: Likewise.
26824         * sysdeps/sparc/nptl/sem_post.c: Likewise.
26825         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
26826         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
26827         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
26828         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
26829         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
26830         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
26832 2014-07-09  Andreas Schwab  <schwab@suse.de>
26834         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
26835         output.
26836         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
26837         (do_test): Likewise.
26839         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26841 2014-07-09  Will Newton  <will.newton@linaro.org>
26843         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
26844         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
26845         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
26846         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
26847         * sysdeps/hppa/start.S (_start): Likewise.
26849 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26851         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
26853         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
26854         defined.
26856 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26858         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
26859         after checking that it is non-NULL.
26861         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
26863 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26865         * sysdeps/powerpc/memmove.c: Remove file.
26866         * sysdeps/powerpc/powerpc32/power4/memcopy.h
26867         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
26868         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26869         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
26870         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
26871         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
26872         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
26873         string memmove instead of removed powerpc one.
26875         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26876         [weak_alias]: Fix compiler warning due trailing data.
26877         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
26878         [weak_alias]: Likewise.
26879         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
26880         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
26882         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26883         (__libc_ifunc_impl_list): Add memmove functions.
26885 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26887         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
26888         Remove code.
26889         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
26890         Likewise.
26891         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
26892         Likewise.
26893         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
26894         Likewise.
26895         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
26896         Likewise.
26897         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
26898         Likewise.
26899         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
26900         Likewise.
26901         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
26902         Likewise.
26903         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
26904         Likewise.
26905         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
26906         Likewise.
26907         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
26908         Likewise.
26909         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
26910         Likewise.
26911         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
26912         Likewise.
26913         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
26914         Likewise.
26915         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
26916         Likewise.
26917         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
26918         Likewise.
26919         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
26920         Likewise.
26922 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26924         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
26925         to avoid alignment traps in non-cacheable memory.
26926         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26928         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
26929         multiarch objects.
26930         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
26931         file: multiarch power7 memmove.
26932         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
26933         multiarch default memmove.
26934         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
26935         multiarch memove for powerpc32/power4.
26937         * string/bcopy.c: Use full path to include memmove.c.
26938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
26939         multiarch objects.
26940         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
26941         bcopy for powerpc64.
26942         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
26943         bcopy for powerpc64.
26944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
26945         and memmove implementations.
26946         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
26947         optimized multiarch memmove for POWER7/powerpc64.
26948         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
26949         default multiarch memmove for powerpc64.
26950         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
26951         multiarch for powerpc64.
26952         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
26953         for POWER7/powerpc64.
26954         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
26955         memmove for POWER7/powerpc64.
26957         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
26958         glibc default one.
26960         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
26961         __ELF_NATIVE_CLASS equal to 64.
26963 2014-07-07  Roland McGrath  <roland@hack.frob.com>
26965         * sysdeps/nptl/lowlevellock.h: File removed.
26967         * NEWS: NPTL is no longer an add-on!
26968         * nptl/internaltypes.h: Moved ...
26969         * sysdeps/nptl/internaltypes.h: ... here.
26970         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
26971         * sysdeps/nptl/fork.c: Likewise.
26972         * sysdeps/nptl/gai_misc.h: Likewise.
26973         * sysdeps/nptl/librt-cancellation.c: Likewise.
26974         * sysdeps/nptl/jmp-unwind.c: Likewise.
26975         * sysdeps/nptl/setxid.h: Likewise.
26976         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
26977         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
26978         * sysdeps/unix/sysv/linux/arm/Implies: New file.
26979         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
26980         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
26981         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
26982         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
26983         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
26984         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
26985         * sysdeps/unix/sysv/linux/mips/Implies: New file.
26986         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
26987         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
26988         * sysdeps/unix/sysv/linux/sh/Implies: New file.
26989         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
26990         * sysdeps/unix/sysv/linux/tile/Implies: New file.
26991         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
26992         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
26993         * nptl/Makeconfig: Moved ...
26994         * sysdeps/nptl/Makeconfig: ... here.
26995         * nptl/configure: File removed.
26996         * nptl/ANNOUNCE: File removed.
26997         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
26998         * sysdeps/unix/sysv/linux/configure: Regenerated.
27000         * nptl/Makefile (routines): Add libc_pthread_init,
27001         libc_multiple_threads, register-atfork and unregister-atfork.
27002         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
27003         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
27004         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
27005         pthread-pi-defines.sym, structsem.sym.
27006         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
27007         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
27008         [$(subdir) = nptl] (tests): Add tst-setgetname.
27009         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
27010         * sysdeps/unix/sysv/linux/sigaction.c: Just include
27011         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
27012         [!LIBC_SIGACTION]: Remove aliases.
27013         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27014         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27015         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27016         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
27017         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27018         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
27019         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27020         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27021         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27022         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
27023         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
27024         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
27025         __libc_allocate_rtsig_private.
27026         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
27027         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
27028         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27029         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27030         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
27031         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
27032         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
27033         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
27034         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
27035         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
27036         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
27037         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
27038         * nptl/internaltypes.h: ... here.
27039         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
27040         * sysdeps/nptl/jmp-unwind.c: ... here.
27041         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
27042         * nptl/libc-lowlevellock.c: ... here.
27043         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
27044         * nptl/libc_multiple_threads.c: ... here.
27045         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
27046         * nptl/libc_pthread_init.c: ... here.
27047         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
27048         * nptl/lowlevelbarrier.sym: ... here.
27049         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
27050         * nptl/lowlevelcond.sym: ... here.
27051         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
27052         * nptl/lowlevellock.c: ... here.
27053         * nptl/lowlevellock.h: Moved ...
27054         * sysdeps/nptl/lowlevellock.h: ... here.
27055         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
27056         * nptl/lowlevelrobustlock.c: ... here.
27057         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
27058         * nptl/lowlevelrobustlock.sym: ... here.
27059         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
27060         * nptl/lowlevelrwlock.sym: ... here.
27061         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
27062         * nptl/pt-fork.c: ... here.
27063         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
27064         * nptl/pthread-pi-defines.sym: ... here.
27065         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
27066         * nptl/pthread_attr_getaffinity.c: ... here.
27067         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
27068         * nptl/pthread_attr_setaffinity.c: ... here.
27069         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
27070         * nptl/pthread_mutex_cond_lock.c: ... here.
27071         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27072         Update #include.
27073         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
27074         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
27075         * nptl/pthread_once.c: ... here, replacing old file.
27076         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
27077         * nptl/pthread_yield.c: ... here.
27078         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
27079         * nptl/register-atfork.c: ... here.
27080         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
27081         * nptl/sem_post.c: ... here.
27082         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
27083         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
27084         * nptl/sem_timedwait.c: ... here.
27085         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
27086         * nptl/sem_trywait.c: ... here.
27087         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
27088         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
27089         * nptl/sem_wait.c: ... here.
27090         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
27091         * nptl/structsem.sym: ... here.
27092         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
27093         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
27094         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
27095         * nptl/unregister-atfork.c: ... here.
27096         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
27097         * nptl/unwindbuf.sym: ... here.
27098         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
27099         * sysdeps/nptl/fork.c: ... here.
27100         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
27101         * sysdeps/nptl/fork.h: ... here.
27102         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
27103         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
27104         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
27105         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
27106         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
27107         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
27108         * sysdeps/unix/sysv/linux/getpid.c: ... here.
27109         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
27110         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
27111         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
27112         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
27113         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
27114         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
27115         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
27116         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
27117         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
27118         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
27119         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
27120         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
27121         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
27122         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
27123         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
27124         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
27125         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
27126         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
27127         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
27128         * sysdeps/unix/sysv/linux/raise.c: ... here.
27129         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
27130         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
27131         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
27132         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
27133         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
27134         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
27135         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
27136         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
27137         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
27138         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
27139         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
27140         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
27141         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
27142         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
27143         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
27145 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27147         * sysdeps/generic/memcopy.h: Add comment for
27148         MEMCPY_OK_FOR_FWD_MEMMOVE.
27150 2014-07-04  Will Newton  <will.newton@linaro.org>
27152         * string/memchr.c: Merge from gnulib.
27153         [_LIBC]: Remove conditionals.
27154         (__ptr_t): Remove define.
27155         (LONG_MAX_32_BITS): Likewise.
27156         (LONG_MAX): Likewise.
27157         (MEMCHR): Use ANSI prototype and optimize algorithm.
27159         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
27161 2014-07-03  Roland McGrath  <roland@hack.frob.com>
27163         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
27164         (lll_futex_timed_wait_bitset): Fix syscall argument count.
27166         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
27167         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
27168         in a bare environment with no <stdlib.h> installed.
27169         * sysdeps/nptl/configure: Regenerated.
27171         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
27173         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
27174         AC_EGREP_CPP for kernel header checks, so they only succeed if
27175         including <linux/version.h> actually works right.
27176         * sysdeps/unix/sysv/linux/configure: Regenerated.
27178         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
27179         value so it's not diagnosed as unused.
27181         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
27182         thing) with "ifeq ($(subdir),rt)".
27184 2014-07-03  Richard Henderson  <rth@redhat.com>
27186         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
27187         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
27188         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
27190         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
27191         (math_force_eval): New.
27193         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
27194         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
27196         * sysdeps/alpha/fpu/s_round.c: Remove file.
27197         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
27199         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
27200         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
27201         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
27202         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
27203         (_dl_start, print_statistics): Likewise.
27204         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
27205         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
27207         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27208         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27209         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27210         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27211         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27212         (HP_SMALL_TIMING_AVAIL): Define.
27213         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27214         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27215         (HP_SMALL_TIMING_AVAIL): Define.
27216         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27217         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27219         * sysdeps/aarch64/hp-timing.h: New file.
27221         * sysdeps/generic/hp-timing.h: Remove dead comment.
27222         * sysdeps/generic/hp-timing-common.h: New file.
27223         * sysdeps/alpha/hp-timing.h: Include it.
27224         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
27225         * sysdeps/i386/i686/hp-timing.h: Likewise.
27226         * sysdeps/ia64/hp-timing.h: Likewise.
27227         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27228         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27229         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27230         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27231         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
27232         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
27233         (hp_timing_t): New.
27235         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
27236         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
27237         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
27238         * elf/rtld.c (_dl_start_final): Likewise.
27239         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
27240         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27241         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27242         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27243         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27244         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27245         (HP_TIMING_DIFF_INIT): Remove.
27246         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27247         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27248         (HP_TIMING_DIFF_INIT): Remove.
27249         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27250         * sysdeps/i386/i686/hp-timing.c: Remove file.
27251         * sysdeps/x86_64/hp-timing.c: Remove file.
27252         * sysdeps/ia64/hp-timing.c: Remove file.
27253         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
27254         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
27255         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
27256         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
27258         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
27259         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
27260         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
27261         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27262         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27263         (HP_TIMING_ACCUM): Remove.
27264         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27265         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
27266         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27268         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
27269         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
27270         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
27271         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
27272         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
27273         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27274         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
27275         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27277         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
27279 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
27281         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
27283 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27285         Sync up with gettext.
27286         * intl/loadmsgcat.c: Define O_BINARY if not defined.
27287         [_MSC_VER]: Include malloc.h
27288         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
27289         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
27290         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
27291         TEMP_FAILURE_RETRY.  Cast return of alloca.
27292         [!_LIBC] Call gl_rwlock_init.
27293         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
27295 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27297         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
27298         before checking its value.
27300 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27302         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
27304         * debug/memcpy_chk.c: Don't include pagecopy.h.
27305         * debug/mempcpy_chk.c: Likewise.
27306         * string/memcpy.c: Likewise.
27307         * string/memmove.c: Likewise.
27308         * sysdeps/powerpc/memmove.c: Likewise.
27309         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
27310         definition of PAGE_COPY_FWD_MAYBE here...
27311         * sysdeps/generic/pagecopy.h: ... from here.
27312         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
27314 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27315             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27317         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
27318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
27319         optimizations.
27320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27321         (__libc_ifunc_impl_list): Likewise.
27322         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
27323         multiarch strcat for PPC64.
27324         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
27325         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
27327 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27329         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
27331 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27333         * intl/loadmsgcat.c: Remove declaration of
27334         get_sysdep_segment_value.
27335         (get_sysdep_segment_value): Use ISO C style.
27336         (_nl_load_domain): Use ISO C style.  Get rid of redundant
27337         semicolon.  Fix typo and formatting in comment.
27338         (_nl_unload_domain): Use ISO C style.
27340         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
27342 2014-07-02  Will Newton  <will.newton@linaro.org>
27344         * malloc/obstack.c: Merge from gnulib master.
27345         [HAVE_CONFIG_H]: Remove conditional code.
27346         [!_LIBC]: Include config.h.
27347         [!ELIDE_CODE]: Don't include inttypes.h, include
27348         stdint.h unconditionally.
27349         (print_and_abort): Mark as _Noreturn.
27350         (_obstack_allocated_p): Mark as __attribute_pure__.
27351         (obstack_free): Rename to __obstack_free.
27352         [!__attribute__]: Remove conditional code.
27353         * malloc/obstack.h: Merge from gnulib master.
27354         [__cplusplus]: Move conditional down.
27355         [!__attribute_pure__]: Define __attribute_pure__ here
27356         if it is not already defined.
27357         (_obstack_memory_used): Mark as __attribute_pure__.
27358         [!__obstack_free]: Define as obstack_free.
27359         [__GNUC__]: Remove check for ancient NeXT gcc.
27361 2014-07-02  Will Newton  <will.newton@linaro.org>
27362             Paul Eggert  <eggert@cs.ucla.edu>
27364         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
27366 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27368         * resolv/gethnamaddr.c: Add comment warning that the file is
27369         not maintained.
27371 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
27373         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
27374         entries.
27376         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
27377         entry for aio_cancel and aio_cancel64.
27378         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
27379         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
27380         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
27381         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
27382         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
27383         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
27384         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
27385         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
27386         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
27387         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
27388         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
27389         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
27390         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
27392 2014-07-01  Roland McGrath  <roland@hack.frob.com>
27394         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
27395         * nptl/pthread_mutex_lock.c: Likewise.
27396         * nptl/pthread_mutex_timedlock.c: Likewise.
27397         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
27399 2014-07-01  Richard henderson  <rth@redhat.com>
27401         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
27402         (__isnan, __isnanl): Remove.
27403         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
27405         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27407 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27409         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27411 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27413         * resolv/nss_dns/dns-host.c (getanswer_r)
27414         [MULTI_PTRS_ARE_ALIASES]: Remove code.
27416 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
27418         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27419         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
27420         undefine.
27421         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
27422         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
27424 2014-07-01  Roland McGrath <roland@hack.frob.com>
27426         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
27427         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
27429         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
27430         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
27432         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
27433         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
27434         ... here.
27435         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
27436         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
27438         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
27439         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
27440         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
27441         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
27443         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
27444         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
27445         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
27446         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
27447         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
27448         Moved ...
27449         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
27450         ... here.
27451         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
27452         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
27453         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
27454         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
27455         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
27456         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
27457         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
27458         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
27459         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
27460         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
27461         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
27462         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
27463         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
27464         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
27465         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
27466         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
27467         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
27468         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
27469         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
27470         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
27471         ... here.
27472         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
27473         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
27474         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
27475         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
27476         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
27477         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
27478         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
27479         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
27481 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
27483         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
27484         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
27485         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
27486         Add sysdep.
27488 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27492 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27494         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27495         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27497         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27499         * sysdeps/arm/libm-test-ulps: Regenerated.
27501 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27502             Roland McGrath <roland@hack.frob.com>
27504         * test-skeleton.c (signal_handler): Kill the whole process group
27505         before killing the child individually.
27506         (main): Report any failure on `setpgid'.
27508 2014-06-30  Roland McGrath  <roland@hack.frob.com>
27510         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
27511         from _TLS_H to _ARM_NPTL_TLS_H.
27512         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
27513         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
27515 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27517         [BZ #16539]
27518         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
27519         (__expm1l): Return argument unchanged when small but not
27520         subnormal.
27522         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
27523         include macro name.
27524         (_FP_UNPACK_RAW_1_P): Likewise.
27525         (_FP_PACK_RAW_1): Likewise.
27526         (_FP_PACK_RAW_1_P): Likewise.
27527         (_FP_MUL_MEAT_1_wide): Likewise.
27528         (_FP_MUL_MEAT_DW_1_hard): Likewise.
27529         (_FP_MUL_MEAT_1_hard): Likewise.
27530         (_FP_DIV_MEAT_1_imm): Likewise.
27531         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
27532         (_FP_DIV_MEAT_1_udiv): Likewise.
27533         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
27534         (_FP_UNPACK_RAW_2): Likewise.
27535         (_FP_UNPACK_RAW_2_P): Likewise.
27536         (_FP_PACK_RAW_2): Likewise.
27537         (_FP_PACK_RAW_2_P): Likewise.
27538         (_FP_MUL_MEAT_DW_2_wide): Likewise.
27539         (_FP_MUL_MEAT_2_wide): Likewise.
27540         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
27541         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27542         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
27543         (_FP_MUL_MEAT_2_gmp): Likewise.
27544         (_FP_DIV_MEAT_2_udiv): Likewise.
27545         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
27546         (_FP_FRAC_SRL_4): Likewise.
27547         (_FP_FRAC_SRST_4): Likewise.
27548         (_FP_FRAC_SRS_4): Likewise.
27549         (_FP_UNPACK_RAW_4): Likewise.
27550         (_FP_UNPACK_RAW_4_P): Likewise.
27551         (_FP_PACK_RAW_4): Likewise.
27552         (_FP_PACK_RAW_4_P): Likewise.
27553         (_FP_MUL_MEAT_DW_4_wide): Likewise.
27554         (_FP_MUL_MEAT_4_wide): Likewise.
27555         (_FP_MUL_MEAT_4_gmp): Likewise.
27556         (umul_ppppmnnn): Likewise.
27557         (_FP_DIV_MEAT_4_udiv): Likewise.
27558         (__FP_FRAC_ADD_4): Likewise.
27559         (__FP_FRAC_SUB_3): Likewise.
27560         (__FP_FRAC_SUB_4): Likewise.
27561         (__FP_FRAC_DEC_3): Likewise.
27562         (__FP_FRAC_DEC_4): Likewise.
27563         (__FP_FRAC_ADDI_4): Likewise.
27564         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
27565         (_FP_FRAC_SRL_8): Likewise.
27566         (_FP_FRAC_SRS_8): Likewise.
27568         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
27569         include macro name.
27570         (FP_UNPACK_RAW_EP): Likewise.
27571         (FP_PACK_RAW_E): Likewise.
27572         (FP_PACK_RAW_EP): Likewise.
27573         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
27574         (_FP_ISSIGNAN): Likewise.
27575         (_FP_ADD_INTERNAL): Likewise.
27576         (_FP_FMA): Likewise.
27577         (_FP_CMP): Likewise.
27578         (_FP_SQRT): Likewise.
27579         (_FP_TO_INT): Likewise.
27580         (_FP_FROM_INT): Likewise.
27581         (FP_EXTEND): Likewise.
27582         (_FP_DIV_MEAT_N_loop): Likewise.
27584 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27586         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
27587         throughout.
27589 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
27591         [BZ #17097]
27592         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
27593         result with correct sign in case of exponents that produce
27594         overflow except for X very close to 1.
27596 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
27598         mktime: merge #if/#ifdef usage from glibc
27599         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
27600         as that works with both Glibc's and Gnulib's style.
27601         See thread starting at Siddhesh Poyarekar's bug report at:
27602         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
27604 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27606         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
27607         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
27608         * sysdeps/tile/tilegx/memmove.c: Remove file.
27610 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27612         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
27613         abi-name definition.
27614         * scripts/soversions.awk: Do not handle or generate ABI lines.
27615         * shlib-versions: Remove ABI entries.
27616         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
27617         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
27619 2014-06-27  Roland McGrath  <roland@hack.frob.com>
27621         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
27622         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
27623         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
27624         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
27625         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
27626         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
27627         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
27628         Moved ...
27629         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
27630         ... here.
27631         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
27632         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
27633         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
27634         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
27635         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
27636         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
27637         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
27638         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
27639         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
27640         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
27641         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
27642         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
27643         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
27644         Moved ...
27645         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
27646         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
27647         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
27648         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
27649         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
27650         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
27651         Moved ...
27652         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
27653         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
27654         Moved ...
27655         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
27656         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
27657         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
27658         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
27659         Moved ...
27660         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
27661         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
27662         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
27663         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
27664         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
27665         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
27666         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
27667         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
27668         Moved ...
27669         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
27670         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
27671         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
27672         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
27673         Moved ...
27674         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
27675         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
27676         Moved ...
27677         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
27678         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
27679         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
27680         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
27681         Moved ...
27682         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
27683         ... here.
27684         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
27685         Identical file removed.
27686         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
27687         Moved ...
27688         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
27689         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
27690         Identical file removed.
27691         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
27692         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
27693         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
27694         Moved ...
27695         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
27696         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
27697         Identical file removed.
27698         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
27699         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
27700         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
27701         Identical file removed.
27702         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
27703         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
27704         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
27705         Identical file removed.
27706         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
27707         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
27708         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
27709         Identical file removed.
27710         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
27711         Moved ...
27712         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
27713         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
27714         Identical file removed.
27715         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
27716         Moved ...
27717         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
27718         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
27719         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
27720         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
27721         Identical file removed.
27722         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
27723         Moved ...
27724         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
27725         ... here.
27726         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
27727         Identical file removed.
27728         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
27729         Moved ...
27730         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
27731         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
27732         Identical file removed.
27733         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
27734         Moved ...
27735         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
27736         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
27737         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
27738         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
27739         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
27740         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
27741         Moved ...
27742         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
27743         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
27744         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
27746         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
27747         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
27748         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
27749         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
27750         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
27752 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
27754         [BZ #17092]
27755         * nscd/nscd.c (monitor_child): Return exit status of child
27756         instead of return value from wait syscall.
27758 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27760         * configure.ac (libc_commonpagesize): Remove variable.
27761         (libc_relro_required): Likewise.
27762         (libc_cv_z_relro): Remove configure test.
27763         * configure: Regenerated.
27764         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
27765         variable.
27766         (libc_relro_required): Likewise.
27767         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
27768         (libc_relro_required): Likewise.
27769         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
27770         (libc_relro_required): Likewise.
27771         * sysdeps/arm/preconfigure: Regenerated.
27772         * sysdeps/ia64/preconfigure: Remove file.
27773         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
27774         variable.
27775         (libc_relro_required): Likewise.
27777         [BZ #16561]
27778         [BZ #16562]
27779         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
27780         (__ieee754_yn): Set FE_TONEAREST mode internally and then
27781         recompute overflowing results in original rounding mode.
27782         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
27783         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
27784         recompute overflowing results in original rounding mode.
27785         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
27786         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27787         recompute overflowing results in original rounding mode.
27788         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
27789         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27790         recompute overflowing results in original rounding mode.
27791         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
27792         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27793         recompute overflowing results in original rounding mode.
27794         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
27795         (libc_feholdsetround_ctx): New macro.
27796         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
27797         * sysdeps/i386/fpu/libm-test-ulps: Update.
27798         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
27800 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27802         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
27803         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
27804         corresponding .cpsetup call.
27806 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27808         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
27809         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
27810         * sysdeps/arm/Makefile [$(subdir) = csu]
27811         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
27812         (static-only-routines): Add aeabi_read_tp here.
27813         (shared-only-routines): Add libc-aeabi_read_tp here.
27814         (CFLAGS-libc-start.c): Add -fexceptions here.
27815         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
27816         (sysdep_routines, static-only-routines, shared-only-routines):
27817         Don't add to these here.
27818         (CFLAGS-libc-start.c): Likewise.
27820         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
27821         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27822         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
27823         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27824         * sysdeps/arm/Makefile [$(subdir) = rt]
27825         (librt-sysdep_routines, librt-shared-only-routines):
27826         Append rt-aeabi_unwind_cpp_pr1 here.
27827         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
27828         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
27829         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
27830         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27831         Append nptl-aeabi_unwind_cpp_pr1 here.
27832         (tests): Filter out tst-cleanupx4 here.
27833         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
27834         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
27835         Don't do those here.
27837 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27839         * scripts/list-sources.sh: Do not handle ports specially.
27841 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27843         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
27844         * sysdeps/arm/feupdateenv.c: Likewise.
27846         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
27848 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27850         * manual/texinfo.tex: Update to version 2014-05-05.10 with
27851         trailing whitespace removed.
27852         * scripts/config.guess: Update to version 2014-03-23.
27853         * scripts/config.sub: Update to version 2014-05-01
27854         * scripts/install-sh: Update to version 2013-12-25.23.
27855         * scripts/move-if-change: Update from gnulib.
27857 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27859         * debug/memmove_chk.c: Remove pagecopy.h include.
27861 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
27863         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
27864         identical to gnulib mktime.
27866 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27868         * configure.ac: Do not test for machine being rs6000.  Do not test
27869         for powerpc*-*soft.
27870         * configure: Regenerated.
27872         [BZ #11505]
27873         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
27874         test.
27875         * configure: Regenerated.
27876         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
27877         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
27878         Remove configure test.
27879         * sysdeps/arm/configure: Regenerated.
27880         * sysdeps/nptl/configure.ac: Do not check
27881         libc_cv_asm_cfi_directives.
27882         * sysdeps/nptl/configure: Regenerated.
27883         * sysdeps/x86_64/nptl/configure.ac: Remove file.
27884         * sysdeps/x86_64/nptl/configure: Remove generated file.
27885         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
27886         unconditional.
27887         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
27889 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27891         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
27892         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
27893         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
27894         it is defined.
27896         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
27897         instead of whether it is defined.
27898         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
27899         * sysdeps/hppa/dl-machine.h: Likewise.
27900         * sysdeps/ia64/dl-machine.h: Likewise.
27901         * sysdeps/m68k/dl-machine.h: Likewise.
27902         * sysdeps/microblaze/dl-machine.h: Likewise.
27903         * sysdeps/mips/dl-machine.: Likewise.
27904         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27905         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27906         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27907         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27908         * sysdeps/sh/dl-machine.h: Likewise.
27909         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27910         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27911         * sysdeps/tile/dl-machine.h: Likewise.
27912         * sysdeps/x86_64/dl-machine.h: Likewise.
27914         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
27915         code.
27916         (verify_persistent_db): Likewise.
27918 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
27921         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
27922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
27923         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
27924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27925         Moved ...
27926         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
27927         ... here.
27928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
27929         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
27930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
27931         Identical file removed.
27932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
27933         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
27934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
27935         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
27936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
27937         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
27938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
27939         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
27940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
27941         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
27942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27943         Moved ...
27944         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
27945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
27946         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
27947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
27948         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
27949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27950         Moved ...
27951         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
27952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
27953         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
27954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
27955         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
27956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27957         Identical file removed.
27958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
27959         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
27960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
27961         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
27962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27963         Moved ...
27964         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
27965         ... here.
27966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
27967         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
27968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
27969         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
27970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
27971         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
27972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
27973         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
27974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
27975         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
27976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27977         Moved ...
27978         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
27979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
27980         Moved ...
27981         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
27982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
27983         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
27984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27985         Moved ...
27986         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
27987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
27988         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
27990         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
27991         folded into ...
27992         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
27993         * sysdeps/unix/sysv/linux/s390/Versions
27994         (libpthread: GLIBC_2.19): New version set.
27995         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
27996         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
27997         (librt: GLIBC_2.3.3): New version set.
27998         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
27999         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
28000         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
28001         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
28002         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
28003         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
28004         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
28005         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
28006         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
28007         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
28008         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
28009         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
28010         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
28011         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
28012         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
28013         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
28014         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
28015         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
28016         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
28017         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
28018         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
28019         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
28020         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
28021         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
28022         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
28023         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
28024         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
28025         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
28026         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
28027         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
28028         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
28029         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
28030         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
28031         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
28032         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
28033         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
28034         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
28035         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
28036         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
28037         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
28038         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
28039         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
28040         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
28041         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
28042         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
28044         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
28045         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
28046         (__libc_vfork): Define the function under this name.
28047         [!NOT_IN_libc] (__vfork): Make this an alias.
28048         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28049         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
28050         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
28051         (__libc_vfork): Define the function under this name.
28052         [!NOT_IN_libc] (__vfork): Make this an alias.
28053         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28054         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
28055         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
28056         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
28057         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
28058         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28060         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
28061         code that was previously under [RESET_PID].
28062         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
28063         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
28064         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
28066         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
28067         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
28068         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
28069         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
28070         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
28071         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
28072         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
28073         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
28074         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
28075         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
28076         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
28077         Moved ...
28078         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
28079         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
28080         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
28081         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
28082         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
28083         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
28084         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
28085         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
28086         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
28087         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
28088         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
28089         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
28090         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
28091         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
28092         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
28093         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
28094         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
28095         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
28096         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
28097         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
28098         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
28099         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
28100         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
28101         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
28102         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
28103         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
28104         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
28105         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
28106         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
28108 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28110         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
28111         that was previously under [RESET_PID].
28112         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
28114 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28116         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
28117         not undefine and redefine.
28118         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
28119         [O_CLOEXEC]: Make code unconditional.
28120         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
28121         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
28122         <kernel-features.h>.
28123         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
28124         conditional variable definition.
28125         (shm_open) [O_CLOEXEC]: Make code unconditional.
28126         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
28127         code.
28129         * configure.ac (USE_REGPARMS): Don't define here.
28130         * configure: Regenerated.
28131         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
28132         * sysdeps/i386/configure: Regenerated.
28134         * nptl/createthread.c: Don't include kernel-features.h.
28135         * nptl/pthread_cancel.c: Likewise.
28136         * nptl/pthread_condattr_setclock.c: Likewise.
28137         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
28138         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
28139         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
28140         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
28141         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
28142         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
28143         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28144         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
28145         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28146         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
28147         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
28148         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
28149         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
28150         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
28151         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
28152         * nscd/gai.c: Likewise.
28153         * nss/nss_db/db-open.c: Likewise.
28154         * sysdeps/generic/ldsodefs.h: Likewise.
28155         * sysdeps/sh/nptl/tls.h: Likewise.
28156         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28157         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
28158         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
28159         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
28160         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
28161         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28162         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
28163         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28164         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28165         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28166         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28167         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28168         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
28169         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
28170         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
28171         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
28172         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
28173         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
28174         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
28175         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
28176         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
28177         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
28178         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
28179         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
28180         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
28181         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
28182         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
28183         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
28184         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28185         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
28186         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
28187         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
28188         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
28189         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28190         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28191         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28192         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28193         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
28194         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
28195         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28196         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28197         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
28198         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
28199         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28200         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
28201         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
28202         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
28203         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
28204         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
28205         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
28206         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
28207         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
28208         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
28209         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28210         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
28211         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28212         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28213         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
28214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
28216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
28217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
28218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
28219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
28220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
28221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
28222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
28225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
28226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
28227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
28228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
28234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
28235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
28236         * sysdeps/unix/sysv/linux/pread.c: Likewise.
28237         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
28238         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
28239         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
28240         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
28241         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
28242         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
28243         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
28244         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
28245         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
28246         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
28247         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
28248         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
28249         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
28250         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
28251         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
28252         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28253         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
28254         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
28255         * sysdeps/unix/sysv/linux/system.c: Likewise.
28256         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
28257         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28258         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28259         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28260         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28261         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28262         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28264         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
28265         * configure: Regenerated.
28266         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
28268         * configure.ac (base_machine): Do not set specially for particular
28269         machines here.
28270         * configure: Regenerated.
28271         * sysdeps/powerpc/preconfigure: Move machine and base_machine
28272         settings from configure.ac.
28273         * sysdeps/i386/preconfigure: New file.
28274         * sysdeps/s390/preconfigure: Likewise.
28275         * sysdeps/sh/preconfigure: Likewise.
28276         * sysdeps/sparc/preconfigure: Likewise.
28278 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28280         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
28281         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
28282         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
28283         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
28284         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
28285         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
28286         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
28287         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
28288         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28289         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
28290         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
28291         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
28292         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28293         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
28294         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
28295         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
28296         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
28297         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
28298         * sysdeps/sparc/sparc64/Makefile: ... appended here.
28300         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
28301         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
28302         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
28303         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
28304         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28305         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
28306         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
28307         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
28308         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
28309         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
28310         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
28311         * sysdeps/sparc/sparc32/sem_post.c: ... here.
28312         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
28313         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
28314         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
28315         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
28316         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
28317         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
28318         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
28319         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
28320         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
28321         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
28322         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
28323         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
28324         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
28325         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
28326         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
28327         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
28328         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
28329         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
28330         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
28331         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
28332         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
28333         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
28334         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
28335         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
28336         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
28337         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
28339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
28340         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
28341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
28342         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
28343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28344         Moved ...
28345         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
28346         ... here.
28347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
28348         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
28349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
28350         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
28351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
28352         Moved ...
28353         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
28354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
28355         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
28356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
28357         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
28358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
28359         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
28360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28361         Moved ...
28362         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
28363         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28364         Moved ...
28365         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
28366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
28367         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
28368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28369         Moved ...
28370         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
28371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
28372         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
28373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
28374         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
28375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
28376         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
28377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
28378         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
28379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28380         Moved ...
28381         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
28382         ... here.
28383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
28384         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
28385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
28386         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
28387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
28388         Moved ...
28389         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
28390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
28391         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
28392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
28393         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
28394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
28395         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
28396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28397         Moved ...
28398         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
28399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28400         Moved ...
28401         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
28402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
28403         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
28404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28405         Moved ...
28406         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
28407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
28408         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
28409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
28410         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
28412 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28414         * timezone/checktab.awk: Update from tzcode 2014e.
28415         * timezone/private.h: Likewise.
28416         * timezone/tzfile.h: Likewise.
28417         * timezone/zdump.c: Likewise.
28418         * timezone/zic.c: Likewise.
28420         * sysdeps/unix/sysv/linux/kernel-features.h
28421         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
28422         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
28423         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
28424         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28425         Remove conditional code.
28427 2014-06-25  Will Newton  <will.newton@linaro.org>
28429         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
28430         (_dl_arm_cap_flags): Add HWCAP2 values.
28431         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
28432         (_DL_HWCAP_COUNT): Increase to 37.
28433         (_DL_HWCAP_LAST): New define.
28434         (_DL_HWCAP2_LAST): New define.
28435         (_dl_procinfo): Add support for printing
28436         AT_HWCAP2 entries.
28437         (_dl_string_hwcap): Use _dl_hwcap_string.
28439 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28443 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28445         * README: Do not mention ports directory.
28447         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
28448         Remove macro.
28449         * sysdeps/unix/sysv/linux/futimes.c: Do not include
28450         <kernel-features.h>.
28451         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
28452         conditional variable definition.
28453         (__futimes): Update comment.
28454         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
28455         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
28457         [BZ #16560]
28458         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
28459         arguments close to 0.
28460         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
28461         Likewise.
28462         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
28463         Likewise.
28464         * math/auto-libm-test-in: Add more tests of exp10.
28465         * math/auto-libm-test-out: Regenerated.
28466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28468         * sysdeps/unix/sysv/linux/kernel-features.h
28469         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
28470         * sysdeps/unix/sysv/linux/readv.c: Do not include
28471         <kernel-features.h>.
28472         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28473         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28474         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28475         unconditional.
28476         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28477         conditional code.
28478         * sysdeps/unix/sysv/linux/writev.c: Do not include
28479         <kernel-features.h>.
28480         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28481         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28482         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28483         unconditional.
28484         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28485         conditional code.
28487 2014-06-25  Will Newton  <will.newton@linaro.org>
28489         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
28490         comment changes throughout the file.  Remove checks
28491         for HAVE_*_H definitions that are not required.
28492         (__gen_tempname): Call abort if an unknown kind value is
28493         passed.
28495 2014-06-25  Andreas Schwab  <schwab@suse.de>
28497         [BZ #17086]
28498         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
28499         scalbln, scalblnf, scalblnl in libc.
28501 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28503         [BZ #17086]
28504         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
28505         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28506         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28508 2014-06-24  Roland McGrath  <roland@hack.frob.com>
28510         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
28511         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
28512         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
28513         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
28514         Update #include.
28515         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
28516         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
28517         Update #include.
28518         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
28519         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
28520         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
28521         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
28522         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
28523         * sysdeps/x86/bits/pthreadtypes.h: ... here.
28524         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
28525         * sysdeps/x86/bits/semaphore.h: ... here.
28526         * sysdeps/x86/nptl/elide.h: Moved ...
28527         * sysdeps/x86/elide.h: ... here.
28528         * sysdeps/x86_64/nptl/Implies: File removed.
28529         * sysdeps/i386/nptl/Implies: File removed.
28531 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
28533         [BZ #16539]
28534         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
28535         return the argument for normal arguments with exponent below -64.
28536         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28537         Likewise.
28538         * math/auto-libm-test-in: Add another test of expm1.
28539         * math/auto-libm-test-out: Regenerated.
28541         [BZ #16287]
28542         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
28543         calling __erfcl for arguments at least 16.
28544         * math/auto-libm-test-in: Add more tests of erf.
28545         * math/auto-libm-test-out: Regenerated.
28547         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
28548         individual architectures.
28549         * sysdeps/unix/sysv/linux/configure: Regenerated.
28550         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
28551         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
28552         * sysdeps/unix/sysv/linux/powerpc/configure.ac
28553         (ldd_rewrite_script): Define variable.
28554         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
28556         file.
28557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
28558         generated file.
28559         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
28560         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
28561         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
28562         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
28563         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
28564         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
28565         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
28566         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
28568 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28570         [BZ #17084]
28571         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
28572         Rename member __data.d to __data.__elision_data.
28574 2014-06-24  Wilco  <wdijkstr@arm.com>
28576         * NEWS: Add 16918 to fixed bug list.
28578 2014-06-24  Wilco  <wdijkstr@arm.com>
28580         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
28582 2014-06-24  Wilco  <wdijkstr@arm.com>
28584         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
28585         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
28586         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
28587         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
28588         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
28589         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
28590         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
28591         Use _FPU_MASK_RM.
28593 2014-06-24  Wilco  <wdijkstr@arm.com>
28595         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
28597 2014-06-24  Wilco  <wdijkstr@arm.com>
28599         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
28600         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
28601         * sysdeps/arm/fesetround.c (fesetround): Remove space.
28602         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
28604 2014-06-24  Wilco  <wdijkstr@arm.com>
28606         [BZ #16918]
28607         * sysdeps/arm/feupdateenv.c (feupdateenv):
28608         Rewrite to reduce FPSCR accesses and fix return value.
28610 2014-06-24  Wilco  <wdijkstr@arm.com>
28612         * sysdeps/arm/fclrexcpt.c (feclearexcept):
28613         Optimize to avoid unnecessary FPSCR writes.
28614         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
28615         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
28616         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
28617         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
28619 2014-06-24  Wilco  <wdijkstr@arm.com>
28621         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
28622         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
28623         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
28624         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
28625         Call libc_fetestexcept_vfp.
28626         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
28627         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
28628         __SOFTFP__ ifdef so that they can be built for softfp.
28630 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28632         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
28633         argument type signed char.
28635         * Makerules (check-abi): Dump diff of symlist if the test
28636         fails.
28638 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28640         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
28641         using abort.
28643         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28644         Remove unused variable ST.
28646 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28648         [BZ #16354]
28649         [BZ #17061]
28650         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
28651         small arguments before calling __expm1.
28652         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
28653         small arguments before calling __expm1f.
28654         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
28655         small arguments before calling __expm1l.
28656         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28657         Likewise.
28658         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
28659         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
28660         spurious underflow for some cosh tests.
28661         * math/auto-libm-test-out: Regenerated.
28662         * sysdeps/i386/fpu/libm-test-ulps: Update.
28664         [BZ #17050]
28665         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
28666         (__ieee754_y1): Set errno if return value overflows.
28667         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
28668         (__ieee754_y1f): Set errno if return value overflows.
28669         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
28670         (__ieee754_y1l): Set errno if return value overflows.
28671         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
28672         (__ieee754_y1l): Set errno if return value overflows.
28673         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
28674         * math/auto-libm-test-out: Regenerated.
28676         * math/gen-auto-libm-tests.c: Document use of
28677         ignore-zero-inf-sign.
28678         (input_flag_type): Add value flag_ignore_zero_inf_sign.
28679         (input_flags): Add ignore-zero-inf-sign.
28680         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
28681         * math/gen-libm-test.pl (generate_testfile): Handle
28682         ignore-zero-inf-sign.
28683         * math/auto-libm-test-in: Mark some cpow tests with
28684         ignore-zero-inf-sign and some with xfail-rounding.
28685         * math/auto-libm-test-out: Regenerated.
28686         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
28687         * sysdeps/i386/fpu/libm-test-ulps: Update.
28688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28690         [BZ #16315]
28691         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
28692         overflowing or underflowing operations take place with sign of
28693         result.
28694         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28695         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28696         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
28697         (__ieee754_pow): Recompute overflowing and underflowing results in
28698         original rounding mode.
28699         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
28700         (__powl_helper): Allow negative argument X and scale negated value
28701         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
28702         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
28703         overflowing or underflowing operations take place with sign of
28704         result.
28705         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
28706         Include <math.h>.
28707         * math/auto-libm-test-in: Add more tests of pow.
28708         * math/auto-libm-test-out: Regenerated.
28709         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
28710         (pow_tonearest_test_data): Remove.
28711         (pow_test_tonearest): Likewise.
28712         (pow_towardzero_test_data): Likewise.
28713         (pow_test_towardzero): Likewise.
28714         (pow_downward_test_data): Likewise.
28715         (pow_test_downward): Likewise.
28716         (pow_upward_test_data): Likewise.
28717         (pow_test_upward): Likewise.
28718         (main): Don't call removed functions.
28719         * sysdeps/i386/fpu/libm-test-ulps: Update.
28720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28722 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
28725         Moved ...
28726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
28727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28728         Moved ...
28729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
28730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28731         Moved ...
28732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
28733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28734         Moved ...
28735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
28736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28737         File removed.
28738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28739         File removed.
28740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
28741         File removed.
28742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
28743         File removed.
28744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
28745         File removed.
28746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
28747         File removed.
28748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
28749         File removed.
28750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28751         File removed.
28752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
28753         File removed.
28754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28755         File removed.
28756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
28757         File removed.
28758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
28759         File removed.
28760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
28761         Moved ...
28762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
28763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
28764         Moved ...
28765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
28766         ... here.
28767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
28768         Moved ...
28769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
28770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
28771         Moved ...
28772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
28773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
28774         Moved ...
28775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
28776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
28777         Moved ...
28778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
28779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
28780         Moved ...
28781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
28782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
28783         Moved ...
28784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
28785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
28786         Moved ...
28787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
28788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
28789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
28790         ... here.
28791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
28792         Moved ...
28793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
28794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28795         Moved ...
28796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
28797         ... here.
28798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
28799         Moved ...
28800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28801         ... here.
28802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28803         Moved ...
28804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28805         ... here.
28806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28807         Moved ...
28808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
28809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28810         Moved ...
28811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
28812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
28813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
28814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28815         Moved ...
28816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
28817         ... here.
28818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28819         Moved ...
28820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
28821         ... here.
28822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28823         Moved ...
28824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
28825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28826         Moved ...
28827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
28828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28829         Moved ...
28830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
28831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28832         Moved ...
28833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
28834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28835         Moved ...
28836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
28837         ... here.
28838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28839         Moved ...
28840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
28841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28842         Moved ...
28843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
28844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28845         Moved ...
28846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
28847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28848         Moved ...
28849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
28850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
28851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
28852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28853         Moved ...
28854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
28855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28856         Moved ...
28857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
28858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28859         Moved ...
28860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
28861         ... here.
28862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28863         Moved ...
28864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
28865         ... here.
28866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28867         Moved ...
28868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
28869         ... here.
28870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28871         Moved ...
28872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
28873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28874         Moved ...
28875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
28876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28877         Moved ...
28878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
28879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28880         Moved ...
28881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
28882         ... here.
28883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28884         Moved ...
28885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
28886         ... here.
28887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28888         Moved ...
28889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
28890         ... here.
28891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28892         Moved ...
28893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
28894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28895         Moved ...
28896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
28898 2014-06-23  Will Newton  <will.newton@linaro.org>
28899             Wilco  <wdijkstr@arm.com>
28901         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
28902         implementation.  Include get-rounding-mode.h.
28903         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
28904         [!libc_feholdsetround_noex_ctx]: Define
28905         libc_feholdsetround_noex_ctx.
28906         [!libc_feholdsetround_noexf_ctx]: Define
28907         libc_feholdsetround_noexf_ctx.
28908         [!libc_feholdsetround_noexl_ctx]: Define
28909         libc_feholdsetround_noexl_ctx.
28910         (libc_feholdsetround_ctx): New function.
28911         (libc_feresetround_ctx): New function.
28912         (libc_feholdsetround_noex_ctx): New function.
28913         (libc_feresetround_noex_ctx): New function.
28915 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28917         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
28918         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
28919         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
28920         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
28921         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
28922         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
28924         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
28925         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
28926         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
28927         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
28928         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
28929         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
28930         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
28931         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
28932         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
28933         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
28934         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
28935         Moved ...
28936         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
28937         ... here.
28938         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
28939         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
28940         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
28941         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
28942         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
28943         Moved ...
28944         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
28945         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
28946         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
28947         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
28948         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
28949         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
28950         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
28951         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
28952         Moved ...
28953         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
28954         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
28955         Moved ...
28956         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
28957         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
28958         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
28959         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
28960         Moved ...
28961         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
28962         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
28963         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
28964         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
28965         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
28966         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
28967         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
28968         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
28969         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
28970         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
28971         Moved ...
28972         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
28973         ... here.
28974         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
28975         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
28976         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
28977         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
28978         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
28979         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
28980         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
28981         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
28982         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
28983         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
28984         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
28985         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
28986         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
28987         Moved ...
28988         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
28989         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
28990         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
28991         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
28992         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
28993         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
28994         Moved ...
28995         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
28996         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
28997         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
28998         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
28999         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
29001         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
29002         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
29003         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
29004         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
29005         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
29006         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
29007         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
29008         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
29009         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
29010         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
29011         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
29012         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
29013         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
29014         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
29015         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
29016         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
29017         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
29018         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
29019         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
29020         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
29021         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
29022         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
29023         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
29024         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
29025         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
29026         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
29027         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
29028         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
29030 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29032         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29033         (FALLOC_FL_COLLAPSE_RANGE): New macro.
29034         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
29035         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
29036         (IPV6_PMTUDISC_INTERFACE): Likewise.
29037         (IPV6_PMTUDISC_OMIT): Likewise.
29039 2014-06-23  Andreas Schwab  <schwab@suse.de>
29041         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
29042         Remove unused errout label.
29044 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29046         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
29047         macro: hardware supports Vector Crypto instructions.
29049 2014-06-23  Will Newton  <will.newton@linaro.org>
29051         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
29052         rather than __builtin_expect.
29054         * elf/dl-lookup.c (undefined_msg): Remove variable.
29055         (_dl_lookup_symbol_x): Replace undefined_msg with string
29056         literal.
29058         * elf/dl-lookup.c (do_lookup_unique): New function.
29059         (do_lookup_x): Move STB_GNU_UNIQUE handling code
29060         to a separate function.
29062 2014-06-23  Andreas Schwab  <schwab@suse.de>
29064         [BZ #17079]
29065         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
29066         before reading the next line.
29068 2014-06-23  Will Newton  <will.newton@linaro.org>
29070         * test-skeleton.c (signal_handler): Use printf and %m
29071         rather than perror.  Use printf rather than fprintf to
29072         stderr.  Use puts rather than fputs to stderr.
29073         (main): Likewise.
29075 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
29077         * nscd/nscd.c (thread_info_t): Remove typedef.
29078         (thread_info): Remove variable.
29080 2014-06-21  Allan McRae  <allan@archlinux.org>
29082         * NEWS: Mention CVE-2014-4043.
29084 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29086         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
29087         * nptl/smp.h: ... here.
29089         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
29091         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
29092         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
29093         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
29094         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
29096         * nptl/allocatestack.c: Include <stack-aliasing.h>.
29097         * nptl/stack-aliasing.h: New file.
29098         * sysdeps/i386/i686/stack-aliasing.h: New file.
29099         * sysdeps/i386/i686/nptl/Makefile: File removed.
29100         * sysdeps/x86_64/stack-aliasing.h: New file.
29101         * sysdeps/x86_64/nptl/Makefile
29102         (CFLAGS-pthread_create.c): Variable removed.
29104         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
29105         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
29106         old file.
29107         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
29108         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
29109         old file.
29111 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
29113         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29114         (__ASSUME_SIGFRAME_V2): Remove macro.
29115         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
29116         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
29117         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
29118         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
29119         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
29120         Declare as function.  Remove conditional macro definitions.
29121         (__default_rt_sa_restorer): Likewise.
29122         (__default_sa_restorer_v1): Remove declaration.
29123         (__default_sa_restorer_v2): Likewise.
29124         (__default_rt_sa_restorer_v1): Likewise.
29125         (__default_rt_sa_restorer_v2): Likewise.
29126         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
29127         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
29128         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
29130 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29132         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
29133         (libpthread-routines): Add sysdep.
29134         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
29135         * sysdeps/unix/sysv/linux/sparc/Versions
29136         (libpthread: GLIBC_2.3.3): New version set.
29137         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
29138         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
29139         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
29140         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
29141         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
29142         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
29143         Moved ...
29144         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
29145         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
29146         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
29147         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
29148         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
29149         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
29150         * sysdeps/sparc/nptl/sem_init.c: ... here.
29151         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
29152         * sysdeps/sparc/nptl/sem_post.c: ... here.
29153         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
29154         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
29155         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
29156         * sysdeps/sparc/nptl/sem_wait.c: ... here.
29157         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
29158         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
29159         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
29160         (libpthread-routines): Add cpu_relax.
29161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
29162         File removed.
29163         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
29164         (librt: GLIBC_2.3.3): New version set.
29165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
29166         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
29167         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
29168         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
29169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
29170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
29171         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
29172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
29173         Moved ...
29174         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
29175         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
29176         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
29177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
29178         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
29179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
29180         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
29181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
29182         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
29183         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
29184         Moved ...
29185         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
29186         Update #include.
29187         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
29188         Moved ...
29189         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
29190         Update #include.
29191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
29192         Moved ...
29193         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
29194         Update #include.
29195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
29196         Moved ...
29197         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
29198         Update #include.
29199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
29200         Moved ...
29201         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
29202         Update #include.
29203         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
29204         Moved ...
29205         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
29206         Update #include.
29207         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
29208         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
29209         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
29210         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
29211         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
29212         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
29213         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
29214         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
29215         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
29216         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
29217         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29218         Moved ...
29219         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
29220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
29221         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
29222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
29223         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
29225 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29227         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
29228         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
29229         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29230         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
29231         * nscd/nscd.c: Likewise.
29232         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
29233         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
29234         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
29235         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
29237         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
29238         <kernel-features.h>.
29239         (init_mq_netlink): Remove conditional have_sock_cloexec
29240         definitions.  Remove code conditional on have_sock_cloexec < 0.
29241         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
29242         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
29243         * sysdeps/unix/sysv/linux/opensock.c: Do not include
29244         <kernel-features.h>.
29245         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
29246         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
29248 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29250         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29251         Add tests for memset_chk and memset.
29253         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
29254         with AVX2_Usable.
29256 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29258         [BZ #16046]
29259         * elf/tst-dl-iter-static.c: New file.
29260         * elf/Makefile (tests-static): Add tst-dl-iter-static.
29262         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
29263         error.
29265 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29267         * sysdeps/unix/sysv/linux/kernel-features.h
29268         (__ASSUME_F_GETOWN_EX): Remove macro.
29269         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
29270         <kernel-features.h>.
29271         (miss_F_GETOWN_EX): Remove variable or macro.
29272         (do_fcntl): Do not check miss_F_GETOWN_EX.
29273         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
29275         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
29276         Remove macro.
29277         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
29278         [!__ASSUME_AT_RANDOM]: Remove conditional code.
29279         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
29281         * sysdeps/unix/sysv/linux/kernel-features.h
29282         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
29283         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
29284         [ADJ_OFFSET_SS_READ]: Make code unconditional.
29285         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
29287 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29289         [BZ #17075]
29290         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
29291         Fix calculation of the symbol's value.
29292         * sysdeps/arm/tst-armtlsdescloc.c: New file.
29293         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
29294         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
29295         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
29296         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
29297         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
29298         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
29299         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
29300         (modules-names): Add `tst-armtlsdescmod',
29301         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
29302         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
29303         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29304         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
29305         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
29306         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29307         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
29308         ($(objpfx)tst-armtlsdescloc): New dependency.
29309         ($(objpfx)tst-armtlsdescextnow): Likewise.
29310         ($(objpfx)tst-armtlsdescextlazy): Likewise.
29311         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
29312         TLS scheme support.
29313         * sysdeps/arm/configure: Regenerate.
29315 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29317         * include/fcntl.h (__atfct_seterrno): Remove prototype.
29318         (__atfct_seterrno_2): Likewise.
29319         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
29320         <kernel-features.h>.
29321         (__ASSUME_ATFCTS): Do not undefine and redefine.
29322         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
29323         (__have_atfcts): Remove conditional definition.
29324         (__fxstatat([__NR_fstatat64]: Make code unconditional.
29325         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
29326         unreachable if [__ASSUME_ATFCTS].
29327         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
29328         not undefine and redefine.
29329         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
29330         <kernel-features.h>.
29331         (faccessat) [__NR_faccessat]: Make code unconditional.
29332         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
29333         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
29334         <kernel-features.h>.
29335         (fchmodat) [__NR_fchmodat]: Make code unconditional.
29336         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29337         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
29338         <kernel-features.h>.
29339         (fchownat) [__NR_fchownat]: Make code unconditional.
29340         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
29341         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
29342         <kernel-features.h>.
29343         (futimesat) [__NR_futimesat]: Make code unconditional.
29344         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
29345         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29346         <kernel-features.h>.
29347         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29348         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29349         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29350         <kernel-features.h>.
29351         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
29352         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29353         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
29354         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29355         <kernel-features.h>.
29356         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
29357         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29358         * sysdeps/unix/sysv/linux/linkat.c: Do not include
29359         <kernel-features.h>.
29360         (linkat) [__NR_linkat]: Make code unconditional.
29361         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29362         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
29363         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
29364         <kernel-features.h>.
29365         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
29366         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29367         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
29368         <kernel-features.h>.
29369         (mkdirat) [__NR_mkdirat]: Make code unconditional.
29370         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
29371         * sysdeps/unix/sysv/linux/openat.c: Do not include
29372         <kernel-features.h>.
29373         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
29374         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
29375         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
29376         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
29377         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
29378         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
29379         <kernel-features.h>.
29380         (readlinkat) [__NR_readlinkat]: Make code unconditional.
29381         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
29382         result of INLINE_SYSCALL directly, not via int variable.
29383         * sysdeps/unix/sysv/linux/renameat.c: Do not include
29384         <kernel-features.h>.
29385         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
29386         (renameat) [__NR_renameat]: Make code unconditional.
29387         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
29388         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
29389         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
29390         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
29391         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
29392         (__ASSUME_ATFCTS): Do not undefine and redefine.
29393         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
29394         <kernel-features.h>.
29395         (symlinkat) [__NR_symlinkat]: Make code unconditional.
29396         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29397         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
29398         <kernel-features.h>.
29399         (unlinkat) [__NR_unlinkat]: Make code unconditional.
29400         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29401         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
29402         (__ASSUME_ATFCTS): Do not undefine and redefine.
29403         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29404         <kernel-features.h>.
29405         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29406         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29407         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29408         <kernel-features.h>.
29409         (__xmknodat) [__NR_mknodat]: Make code unconditional.
29410         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29412 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29414         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
29416 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
29418         [BZ #17069]
29419         * posix/regcomp.c (parse_reg_exp): Deallocate partially
29420         constructed tree before returning error.
29421         * posix/bug-regexp36.c: Expand test case.
29423 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29425         [BZ #6803]
29426         * math/libm-test.inc (scalbln_test_date):
29427         Add errno expectations.
29428         * math/w_scalblnf.c: New File.
29429         Add wrapper which checks for setting errno to ERANGE.
29430         Add weak_alias for corresponding scalbln function.
29431         * math/w_scalbln.c: Likewise.
29432         * math/w_scalblnl.c: Likewise.
29433         * math/Makefile (libm-calls): Add w_scalbln.
29434         * sysdeps/ieee754/flt-32/s_scalblnf.c:
29435         Remove weak_alias for corresponding scalbln function.
29436         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29437         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29438         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29439         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29440         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
29441         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29442         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
29443         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29444         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
29445         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
29446         Remove long_double_symbol for scalblnl function in libm, libc.
29447         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
29448         Add wrapper which checks for setting errno to ERANGE.
29449         Add long_double_symbol for scalblnl function in libm, libc.
29450         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
29451         Remove long_double_symbol for scalblnl in libm.
29452         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
29453         Add wrapper which checks for setting errno to ERANGE.
29454         Add long_double_symbol for scalblnl function in libm.
29455         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
29456         Do not use wrapper because of own implementation.
29458 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
29460         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
29461         3 bytes for __pad1 for x32.
29462         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
29464 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
29465             H.J. Lu  <hongjiu.lu@intel.com>
29467         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
29468         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
29469         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29470         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29471         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29473 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
29475         [BZ #17069]
29476         * posix/regcomp.c (parse_expression): Deallocate partially
29477         constructed tree before returning error.
29478         * posix/Makefile.c (tests): Add bug-regex36.
29479         (generated): Add bug-regex36.mtrace.
29480         (tests-special): Add $(objpfx)bug-regex36-mem.out
29481         (bug-regex36-ENV): New variable.
29482         ($(objpfx)bug-regex36-mem.out): New rule.
29483         * posix/bug-regex36.c: New file.
29485 2014-06-19  Will Newton  <will.newton@linaro.org>
29487         * malloc/malloc.c (systrim): If extra is zero then return
29488         early.
29490 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29492         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
29494 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
29496         * sysdeps/aarch64/strchr.S: New file.
29498 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29500         [BZ #17022]
29501         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
29502         from arguments -2 or below.
29503         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29504         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
29506 2014-06-18  Andreas Schwab  <schwab@suse.de>
29508         [BZ #17062]
29509         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
29510         of a bracket expr not to run off the end of the string.
29511         * posix/Makefile (tests): Add tst-fnmatch3.
29512         * posix/tst-fnmatch3.c: New file.
29514 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29516         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
29517         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29518         [$(cross-compiling) = no]: Likewise.
29519         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29520         [$(cross-compiling) = no]: Likewise.
29522 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29524         [BZ #17031]
29525         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
29526         double, adjusted for any remainder from the high double.
29527         * math/libm-test.inc (nearbyint): Add tests.
29528         (rint): Likewise.
29530 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29532         * nptl/sysdeps/powerpc/Makefile: Moved ...
29533         * sysdeps/powerpc/nptl/Makefile: ... here.
29534         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
29535         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
29536         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
29537         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
29538         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
29539         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
29540         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
29541         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
29542         * nptl/sysdeps/powerpc/tls.h: Moved ...
29543         * sysdeps/powerpc/nptl/tls.h: ... here.
29545 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
29547         [BZ #16681]
29548         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
29549         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
29550         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
29551         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
29552         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
29553         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
29554         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
29555         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
29556         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
29558 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
29560         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29562 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
29564         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
29565         defined operator.
29567         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
29568         $TIMEOUTFACTOR.
29570 2014-06-16  Florian Weimer  <fweimer@redhat.com>
29572         [BZ #17058]
29573         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
29574         non-executed part of the test.
29576 2014-06-16  Andreas Schwab  <schwab@suse.de>
29578         * string/bits/string2.h (strdup, strndup): Update feature guard.
29580 2014-06-14  David S. Miller  <davem@davemloft.net>
29582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29584 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
29586         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
29587         that was previously under [RESET_PID].
29588         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
29590         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
29591         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
29592         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
29593         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29594         (__libc_vfork): New strong alias.
29595         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
29597 2014-06-14 Andi Kleen  <ak@linux.intel.com>
29599         * sysdeps/generic/elide.h: New file.
29601 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29603         * Makefile (installed-headers): Adjust path of pthread.h header.
29605 2014-06-13  Roland McGrath  <roland@hack.frob.com>
29607         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
29608         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
29609         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
29610         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
29612         * nptl/sysdeps/s390/Makefile: Moved ...
29613         * sysdeps/s390/nptl/Makefile: ... here.
29614         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
29615         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
29616         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
29617         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
29618         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
29619         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
29620         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
29621         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
29622         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
29623         * sysdeps/s390/nptl/pthreaddef.h: ... here.
29624         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
29625         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
29626         * nptl/sysdeps/s390/tls.h: Moved ...
29627         * sysdeps/s390/nptl/tls.h: ... here.
29629         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
29630         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
29632 2014-06-13  David S. Miller  <davem@davemloft.net>
29634         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
29635         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
29636         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
29637         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
29638         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
29639         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
29640         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
29641         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
29642         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
29643         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
29644         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
29645         Remove RESET_PID cpp guards.
29646         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
29647         Remove RESET_PID cpp guards.
29648         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
29650 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
29652         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
29653         __sp to uintptr_t.
29655 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29657         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
29658         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
29659         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
29660         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
29661         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
29662         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
29663         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
29664         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
29665         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
29666         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
29667         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
29668         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
29669         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
29670         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
29671         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
29672         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
29673         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
29674         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
29675         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
29676         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
29678         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
29679         (pthread_rwlock_rdlock): Add elision.
29680         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
29681         (pthread_rwlock_wrlock): Add elision.
29682         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
29683         (pthread_rwlock_trywrlock): Add elision.
29684         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
29685         (pthread_rwlock_tryrdlock): Add elision.
29686         * nptl/pthread_rwlock_unlock.c: Include elide.h.
29687         (pthread_rwlock_tryrdlock): Add elision unlock.
29688         * nptl/sysdeps/pthread/pthread.h:
29689         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
29690         (PTHREAD_RWLOCK_INITIALIZER,
29691         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
29692         Handle new elision field.
29693         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
29694         * sysdeps/arm/nptl/bits/pthreadtypes.h
29695         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29696         * sysdeps/sh/nptl/bits/pthreadtypes.h
29697         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29698         * sysdeps/tile/nptl/bits/pthreadtypes.h
29699         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29700         * sysdeps/a/nptl/bits/pthreadtypes.h
29701         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29702         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29703         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29704         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29705         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29706         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
29707         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29708         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29709         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29710         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29711         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29712         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29713         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29714         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29715         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29716         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
29717         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29718         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
29719         (elision_init): Set try_xbegin to zero when no RTM.
29720         * sysdeps/x86/nptl/bits/pthreadtypes.h
29721         (pthread_rwlock_t): Change __pad1 to __rwelision.
29722         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29724 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29726         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
29727         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
29728         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
29729         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
29731 2014-06-13  Meador Inge  <meadori@codesourcery.com>
29733         [BZ #16996]
29734         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
29735         that the cached result has been set before returning it.
29737 2014-06-12  Roland McGrath  <roland@hack.frob.com>
29739         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
29740         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
29741         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
29742         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
29743         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
29744         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
29746         * nptl/sysdeps/sparc/Makefile: Moved ...
29747         * sysdeps/sparc/nptl/Makefile: ... here.
29748         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
29749         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
29750         * nptl/sysdeps/sparc/tls.h: Moved ...
29751         * sysdeps/sparc/nptl/tls.h: ... here.
29752         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
29753         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
29754         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
29755         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
29756         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
29757         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
29758         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
29759         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
29760         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
29761         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
29762         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
29763         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
29764         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
29765         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
29766         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
29767         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
29768         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
29769         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
29770         Update #include.
29771         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
29772         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
29773         Update #include.
29774         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
29775         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
29776         Update #include.
29777         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
29778         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
29779         Update #include.
29781         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29783         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
29784         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
29786         * sysdeps/pthread/posix-timer.h: Include <list.h>.
29787         (struct list_links): Type removed.
29788         (struct thread_node, struct timer_node): Replace struct list_links
29789         with struct list_head.
29790         (list_unlink_ip): Likewise.
29791         * sysdeps/pthread/timer_routines.c
29792         (timer_free_list, thread_free_list, thread_active_list): Likewise.
29793         (list_append, list_insbefore): Likewise.
29794         (list_init): Function removed.
29795         (thread_init, init_module): Use INIT_LIST_HEAD instead.
29796         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
29797         * sysdeps/pthread/Makefile: ... here, new file.
29799         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
29800         * sysdeps/nptl/Implies: ... here.
29801         * sysdeps/unix/sysv/linux/Implies: Add nptl.
29802         * nptl/sysdeps/pthread/list.h: Moved ...
29803         * include/list.h: ... here.
29804         * nptl/sysdeps/pthread/createthread.c: Moved ...
29805         * nptl/createthread.c: ... here.
29806         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
29807         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
29808         * nptl/pt-longjmp.c: ... here.
29809         * nptl/sysdeps/pthread/Makefile: Moved ...
29810         * sysdeps/nptl/Makefile: ... here.
29811         * nptl/sysdeps/pthread/Subdirs: Moved ...
29812         * sysdeps/nptl/Subdirs: ... here.
29813         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
29814         * sysdeps/nptl/aio_misc.h: ... here.
29815         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
29816         * sysdeps/nptl/bits/libc-lock.h: ... here.
29817         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
29818         * sysdeps/nptl/bits/libc-lockP.h: ... here.
29819         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
29820         * sysdeps/nptl/bits/stdio-lock.h: ... here.
29821         * nptl/sysdeps/pthread/configure: Moved ...
29822         * sysdeps/nptl/configure: ... here.
29823         * nptl/sysdeps/pthread/configure.ac: Moved ...
29824         * sysdeps/nptl/configure.ac: ... here.
29825         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
29826         * sysdeps/nptl/gai_misc.h: ... here.
29827         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
29828         * sysdeps/nptl/librt-cancellation.c: ... here.
29829         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
29830         * sysdeps/nptl/malloc-machine.h: ... here.
29831         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
29832         * sysdeps/nptl/pthread-functions.h: ... here.
29833         * nptl/sysdeps/pthread/pthread.h: Moved ...
29834         * sysdeps/nptl/pthread.h: ... here.
29835         * nptl/sysdeps/pthread/setxid.h: Moved ...
29836         * sysdeps/nptl/setxid.h: ... here.
29837         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
29838         * sysdeps/nptl/sigfillset.c: ... here.
29839         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
29840         * sysdeps/nptl/tcb-offsets.h: ... here.
29841         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
29842         * sysdeps/nptl/tst-mqueue8x.c: ... here.
29843         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
29844         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
29845         * nptl/sysdeps/pthread/allocalim.h: Moved ...
29846         * sysdeps/pthread/allocalim.h: ... here.
29847         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
29848         * sysdeps/pthread/bits/sigthread.h: ... here.
29849         * nptl/sysdeps/pthread/flockfile.c: Moved ...
29850         * sysdeps/pthread/flockfile.c: ... here.
29851         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
29852         * sysdeps/pthread/ftrylockfile.c: ... here.
29853         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
29854         * sysdeps/pthread/funlockfile.c: ... here.
29855         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
29856         * sysdeps/pthread/posix-timer.h: ... here.
29857         * nptl/sysdeps/pthread/timer_create.c: Moved ...
29858         * sysdeps/pthread/timer_create.c: ... here.
29859         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
29860         * sysdeps/pthread/timer_delete.c: ... here.
29861         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
29862         * sysdeps/pthread/timer_getoverr.c: ... here.
29863         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
29864         * sysdeps/pthread/timer_gettime.c: ... here.
29865         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
29866         * sysdeps/pthread/timer_routines.c: ... here.
29867         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
29868         * sysdeps/pthread/timer_settime.c: ... here.
29869         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
29870         * sysdeps/pthread/tst-timer.c: ... here.
29871         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
29872         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
29874         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
29875         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
29877         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
29878         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
29879         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
29880         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
29881         Update #include target.
29882         * nptl/sysdeps/i386/i686/Makefile: Moved ...
29883         * sysdeps/i386/i686/nptl/Makefile: ... here.
29884         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
29885         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
29886         Update #include target.
29887         * nptl/sysdeps/i386/i686/tls.h: Moved ...
29888         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
29889         * nptl/sysdeps/i386/Makefile: Moved ...
29890         * sysdeps/i386/nptl/Makefile: ... here.
29891         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
29892         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
29893         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
29894         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
29895         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
29896         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
29897         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
29898         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
29899         * sysdeps/i386/nptl/pthreaddef.h: ... here.
29900         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
29901         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
29902         * nptl/sysdeps/i386/tls.h: Moved ...
29903         * sysdeps/i386/nptl/tls.h: ... here.
29905         * sysdeps/sh/Makefile [$(subdir) = csu]
29906         (gen-as-const-headers): Add tcb-offsets.sym.
29907         * nptl/sysdeps/sh/Makefile: File removed.
29908         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
29909         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
29910         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
29911         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
29912         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
29913         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
29914         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
29915         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
29916         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
29917         * sysdeps/sh/nptl/pthreaddef.h: ... here.
29918         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
29919         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
29920         * nptl/sysdeps/sh/tls.h: Moved ...
29921         * sysdeps/sh/nptl/tls.h: ... here.
29922         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
29923         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
29924         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
29925         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
29926         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
29927         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
29928         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
29929         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
29930         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
29931         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
29932         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
29933         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
29934         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
29935         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
29936         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
29937         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
29938         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
29939         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
29940         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
29941         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
29942         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
29943         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
29944         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
29945         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
29946         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
29947         Moved ...
29948         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
29949         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
29950         Moved ...
29951         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
29952         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
29953         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
29954         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
29955         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
29956         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
29957         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
29958         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
29959         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
29960         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
29961         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
29962         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
29963         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
29964         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
29965         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
29966         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
29967         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
29968         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
29969         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
29971 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29973         * posix/spawn_faction_addopen.c: Include string.h.
29975 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29977         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
29978         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
29979         * nptl/sysdeps/x86_64/Makefile: Moved ...
29980         * sysdeps/x86_64/nptl/Makefile: ... here.
29981         * nptl/sysdeps/x86_64/configure: Moved ...
29982         * sysdeps/x86_64/nptl/configure: ... here.
29983         * nptl/sysdeps/x86_64/configure.ac: Moved ...
29984         * sysdeps/x86_64/nptl/configure.ac: ... here.
29985         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
29986         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
29987         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
29988         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
29989         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
29990         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
29991         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
29992         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
29993         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
29994         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
29995         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
29996         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
29997         * nptl/sysdeps/x86_64/tls.h: Moved ...
29998         * sysdeps/x86_64/nptl/tls.h: ... here.
29999         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
30000         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
30001         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
30002         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
30004         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
30006 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30010 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
30012         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
30013         type.
30014         [POSIX] (off_t): Likewise.
30015         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
30016         [POSIX] (S_ISBLK): Require macro.
30017         [POSIX] (S_ISCHR): Likewise.
30018         [POSIX] (S_ISDIR): Likewise.
30019         [POSIX] (S_ISFIFO): Likewise.
30020         [POSIX] (S_ISREG): Likewise.
30021         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
30022         optional-macro.
30023         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
30024         type.
30025         [POSIX] (time_t): Likewise.
30026         [POSIX] (timer_t): Likewise.
30028 2014-06-11  Florian Weimer  <fweimer@redhat.com>
30030         [BZ #17048]
30031         * posix/spawn_int.h (struct __spawn_action): Make the path string
30032         non-const to support deallocation.
30033         * posix/spawn_faction_addopen.c
30034         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
30035         * posix/spawn_faction_destroy.c
30036         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
30037         path in all spawn_do_open actions.
30038         * posix/tst-spawn.c (do_test): Exercise the copy operation in
30039         posix_spawn_file_actions_addopen.
30041 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
30043         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
30044         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
30045         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
30046         conditional code always true.
30047         (__libc_vfork): New alias.
30049 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30051         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30052         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
30054         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
30056         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30057         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
30059         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30060         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
30062         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30063         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
30065 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30067         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
30068         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
30069         multiarch strcmp for PPC64.
30070         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
30071         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
30072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
30073         multiarch optimizations.
30074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30075         (__libc_ifunc_impl_list): Likewise.
30077 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30079         * benchtests/scripts/validate_benchout.py: New script.
30080         * benchtests/Makefile (bench-func): Call it.
30081         * benchtests/scripts/benchout.schema.json: New file.
30083 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
30085         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
30086         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
30087         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
30088         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
30089         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
30090         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
30091         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
30092         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
30093         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
30094         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
30095         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
30096         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
30097         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
30098         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
30099         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
30100         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
30101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
30102         Moved ...
30103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
30104         ... here.
30105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
30106         Moved ...
30107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
30108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
30109         Moved ...
30110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
30111         ... here.
30112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
30113         Moved ...
30114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
30115         ... here.
30116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
30117         Moved ...
30118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
30119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
30120         Moved ...
30121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
30122         ... here.
30123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
30124         Moved ...
30125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
30126         ... here.
30127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
30128         Moved ...
30129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
30130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
30131         Moved ...
30132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
30133         ... here.
30134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
30135         Moved ...
30136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
30137         ... here.
30138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
30139         Moved ...
30140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
30141         ... here.
30142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
30143         Moved ...
30144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
30145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
30146         Moved ...
30147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
30148         ... here.
30149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
30150         Moved ...
30151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
30152         ... here.
30153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
30154         Moved ...
30155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
30156         ... here.
30157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
30158         Moved ...
30159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
30160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
30161         Moved ...
30162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
30163         ... here.
30164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
30165         Moved ...
30166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
30167         ... here.
30168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
30169         Moved ...
30170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
30171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
30172         Moved ...
30173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
30174         ... here.
30175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
30176         Moved ...
30177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
30178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
30179         Moved ...
30180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
30181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
30182         Moved ...
30183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
30184         ... here.
30185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
30186         Moved ...
30187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
30188         ... here.
30189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
30190         Moved ...
30191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
30192         ... here.
30193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
30194         Moved ...
30195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
30196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
30197         Moved ...
30198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
30199         ... here.
30200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
30201         Moved ...
30202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
30203         ... here.
30204         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
30205         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
30206         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
30207         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
30208         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
30209         Moved ...
30210         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
30211         ... here.
30212         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
30213         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
30214         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
30215         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
30216         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
30217         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
30218         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
30219         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
30220         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
30221         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
30222         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
30223         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
30224         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
30225         Moved ...
30226         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
30227         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
30228         Moved ...
30229         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
30230         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
30231         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
30232         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
30233         Moved ...
30234         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
30235         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
30236         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
30237         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
30238         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
30239         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
30240         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
30242 2014-06-10  Wilco  <wdijkstr@arm.com>
30244         * math/test-fenv-return.c: New file.
30245         * math/Makefile: Add new test test-fenv-return.
30247 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
30249         [BZ #17042]
30250         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
30251         when x - 1 is zero.
30252         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
30253         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
30254         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
30255         0.0L for an argument of 1.0L.
30256         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
30257         Likewise.
30258         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
30259         value when x - 1 is zero.
30260         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
30261         * sysdeps/i386/fpu/libm-test-ulps: Update.
30262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30264 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
30266         [BZ #15119]
30267         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
30269 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30271         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
30272         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
30274 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30276         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30277         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
30279         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30280         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
30282         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30283         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
30285         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30286         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
30288         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
30289         if not already defined.
30290         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
30291         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
30292         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30293         (TLS_INIT_TP): Use it.
30294         (TLS_DEFINE_INIT_TP): New macro.
30295         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
30297 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
30299         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
30300         constant.
30301         [POSIX] (IXANY): Likewise.
30302         [POSIX] (OLCUC): Likewise.
30303         [POSIX || POSIX2008] (CBAUD): Do not allow.
30304         [POSIX || POSIX2008] (DEFECHO): Likewise.
30305         [POSIX || POSIX2008] (ECHOCTL): Likewise.
30306         [POSIX || POSIX2008] (ECHOKE): Likewise.
30307         [POSIX || POSIX2008] (ECHOPRT): Likewise.
30308         [POSIX || POSIX2008] (EXTA): Likewise.
30309         [POSIX || POSIX2008] (EXTB): Likewise.
30310         [POSIX || POSIX2008] (FLUSHO): Likewise.
30311         [POSIX || POSIX2008] (LOBLK): Likewise.
30312         [POSIX || POSIX2008] (PENDIN): Likewise.
30313         [POSIX || POSIX2008] (SWTCH): Likewise.
30314         [POSIX || POSIX2008] (VDISCARD): Likewise.
30315         [POSIX || POSIX2008] (VDSUSP): Likewise.
30316         [POSIX || POSIX2008] (VLNEXT): Likewise.
30317         [POSIX || POSIX2008] (VREPRINT): Likewise.
30318         [POSIX || POSIX2008] (VSTATUS): Likewise.
30319         [POSIX || POSIX2008] (VWERASE): Likewise.
30320         (B*): Change to B[0123456789]*.
30321         * conform/data/time.h-data [POSIX || UNIX98]
30322         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
30323         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30324         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
30325         [POSIX] (tm_*): Do not allow.
30327 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
30329         * Makefile (install): Don't set LANGUAGE.
30330         * Makefile.in (install): Likewise.
30331         * assert/Makefile (test-assert-ENV): Remove variable.
30332         (test-assert-perr-ENV): Likewise.
30333         * elf/Makefile (neededtest4-ENV): Likewise.
30334         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30335         [$(cross-compiling) = no]: Don't set LANGUAGE.
30336         * io/ftwtest-sh (LANG): Remove variable.
30337         * libio/Makefile (tst-widetext-ENV): Likewise.
30338         * manual/install.texi (Running make install): Don't refer to
30339         environment settings for make install.
30340         * INSTALL: Regenerated.
30341         * nptl/tst-tls6.sh: Don't set LANG.
30342         * posix/globtest.sh (LANG): Remove variable.
30343         * string/Makefile (tester-ENV): Likewise.
30344         (inl-tester-ENV): Likewise.
30345         (noinl-tester-ENV): Likewise.
30346         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30347         [$(cross-compiling) = no]: Don't set LANGUAGE.
30348         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
30349         without explicit environment settings.
30351 2014-06-06  Roland McGrath  <roland@hack.frob.com>
30353         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
30354         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
30355         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
30356         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
30358 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
30360         * crypt/crypt-private.h [DOS]: Add some includes taken from the
30361         other files in the crypt directory.
30362         * crypt/crypt.c: Remove duplicate includes.
30363         * crypt/crypt-entry.c: Likewise.
30364         * crypt/crypt_util.c: Likewise.
30366 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
30368         * Makeconfig (run-program-env): New variable.
30369         (run-program-prefix-before-env): Likewise.
30370         (run-program-prefix-after-env): Likewise.
30371         (run-program-prefix): Define in terms of new variables.
30372         (built-program-cmd-before-env): New variable.
30373         (built-program-cmd-after-env): Likewise.
30374         (built-program-cmd): Define in terms of new variables.
30375         (test-program-prefix-before-env): New variable.
30376         (test-program-prefix-after-env): Likewise.
30377         (test-program-prefix): Define in terms of new variables.
30378         (test-program-cmd-before-env): New variable.
30379         (test-program-cmd-after-env): Likewise.
30380         (test-program-cmd): Define in terms of new variables.
30381         * Rules (make-test-out): Use $(run-program-env).
30382         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
30383         (help): Do not mention environment variables.  Mention
30384         --timeoutfactor option.
30385         (timeoutfactor): New variable.
30386         (blacklist_exports): Remove function.
30387         (exports): Remove variable.
30388         (command): Do not include ${exports}.
30389         * manual/install.texi (Configuring and compiling): Do not mention
30390         test wrappers preserving environment variables.  Mention that last
30391         assignment to a variable must take precedence.
30392         * INSTALL: Regenerated.
30393         * benchtests/Makefile (run-bench): Use $(run-program-env).
30394         * catgets/Makefile ($(objpfx)test1.cat): Use
30395         $(built-program-cmd-before-env), $(run-program-env) and
30396         $(built-program-cmd-after-env).
30397         ($(objpfx)test2.cat): Do not specify environment variables
30398         explicitly.
30399         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
30400         $(run-program-env) and $(built-program-cmd-after-env).
30401         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
30402         $(run-program-env) and $(test-program-cmd-after-env).
30403         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
30404         explicitly.
30405         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
30406         run_program_env and test_program_cmd_after_env arguments.
30407         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
30408         * elf/tst-pathopt.sh: Use run_program_env argument.
30409         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
30410         $(test-wrapper-env) and $(run-program-env).
30411         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
30412         run_program_env arguments.
30413         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
30414         * intl/Makefile ($(objpfx)tst-gettext.out): Use
30415         $(test-program-prefix-before-env), $(run-program-env) and
30416         $(test-program-prefix-after-env).
30417         ($(objpfx)tst-gettext2.out): Likewise.
30418         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
30419         run_program_env and test_program_prefix_after_env arguments.
30420         * intl/tst-gettext2.sh: Likewise.
30421         * intl/tst-gettext4.sh: Do not set environment variables
30422         explicitly.
30423         * intl/tst-gettext6.sh: Likewise.
30424         * intl/tst-translit.sh: Likewise.
30425         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
30426         $(test-program-prefix-before-env), $(run-program-env) and
30427         $(test-program-prefix-after-env).
30428         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
30429         run_program_env and test_program_prefix_after_env arguments.
30430         * math/Makefile (run-regen-ulps): Use $(run-program-env).
30431         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
30432         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
30433         explicitly with each use of ${test_wrapper_env}.
30434         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
30435         $(test-program-prefix-before-env), $(run-program-env) and
30436         $(test-program-prefix-after-env).
30437         * posix/tst-getconf.sh: Do not set environment variables
30438         explicitly.
30439         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
30440         run_program_env and test_program_prefix_after_env arguments.
30441         * stdio-common/tst-printf.sh: Do not set environment variables
30442         explicitly.
30443         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
30444         $(test-program-prefix-before-env), $(run-program-env) and
30445         $(test-program-prefix-after-env).
30446         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
30447         run_program_env and test_program_prefix_after_env arguments.
30448         Split $test calls into $test_pre and $test.
30449         * timezone/Makefile (build-testdata): Use
30450         $(built-program-cmd-before-env), $(run-program-env) and
30451         $(built-program-cmd-after-env).
30453 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30455         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
30456         strlen for non SHARED builds.
30458 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30460         * nptl/allocatestack.c (check_list): Inlined function...
30461         (__reclaim_stacks): ... here.
30463 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30465         [BZ #15698]
30466         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30467         memory overrun.
30469 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
30471         * Rules (make-test-out): Include
30472         LOCPATH=$(common-objpfx)localedata in default environment.
30473         * debug/Makefile (tst-chk1-ENV): Remove variable.
30474         (tst-chk2-ENV): Likewise.
30475         (tst-chk3-ENV): Likewise.
30476         (tst-chk4-ENV): Likewise.
30477         (tst-chk5-ENV): Likewise.
30478         (tst-chk6-ENV): Likewise.
30479         (tst-lfschk1-ENV): Likewise.
30480         (tst-lfschk2-ENV): Likewise.
30481         (tst-lfschk3-ENV): Likewise.
30482         (tst-lfschk4-ENV): Likewise.
30483         (tst-lfschk5-ENV): Likewise.
30484         (tst-lfschk6-ENV): Likewise.
30485         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
30486         (tst-iconv7-ENV): Likewise.
30487         * intl/Makefile (LOCPATH-ENV): Likewise.
30488         (tst-codeset-ENV): Likewise.
30489         (tst-gettext3-ENV): Likewise.
30490         (tst-gettext5-ENV): Likewise.
30491         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
30492         (tst-fopenloc-ENV): Likewise.
30493         (tst-fgetws-ENV): Remove variable.
30494         (tst-ungetwc1-ENV): Likewise.
30495         (tst-ungetwc2-ENV): Likewise.
30496         (bug-ungetwc2-ENV): Likewise.
30497         (tst-swscanf-ENV): Likewise.
30498         (bug-ftell-ENV): Likewise.
30499         (tst-fgetwc-ENV): Likewise.
30500         (tst-fseek-ENV): Likewise.
30501         (tst-ftell-partial-wide-ENV): Likewise.
30502         (tst-ftell-active-handler-ENV): Likewise.
30503         (tst-ftell-append-ENV): Likewise.
30504         * posix/Makefile (tst-fnmatch-ENV): Likewise.
30505         (tst-regexloc-ENV): Likewise.
30506         (bug-regex1-ENV): Likewise.
30507         (tst-regex-ENV): Likewise.
30508         (tst-regex2-ENV): Likewise.
30509         (bug-regex5-ENV): Likewise.
30510         (bug-regex6-ENV): Likewise.
30511         (bug-regex17-ENV): Likewise.
30512         (bug-regex18-ENV): Likewise.
30513         (bug-regex19-ENV): Likewise.
30514         (bug-regex20-ENV): Likewise.
30515         (bug-regex22-ENV): Likewise.
30516         (bug-regex23-ENV): Likewise.
30517         (bug-regex25-ENV): Likewise.
30518         (bug-regex26-ENV): Likewise.
30519         (bug-regex30-ENV): Likewise.
30520         (bug-regex32-ENV): Likewise.
30521         (bug-regex33-ENV): Likewise.
30522         (bug-regex34-ENV): Likewise.
30523         (bug-regex35-ENV): Likewise.
30524         (tst-rxspencer-ENV): Likewise.
30525         (tst-rxspencer-no-utf8-ENV): Likewise.
30526         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
30527         (tst-sscanf-ENV): Likewise.
30528         (tst-swprintf-ENV): Likewise.
30529         (tst-swscanf-ENV): Likewise.
30530         (test-vfprintf-ENV): Likewise.
30531         (scanf13-ENV): Likewise.
30532         (bug14-ENV): Likewise.
30533         (tst-grouping-ENV): Likewise.
30534         * stdlib/Makefile (tst-strtod-ENV): Likewise.
30535         (tst-strtod3-ENV): Likewise.
30536         (tst-strtod4-ENV): Likewise.
30537         (tst-strtod5-ENV): Likewise.
30538         (testmb2-ENV): Likewise./
30539         * string/Makefile (tst-strxfrm-ENV): Likewise.
30540         (tst-strxfrm2-ENV): Likewise.
30541         (bug-strcoll1-ENV): Likewise.
30542         (test-strcasecmp-ENV): Likewise.
30543         (test-strncasecmp-ENV): Likewise.
30544         * time/Makefile (tst-strptime-ENV): Likewise.
30545         (tst-ftime_l-ENV): Likewise.
30546         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
30547         (tst-mbrtowc-ENV): Likewise.
30548         (tst-wcrtomb-ENV): Likewise.
30549         (tst-mbrtowc2-ENV): Likewise.
30550         (tst-c16c32-1-ENV): Likewise.
30551         (tst-mbsnrtowcs-ENV): Likewise.
30553 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30555         * manual/resource.texi (How to get information about the memory
30556         subsystem?): Fix typo.
30557         Reported by Peon de la Parra Ivan <peon@keba.com>
30559 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
30561         [BZ #16882]
30562         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
30563         (pthread_spin_lock): Branch out of spin loop to proper location.
30564         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
30565         (pthread_spin_lock): Likewise.
30567         * nptl/tst-spin4.c: New test.
30568         * nptl/Makefile (tests): Add tst-spin4.
30570 2014-06-03  Andreas Schwab  <schwab@suse.de>
30572         [BZ #15946]
30573         * resolv/res_send.c (send_dg): Reload file descriptor after
30574         calling reopen.
30576 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
30578         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30580 2014-06-03  Richard Henderson  <rth@redhat.com>
30582         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
30583         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
30584         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
30585         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
30586         in the SAVE_PID block.
30587         (__libc_vfork): New alias.
30588         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
30590         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
30591         child in registers, not on the stack.  Remove RESET_PID conditionals.
30592         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
30594 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30596         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30598 2014-06-03  Wilco  <wdijkstr@arm.com>
30600         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
30601         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
30602         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30603         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
30604         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
30605         Likewise.
30607 2014-06-03  Wilco  <wdijkstr@arm.com>
30609         * sysdeps/aarch64/fpu/math_private.h
30610         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
30611         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
30612         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
30613         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30614         Fix declarations.
30616 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30618         * crypt/crypt-private.h: Include ufc-crypt.h.
30619         (__b64_from_24bit): Declare extern.
30620         * crypt/crypt_util.c(__b64_from_24bit): New function.
30621         (b64t): New static const variable.
30622         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
30623         (b64t): Remove variable.
30624         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
30625         * crypt/sha256-crypt.c: Include crypt-private.h.
30626         (b64t): Remove variable.
30627         (__sha256_crypt_r): Remove b64_from_24bit and replace
30628         with __b64_from_24bit.
30629         * crypt/sha512-crypt.c: Likewise.
30631 2014-06-02  Roland McGrath  <roland@hack.frob.com>
30633         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
30634         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
30635         Label the code __libc_vfork rather than __vfork.
30636         [!NOT_IN_libc] (vfork): Define as weak alias.
30637         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
30638         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
30639         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
30641 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30643         * malloc/malloc.c (malloc_info): Fix format specifier for
30644         n_mmaps.
30646 2014-06-02  Wilco  <wdijkstr@arm.com>
30648         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
30649         FPCR write.
30651 2014-06-02  Wilco  <wdijkstr@arm.com>
30653         [BZ #17009]
30654         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
30655         Rewrite to reduce FPCR/FPSR accesses.
30657 2014-06-01  David S. Miller  <davem@davemloft.net>
30659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30661 2014-05-31  David S. Miller  <davem@davemloft.net>
30663         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
30664         to occur in round to nearest mode when |x| >= 2.0
30666 2014-05-30  Richard Henderson  <rth@twiddle.net>
30668         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
30669         (PSEUDO_RET_NOERRNO): Remove.
30670         (ret): Don't redefine.
30671         (ret_NOERRNO): Define in terms of ret.
30672         (ret_ERRVAL): Likewise.
30674         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
30675         use of PSEUDO_RET; perform the error check directly.
30677 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
30679         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
30680         with __int128_t.
30682 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30684         * malloc/malloc (malloc_info): Fix formatting.
30686 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30687             Roland McGrath  <roland@hack.frob.com>
30689         * malloc/malloc (malloc_info): Also print mmapped statistics.
30691 2014-05-30  Roland McGrath  <roland@hack.frob.com>
30693         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
30694         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
30696 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
30698         * malloc/malloc.c (malloc_info): Inline mi_arena.
30700 2014-05-29  Richard Henderson  <rth@twiddle.net>
30702         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
30703         Remove comma before expanding ASM_ARGS_##nr.
30704         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
30705         Make _x0 a strict output; make _x8 a strict input; adjust expansion
30706         of ASM_ARGS_##nr.
30707         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
30708         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
30709         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
30710         (ASM_ARGS_1): Add leading comma.
30712         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
30713         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
30714         to __errno_location.
30715         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
30716         Remove the expected plt for __errno_location.
30718         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30719         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
30720         call to __read_tp.
30722         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30723         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
30724         it and break it down.
30725         (DOCARGS_0, DOCARGS_1): Do nothing.
30726         (DOCARGS_2): Update to store into the new stack frame.
30727         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
30728         (UNDOCARGS_1): Update to restore from the new stack frame.
30729         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
30730         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
30732         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30733         (SINGLE_THREAD_P): New parameter for result regno.
30734         (PSEUDO): Update to match; use cbz instead of beq.
30736         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30737         Use ENTRY to define the _nocancel entry point.  Share the syscall
30738         and syscall error check paths with the cancel path.
30739         (PSEUDO_END): New.
30741         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
30742         whitespace; tabs before and after asm mnemonics.
30744 2014-05-29  Eric Wong  <normalperson@yhbt.net>
30746         [BZ #15132]
30747         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30748         Call fstat64 or stat64 internally, depending on arguments passed.
30749         Replace stat buffer argument with file descriptor argument.
30750         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
30751         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30752         Pass fd to __internal_statvfs instead of calling fstat64.
30753         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
30754         Pass fd to __internal_statvfs64 instead of calling fstat64.
30755         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
30756         Pass -1 to __internal_statvfs instead of calling stat64.
30757         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
30758         Pass -1 to __internal_statvfs64 instead of calling stat64.
30760 2014-05-28  Roland McGrath  <roland@hack.frob.com>
30762         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
30763         that was previously under [RESET_PID].
30764         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
30766         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
30767         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
30769 2014-05-27  Roland McGrath  <roland@hack.frob.com>
30771         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
30773         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
30774         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
30776 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
30778         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
30780 2014-05-27  Andreas Schwab  <schwab@suse.de>
30782         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
30783         TLS_INIT_TP macro.
30784         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
30785         * elf/rtld.c (init_tls, dl_main): Likewise.
30786         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
30787         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
30788         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
30789         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
30790         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
30791         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
30792         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
30793         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
30794         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
30795         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
30796         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
30797         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
30798         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
30799         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
30800         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
30801         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
30802         * sysdeps/generic/tls.h: Update description.
30804 2014-05-27  Will Newton  <will.newton@linaro.org>
30806         [BZ #16990]
30807         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
30808         and restore r2 rather than just restoring.
30810 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30812         [BZ #16724]
30813         * libio/tst-ftell-append.c: New test case.
30814         * libio/Makefile (tests): Add test case.
30815         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
30816         append mode.
30817         * libio/wfileops.c (do_ftell_wide): Likewise.
30819 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30823         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
30824         ...
30825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
30826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30827         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
30828         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
30829         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
30830         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
30831         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
30832         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
30833         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30834         Moved ...
30835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
30836         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30837         Moved ...
30838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
30839         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
30840         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
30841         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
30842         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
30843         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
30844         ...
30845         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
30846         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
30847         Moved ...
30848         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
30849         here.
30850         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
30851         ...
30852         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
30853         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
30854         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
30856         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
30857         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
30858         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
30859         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
30861         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
30862         merge into ...
30863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
30864         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
30865         ...
30866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
30867         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
30868         ...
30869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
30870         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30871         Moved ...
30872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
30873         here.
30874         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30875         Moved ...
30876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
30877         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30878         Moved ...
30879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
30881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
30882         conditional [RESET_PID].
30883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
30884         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
30885         removed.
30886         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
30887         removed.
30889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
30890         <tcb-offsets.h>.
30891         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30892         (__libc_vfork): New strong alias.
30893         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
30894         removed.
30895         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
30896         Removed.
30898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
30899         <tcb-offsets.h>.
30900         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
30901         (__libc_vfork): New strong alias.
30902         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
30903         removed.
30904         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
30905         removed.
30907 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
30909         * malloc/malloc.c (mi_arena): New function.
30910         (malloc_info): Remove nested function mi_arena. Call non-nosted
30911         function mi_arena.
30913 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30915         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
30916         by insrwi.
30917         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30918         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30919         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
30920         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
30921         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
30922         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
30923         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
30925 2014-05-26  Andreas Schwab  <schwab@suse.de>
30927         [BZ #16984]
30928         * locale/programs/repertoire.c (repertoire_read): Add slash
30929         between I18NPATH element and file name.
30930         * locale/programs/locfile.c (locfile_read): Likewise.
30932 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30934         * nptl/pthread_mutexattr_settype.c
30935         (__pthread_mutexattr_settype):
30936         Disable lock elision for PTHREAD_MUTEX_NORMAL.
30938 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30940         * nptl/tst-mutex5 (do_test):
30941         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
30943 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30945         * benchtests/README: Document 'init' directive.
30946         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
30947         BENCH_INIT.
30948         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
30949         (parse_file): Recognize 'init' directive.
30951 2014-05-26  Kyle McMartin  <kyle@redhat.com>
30953         [BZ #16796]
30954         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
30955         alignment of struct pthread.
30957 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30959         [BZ #16878]
30960         * nscd/netgroupcache.c (addgetnetgrentX): Look for
30961         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30962         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
30963         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30965 2014-05-25  Richard Henderson  <rth@twiddle.net>
30967         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30968         (SINGLE_THREAD_P_PIC): Remove.
30969         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
30970         (SINGLE_THREAD_P_PIC): Remove.
30972         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
30973         branch to syscall error ...
30974         (PSEUDO): ... here.
30975         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
30976         from __local_syscall_error to .Lsyscall_error.
30977         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
30978         (SYSCALL_ERROR): Update label name.
30980         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30981         Do not use DOARGS/UNDOARGS.
30982         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
30983         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
30984         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
30985         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
30986         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
30988         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
30989         block comment.
30991         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
30992         define if !NOT_IN_libc.
30993         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
30994         define with non-default symbol versions.
30996 2014-05-23  Richard Henderson  <rth@twiddle.net>
30998         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
30999         (vfork, __vfork): Define via compat_symbol.
31001         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
31002         [!HAVE_IFUNC] (vfork_compat): Remove.
31003         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
31005 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31007         [BZ #16978]
31008         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
31009         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
31010         variable.
31012 2014-05-23  Richard Henderson  <rth@twiddle.net>
31014         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
31015         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
31016         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
31017         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
31019         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
31020         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
31021         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
31022         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
31023         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
31024         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
31025         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
31026         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
31027         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
31028         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
31029         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
31030         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
31031         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
31032         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
31033         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
31034         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
31035         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
31036         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
31037         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
31038         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
31039         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
31040         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
31041         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
31042         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
31043         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
31044         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
31045         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
31046         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
31047         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
31048         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
31049         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
31050         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
31051         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
31052         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
31053         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
31054         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
31055         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
31056         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
31057         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
31058         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
31059         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
31060         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
31061         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
31062         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
31063         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
31064         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
31065         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
31066         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
31067         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
31068         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
31069         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
31070         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
31071         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
31072         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
31073         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
31074         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
31076         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
31077         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
31078         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
31079         before exiting on error.
31080         (__libc_vfork): New strong alias.
31081         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
31082         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
31084         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
31085         that was previously under [RESET_PID].
31086         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
31088         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
31090 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31092         [BZ #16977]
31093         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
31094         value when x - 1 is zero.
31095         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
31096         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
31097         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
31098         0.0L for an argument of 1.0L.
31099         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
31100         Likewise.
31101         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
31102         value when x - 1 is zero.
31103         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
31104         * sysdeps/i386/fpu/libm-test-ulps: Update.
31105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31107 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31109         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
31110         alphasort and versionsort.
31112 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31114         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
31115         macro.
31116         [copysignf]: Likewise.
31118 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31120         * crypt/md5-crypt.c: Fix formatting.
31122 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31124         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
31125         (b64_from_24bit): New function.
31127 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31129         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
31130         libc_hidden_builtin_def to ifunc.
31131         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31132         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
31134 2014-05-21  Roland McGrath  <roland@hack.frob.com>
31136         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
31137         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
31139 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
31141         * nscd/Depend (linuxthreads): Remove.
31142         (nptl): Add.
31143         * resolv/Depend (linuxthreads): Remove.
31144         * rt/Depend (linuxthreads): Remove.
31146         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
31147         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
31148         $(common-objpfx)elf/.
31149         (link-libc-before-gnulib): Likewise.
31150         (elfobjdir): Remove variable.
31151         * Makefile (install): Use $(elf-objpfx) instead of
31152         $(common-objpfx)elf/.
31153         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
31154         $(elfobjdir)/.
31155         (link-libc-deps): Likewise.
31156         ($(common-objpfx)libc.so): Likewise.
31157         ($(common-objpfx)linkobj/libc.so): Likewise.
31158         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
31159         instead of $(common-objpfx)elf/.
31160         (symbolic-link-list): Likewise.
31161         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31162         [$(cross-compiling) = no]: Likewise.
31163         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
31164         $(elfobjdir)/.
31165         (static-gnulib-arch): Likewise.
31166         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31167         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
31168         $(common-objpfx)elf/.
31170 2014-05-21  Richard Henderson  <rth@redhat.com>
31172         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31173         (SINGLE_THREAD_P): Use the correct width load.  Fold
31174         into the ldr offset.
31176         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
31177         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
31179 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
31181         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
31182         (libgcc_s_resume): Use __attribute_used__.
31183         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
31184         Likewise.
31186 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31188         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
31189         optimization when used with float constants.
31191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31193 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
31195         [BZ #16915]
31196         * locale/nl_langinfo_l.c: Make direct reference to every
31197         _nl_current_CATEGORY symbol.
31198         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
31199         (tests-static): Add tst-langinfo-static.
31200         (tests-special): Add tst-langinfo-static.out.
31201         ($(objpfx)tst-langinfo.out): Redirect output.
31202         ($(objpfx)tst-langinfo-static.out): New.
31203         * localedata/tst-langinfo.sh: Send output to stdout.
31204         * localedata/tst-langinfo-static.c: New file.
31206         [BZ #16965]
31207         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
31208         when the shift amount is modulo the limb size.
31210 2014-05-20  Richard Henderson  <rth@redhat.com>
31212         [BZ #16967]
31213         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
31214         Change type of sa_flags from unsigned int to int.
31216         [BZ #16966]
31217         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
31219         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
31221 2014-05-20  Will Newton  <will.newton@linaro.org>
31223         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31224         Test the return value of the system call in the nocancel case.
31226 2014-05-20  Will Newton  <will.newton@linaro.org>
31227             Yvan Roux  <yvan.roux@linaro.org>
31229         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
31230         #include of asm/ptrace.h.
31231         (PTRACE_GET_THREAD_AREA): Remove #undef.
31232         (PTRACE_GETHBPREGS): Likewise.
31233         (PTRACE_SETHBPREGS): Likewise.
31234         (struct user_regs_struct): New structure.
31235         (struct user_fpsimd_struct): New structure.
31236         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
31237         #include of asm/ptrace.h and second #include of sys/user.h.
31238         (PTRACE_GET_THREAD_AREA): Remove #undef.
31239         (PTRACE_GETHBPREGS): Likewise.
31240         (PTRACE_SETHBPREGS): Likewise.
31241         (ELF_NGREG): Use new struct user_regs_struct.
31242         (elf_fpregset_t): Use new struct user_fpsimd_struct.
31244 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31246         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
31247         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
31249 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
31251         [BZ #16958]
31252         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
31253         membar to avoid block loads/stores to overlap previous stores.
31255 2014-05-17  Richard Henderson  <rth@redhat.com>
31257         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
31258         Create the __##syscall_name##_nocancel entry point.
31259         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
31260         Remove; let the sysdep-cancel.h code create it.
31262 2014-05-17  David S. Miller  <davem@davemloft.net>
31264         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
31265         Protect with __USE_GNU.
31266         (TIOCSET_TEMPT): Likewise.
31267         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31268         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
31269         these are already provided in bits/ioctl-types.h
31271 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31273         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31274         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
31276         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
31277         Use wait4 regardless of [__NR_waitpid].
31279 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31281         PR libgcc/60166
31282         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31283         (_FP_NANSIGN_Q): Set the quiet bit.
31285 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
31287         * benchtests/Makefile
31288         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
31289         not $(common-objpfx)math/libm.so.
31290         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
31291         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31292         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
31293         $(common-objpfx)dlfcn/libdl.so.
31294         ($(objpfx)tst-audit8): Depend on $(libm), not
31295         $(common-objpfx)math/libm.so.
31296         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
31297         not $(common-objpfx)dlfcn/libdl.so.
31298         * math/Makefile
31299         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31300         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
31301         [$(build-shared) = yes].
31302         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
31303         $(common-objpfx)nptl/libpthread.so.
31304         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
31305         $(common-objpfx)math/libm.so$(libm.so-version) or
31306         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
31307         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
31308         $(common-objpfx)dlfcn/libdl.so.
31309         * setjmp/Makefile (link-libm): Remove variable.
31310         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
31311         * stdio-common/Makefile (link-libm): Remove variable.
31312         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
31313         * stdlib/Makefile (link-libm): Remove variable.
31314         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
31315         ($(objpfx)tst-strtod-round): Likewise.
31316         ($(objpfx)tst-tininess): Likewise.
31317         ($(objpfx)tst-strtod-underflow): Likewise.
31318         ($(objpfx)tst-strtod6): Likewise.
31319         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
31320         $(libdl), not $(common-objpfx)nptl/libpthread.so and
31321         $(common-objpfx)dlfcn/libdl.so.
31323 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31325         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
31326         BSD terminal modes definitions.
31328 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31330         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
31331         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
31333         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
31334         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
31335         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
31336         Don't do #include_next.
31337         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
31338         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
31339         Don't do #include_next.
31340         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
31341         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
31342         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
31343         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
31345 2014-05-16  Allan McRae  <allan@archlinux.org>
31347         * po/sv.po: Update Swedish translation from translation project.
31349         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
31350         in sed expression.
31352 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
31354         [BZ #16917]
31355         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
31356         errno if the TIOCGPTN ioctl fails with an error different than
31357         EINVAL.
31358         * login/tst-ptsname.c: New file.
31359         * login/Makefile (tests): Add tst-ptsname.
31361         [BZ #16943]
31362         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
31363         and prlimit64.
31365 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31367         [BZ #16849]
31368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
31369         herrno to return EAI_AGAIN.
31371 2014-05-14  Roland McGrath  <roland@hack.frob.com>
31373         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
31374         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
31375         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
31376         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
31377         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
31378         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
31379         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
31380         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
31381         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
31382         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
31383         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
31384         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
31385         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
31386         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
31387         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
31388         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
31389         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
31390         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
31391         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
31392         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
31393         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
31394         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
31395         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
31396         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
31397         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
31398         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
31399         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
31400         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
31401         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
31402         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
31403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
31404         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
31405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
31406         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
31407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31408         Moved ...
31409         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
31410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
31411         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
31412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
31413         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
31414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
31415         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
31416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
31417         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
31418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
31419         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
31420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
31421         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
31422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
31423         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
31424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
31425         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
31426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
31427         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
31428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
31429         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
31430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
31431         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
31432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
31433         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
31434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
31435         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
31436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31437         Moved ...
31438         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
31439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
31440         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
31441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
31442         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
31443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
31444         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
31445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
31446         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
31447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
31448         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
31449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
31450         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
31451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
31452         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
31453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
31454         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
31455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
31456         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
31457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31458         Moved ...
31459         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
31460         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
31461         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
31463         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
31464         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
31465         (libpthread-sysdep_routines): Add elision-related stuff here instead.
31466         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
31467         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
31468         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
31469         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
31470         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
31471         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
31472         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
31473         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
31474         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
31475         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
31476         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
31477         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
31478         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
31479         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
31480         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
31481         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
31482         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
31483         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
31484         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
31485         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
31486         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
31487         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
31488         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
31489         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
31490         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
31491         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
31492         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
31493         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
31495         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
31496         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
31498         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
31499         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
31500         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
31501         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
31502         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
31503         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
31504         Moved ...
31505         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
31506         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
31507         Moved ...
31508         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
31509         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
31510         Moved ...
31511         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
31512         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
31513         Moved ...
31514         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
31515         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
31516         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
31517         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
31518         Moved ...
31519         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
31520         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
31521         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
31522         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
31523         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
31524         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
31525         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
31526         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
31527         Moved ...
31528         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
31529         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31530         Moved ...
31531         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31532         ... here.
31533         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
31534         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
31535         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
31536         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
31537         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31538         Moved ...
31539         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31540         ... here.
31541         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
31542         Moved ...
31543         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
31544         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
31545         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
31546         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
31547         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
31548         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
31549         Moved ...
31550         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
31551         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
31552         Moved ...
31553         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
31554         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
31555         Moved ...
31556         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
31557         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
31558         Moved ...
31559         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
31560         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
31561         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
31562         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
31563         Moved ...
31564         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
31565         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
31566         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
31567         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
31568         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
31569         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
31570         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
31571         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
31572         Moved ...
31573         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
31574         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31575         Moved ...
31576         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31577         ... here.
31578         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
31579         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
31580         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
31581         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
31582         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31583         Moved ...
31584         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31585         ... here.
31586         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
31587         Moved ...
31588         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
31589         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
31590         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
31591         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
31592         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
31593         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
31594         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
31595         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
31596         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
31597         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
31598         Moved ...
31599         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
31600         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
31601         Moved ...
31602         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
31603         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
31604         Moved ...
31605         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
31606         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
31607         Moved ...
31608         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
31609         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
31610         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
31611         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
31612         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
31613         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
31614         Moved ...
31615         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
31616         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
31617         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
31618         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
31619         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
31620         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
31621         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
31622         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
31623         Moved ...
31624         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
31625         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31626         Moved ...
31627         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31628         ... here.
31629         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
31630         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
31631         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
31632         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
31633         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31634         Moved ...
31635         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31636         ... here.
31637         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
31638         Moved ...
31639         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
31640         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
31641         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
31642         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
31643         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
31644         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
31645         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
31646         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
31647         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
31648         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
31649         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
31651         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
31652         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
31654         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
31655         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
31657         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
31658         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
31659         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
31660         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
31661         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
31662         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
31663         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
31664         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
31665         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
31666         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
31667         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
31668         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
31669         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
31670         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
31671         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
31672         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
31673         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
31674         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
31675         Moved ...
31676         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
31677         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
31678         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
31679         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
31680         Moved ...
31681         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
31682         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
31683         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
31684         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
31685         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
31686         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
31687         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
31688         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
31689         Moved ...
31690         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
31691         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
31692         Moved ...
31693         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
31694         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
31695         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
31696         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
31697         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
31698         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
31699         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
31700         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
31701         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
31702         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
31703         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
31704         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
31705         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
31706         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
31707         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
31708         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
31709         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
31711         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
31712         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
31713         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
31714         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
31715         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
31717         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
31718         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
31719         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
31720         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
31721         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
31722         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
31723         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
31724         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
31725         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
31726         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
31728         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
31729         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
31731         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
31732         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
31733         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
31734         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
31735         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
31736         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
31737         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
31738         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
31739         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
31740         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
31741         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
31742         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
31743         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
31744         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
31745         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
31746         Update #include.
31747         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
31748         Likewise.
31749         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31750         Likewise.
31751         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31752         Likewise.
31753         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31754         Likewise.
31755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
31756         Likewise.
31757         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
31758         Likewise.
31759         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31760         Likewise.
31761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
31762         Likewise.
31763         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
31764         Likewise.
31765         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
31766         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
31767         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
31768         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
31769         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
31770         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
31771         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
31772         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
31773         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
31774         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
31775         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
31776         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
31777         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
31778         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
31779         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
31781         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
31782         that was previously under [RESET_PID].
31783         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31784         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
31785         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
31787         * sysdeps/i386/nptl/Implies: New file.
31788         * sysdeps/x86_64/nptl/Implies: New file.
31789         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
31790         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
31791         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
31792         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
31794         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
31795         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31796         (__libc_vfork): New strong alias.
31797         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
31798         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
31800         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
31801         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31802         (__libc_vfork): New strong alias.
31803         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
31804         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
31806         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
31807         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31808         (__libc_vfork): New strong alias.
31809         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
31810         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
31811         * nptl/pt-vfork.c: New file.
31812         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
31813         (libpthread: GLIBC_2.20): New version set (empty).
31815 2014-05-14  Will Newton  <will.newton@linaro.org>
31817         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
31818         rather than #if.
31820 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31822         [BZ #16564]
31823         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
31824         arguments with exponent 65 or above.
31825         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
31826         arguments 0x1p113L or above.
31827         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
31828         to arguments 0x1p107L or above.
31829         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
31830         positive arguments with exponent 65 or above.
31831         * math/auto-libm-test-in: Add more tests of log1p.
31832         * math/auto-libm-test-out: Regenerated.
31834         [BZ #16928]
31835         * math/s_cacos.c (__cacos): Ensure zero real part of result from
31836         non-finite arguments is +0.
31837         * math/s_cacosf.c (__cacosf): Likewise.
31838         * math/s_cacosl.c (__cacosl): Likewise.
31839         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
31840         * sysdeps/i386/fpu/libm-test-ulps: Update.
31841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31843         [BZ #16927]
31844         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
31845         value.
31846         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
31847         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
31848         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
31849         for explicit high bit of mantissa when testing for argument equal
31850         to 1.
31851         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
31852         * sysdeps/i386/fpu/libm-test-ulps: Update.
31853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31855         [BZ #16516]
31856         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
31857         (__erf): Scale by 16 instead of 8 in potentially underflowing
31858         case.  Ensure exception if result actually underflows.
31859         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
31860         (__erff): Scale by 16 instead of 8 in potentially underflowing
31861         case.  Ensure exception if result actually underflows.
31862         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
31863         (efx8): Remove variable.
31864         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31865         case.  Ensure exception if result actually underflows.
31866         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
31867         (efx8): Remove variable.
31868         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31869         case.  Ensure exception if result actually underflows.
31870         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
31871         (efx8): Remove variable.
31872         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31873         case.  Ensure exception if result actually underflows.
31874         * math/auto-libm-test-in: Add more tests of erf.
31875         * math/auto-libm-test-out: Regenerated.
31877 2014-05-14  Andreas Schwab  <schwab@suse.de>
31879         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
31880         Remove code conditionalized on USE___THREAD.
31882         * config.h.in (HAVE_PT_CHOWN): Define as 0.
31883         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
31884         not definedness.
31886 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31888         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
31889         Define unconditionally.
31890         (__ASSUME_O_CLOEXEC): Likewise.
31891         (__ASSUME_SOCK_CLOEXEC): Likewise.
31892         (__ASSUME_IN_NONBLOCK): Likewise.
31893         (__ASSUME_PIPE2): Likewise.
31894         (__ASSUME_EVENTFD2): Likewise.
31895         (__ASSUME_SIGNALFD4): Likewise.
31896         (__ASSUME_DUP3): Likewise.
31897         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31898         (__ASSUME_DUP3): Do not define.
31899         (__ASSUME_EVENTFD2): Likewise.
31900         (__ASSUME_IN_NONBLOCK): Likewise.
31901         (__ASSUME_O_CLOEXEC): Likewise.
31902         (__ASSUME_PIPE2): Likewise.
31903         (__ASSUME_SIGNALFD4): Likewise.
31904         (__ASSUME_SOCK_CLOEXEC): Likewise.
31905         (__ASSUME_UTIMES): Undefine.
31906         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31907         (__ASSUME_UTIMES): Do not define.
31908         (__ASSUME_O_CLOEXEC): Likewise.
31909         (__ASSUME_SOCK_CLOEXEC): Likewise.
31910         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
31911         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
31912         0x020621].
31913         (__ASSUME_PIPE2): Likewise.
31914         (__ASSUME_EVENTFD2): Likewise.
31915         (__ASSUME_SIGNALFD4): Likewise.
31916         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
31917         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
31918         Do not define.
31919         (__ASSUME_EVENTFD2): Likewise.
31920         (__ASSUME_SIGNALFD4): Likewise.
31921         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31922         (__ASSUME_32BITUIDS): Likewise.
31923         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31924         (__ASSUME_IPC64): Likewise.
31925         (__ASSUME_ST_INO_64_BIT): Likewise.
31926         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
31927         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
31928         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31929         (__ASSUME_UTIMES): Do not define.
31930         (__ASSUME_PSELECT): Likewise.
31931         (__ASSUME_PPOLL): Likewise.
31932         (__ASSUME_O_CLOEXEC): Likewise.
31933         (__ASSUME_SOCK_CLOEXEC): Likewise.
31934         (__ASSUME_IN_NONBLOCK): Likewise.
31935         (__ASSUME_PIPE2): Likewise.
31936         (__ASSUME_EVENTFD2): Likewise.
31937         (__ASSUME_SIGNALFD4): Likewise.
31938         (__ASSUME_DUP3): Likewise.
31939         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31940         (__ASSUME_UTIMES): Likewise.
31941         (__ASSUME_O_CLOEXEC): Likewise.
31942         (__ASSUME_SOCK_CLOEXEC): Likewise.
31943         (__ASSUME_IN_NONBLOCK): Likewise.
31944         (__ASSUME_PIPE2): Likewise.
31945         (__ASSUME_EVENTFD2): Likewise.
31946         (__ASSUME_SIGNALFD4): Likewise.
31947         (__ASSUME_DUP3): Likewise.
31948         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31949         (__ASSUME_UTIMES): Likewise.
31950         (__ASSUME_O_CLOEXEC): Likewise.
31951         (__ASSUME_SOCK_CLOEXEC): Likewise.
31952         (__ASSUME_IN_NONBLOCK): Likewise.
31953         (__ASSUME_PIPE2): Likewise.
31954         (__ASSUME_EVENTFD2): Likewise.
31955         (__ASSUME_SIGNALFD4): Likewise.
31956         (__ASSUME_DUP3): Likewise.
31957         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
31958         Likewise.
31959         (__ASSUME_UTIMES): Likewise.
31960         (__ASSUME_EVENTFD2): Likewise.
31961         (__ASSUME_SIGNALFD4): Likewise.
31962         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31963         (__ASSUME_O_CLOEXEC): Likewise.
31964         (__ASSUME_SOCK_CLOEXEC): Likewise.
31965         (__ASSUME_IN_NONBLOCK): Likewise.
31966         (__ASSUME_PIPE2): Likewise.
31967         (__ASSUME_EVENTFD2): Likewise.
31968         (__ASSUME_SIGNALFD4): Likewise.
31969         (__ASSUME_DUP3): Likewise.
31970         (__ASSUME_UTIMES): Undefine.
31972         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
31973         feclearexcept.  Remove symbol versioning code.
31974         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
31975         symbol versioning code.
31976         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
31977         symbol versioning code.
31978         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
31979         feupdateenv.  Remove symbol versioning code.
31980         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
31981         fegetexceptflag.  Remove symbol versioning code.
31982         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
31983         fesetexceptflag.  Remove symbol versioning code.
31984         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
31985         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
31986         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
31987         (__posix_fadvise64_l32): Remove prototype.
31988         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
31989         code.
31991 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31993         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
31994         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
31995         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
31996         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
31998 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
32000         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
32001         current working directory
32003 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32005         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
32006         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
32007         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
32008         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
32009         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
32010         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
32011         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
32012         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
32013         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
32014         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
32015         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
32016         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
32017         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
32018         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
32019         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
32020         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
32021         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
32022         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
32023         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
32024         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
32025         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
32026         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
32027         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
32028         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
32029         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
32030         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
32031         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
32032         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
32033         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
32034         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
32035         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
32036         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
32037         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
32038         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
32039         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
32040         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
32041         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
32042         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
32043         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
32044         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
32045         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
32046         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
32048         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
32049         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
32051         * sysdeps/unix/sysv/linux/arm/Makefile
32052         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32053         Add rt-aeabi_unwind_cpp_pr1.
32054         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
32055         Add nptl-aeabi_unwind_cpp_pr1.
32056         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
32057         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
32058         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
32059         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32060         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
32061         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32063         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
32064         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
32065         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
32066         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
32068         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
32069         Deconditionalize the code that was previously under [RESET_PID].
32070         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
32072         * sysdeps/generic/exit-thread.h: New file.
32073         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
32074         * include/unistd.h (__exit_thread): Remove declaration.
32075         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
32076         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
32077         * csu/libc-start.c: Include <exit-thread.h>.
32078         (LIBC_START_MAIN): Pass no argument to __exit_thread.
32079         * nptl/pthread_create.c: Include <exit-thread.h>.
32080         (start_thread): Call __exit_thread in place of __exit_thread_inline.
32081         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
32082         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
32083         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
32084         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
32085         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
32086         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
32087         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
32088         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
32089         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
32090         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
32091         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
32092         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
32093         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
32094         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
32095         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
32096         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
32098 2014-05-13  Andreas Schwab  <schwab@suse.de>
32100         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
32102 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
32104         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32105         (__ASSUME_UTIMES): Do not condition on kernel version.
32106         (__ASSUME_PSELECT): Define unconditionally.
32107         (__ASSUME_PPOLL): Likewise.
32108         (__ASSUME_ATFCTS): Likewise.
32109         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
32110         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
32111         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
32112         (__ASSUME_UTIMENSAT): Define unconditionally.
32113         (__ASSUME_PRIVATE_FUTEX): Likewise.
32114         (__ASSUME_FALLOCATE): Likewise.
32115         (__ASSUME_O_CLOEXEC): Likewise.
32116         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
32117         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
32118         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
32119         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
32120         (__ASSUME_IN_NONBLOCK): Likewise.
32121         (__ASSUME_PIPE2): Likewise.
32122         (__ASSUME_EVENTFD2): Likewise.
32123         (__ASSUME_SIGNALFD4): Likewise.
32124         (__ASSUME_DUP3): Likewise.
32125         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32126         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
32127         (__ASSUME_AT_RANDOM): Likewise.
32128         (__ASSUME_PREADV): Likewise.
32129         (__ASSUME_PWRITEV): Likewise.
32130         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
32131         (__ASSUME_F_GETOWN_EX): Define unconditionally.
32132         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
32133         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32134         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
32135         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32136         (__ASSUME_O_CLOEXEC): Define unconditionally.
32137         (__ASSUME_PSELECT): Do not undefine conditionally.
32138         (__ASSUME_PPOLL): Likewise.
32139         (__ASSUME_ATFCTS): Likewise.
32140         (__ASSUME_SET_ROBUST_LIST): Likewise.
32141         (__ASSUME_UTIMENSAT): Likewise.
32142         (__ASSUME_FDATASYNC): Define unconditionally.
32143         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32144         (__ASSUME_SIGFRAME_V2): Likewise.
32145         )__ASSUME_EVENTFD2): Likewise.
32146         (__ASSUME_SIGNALFD4): Likewise.
32147         (__ASSUME_PSELECT): Do not undefine conditionally.
32148         (__ASSUME_PPOLL): Likewise.
32149         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32150         (__ASSUME_PSELECT): Define unconditionally.
32151         (__ASSUME_PPOLL): Likewise.
32152         (__ASSUME_O_CLOEXEC): Likewise.
32153         (__ASSUME_SOCK_CLOEXEC): Likewise.
32154         (__ASSUME_IN_NONBLOCK): Likewise.
32155         (__ASSUME_PIPE2): Likewise.
32156         (__ASSUME_EVENTFD2): Likewise.
32157         (__ASSUME_SIGNALFD4): Likewise.
32158         (__ASSUME_DUP3): Likewise.
32159         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32160         (__ASSUME_O_CLOEXEC): Likewise.
32161         (__ASSUME_SOCK_CLOEXEC): Likewise.
32162         (__ASSUME_IN_NONBLOCK): Likewise.
32163         (__ASSUME_PIPE2): Likewise.
32164         (__ASSUME_EVENTFD2): Likewise.
32165         (__ASSUME_SIGNALFD4): Likewise.
32166         (__ASSUME_DUP3): Likewise.
32167         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32168         (__ASSUME_EVENTFD2): Likewise.
32169         (__ASSUME_SIGNALFD4): Likewise.
32170         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32172 2014-05-12  Andreas Schwab  <schwab@suse.de>
32174         [BZ #16932]
32175         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
32176         (_nss_nis_gethostbyname4_r): Return error if item length is larger
32177         than maximum RPC packet size.
32178         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
32179         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
32180         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
32181         (_nss_nis_getservbyport_r): Likewise.
32183 2014-05-12  Will Newton  <will.newton@linaro.org>
32185         * malloc/Makefile (tests): Add tst-mallopt.
32186         * malloc/tst-mallopt.c: New file.
32188 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32190         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
32191         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
32193 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32195         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
32196         (tst-tlsmod6.so): Likewise.
32198 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32200         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
32202 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
32204         [BZ #16064]
32205         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
32206         and <dl-procinfo.h>.
32207         (__fegetenv): Save SSE state in envp->__eip if supported.
32208         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
32209         envp->__eip if supported.
32210         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
32211         and <dl-procinfo.h>.
32212         (__fesetenv): Always set __eip, __cs_selector, __opcode,
32213         __data_offset and __data_selector in environment to 0.  Set SSE
32214         state if supported.
32215         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
32216         test-fenv-sse.
32217         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
32218         -mfpmath=sse.
32219         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
32221 2014-05-09  Will Newton  <will.newton@linaro.org>
32223         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
32224         and libc_relro_required for ARM.
32225         * sysdeps/arm/preconfigure: Regenerate.
32227 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
32228             Stefan Liebler  <stli@linux.vnet.ibm.com>
32230         * config.make.in (enable-lock-elision): New Makefile variable.
32231         * configure.ac: Likewise.
32232         * configure: Regenerate.
32233         * sysdeps/s390/configure.ac:
32234         Add check for gcc transactions support.
32235         * sysdeps/s390/configure: Regenerate.
32236         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
32237         Build elision files if enabled.
32238         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
32239         Add lock elision support for s390.
32240         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
32241         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
32242         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
32243         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
32244         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
32245         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
32246         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32247         Likewise.
32248         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
32249         Likewise.
32250         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
32251         Likewise.
32252         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
32253         Likewise.
32254         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
32255         (__lll_timedlock_elision, __lll_lock_elision)
32256         (__lll_unlock_elision, __lll_trylock_elision)
32257         (lll_timedlock_elision, lll_lock_elision)
32258         (lll_unlock_elision, lll_trylock_elision): Add.
32259         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32260         (pthread_mutex_t): Add lock elision support for s390.
32262 2014-05-14  Wilco  <wdijkstr@arm.com>
32264         * sysdeps/arm/fclrexcpt.c: Cleanup.
32265         * sysdeps/arm/fedisblxcpt.c: Cleanup.
32266         * sysdeps/arm/feenablxcpt.c: Cleanup.
32267         * sysdeps/arm/fegetenv.c: Cleanup.
32268         * sysdeps/arm/fegetexcept.c: Cleanup.
32269         * sysdeps/arm/fegetround.c: Cleanup.
32270         * sysdeps/arm/feholdexcpt.c: Cleanup.
32271         * sysdeps/arm/fesetenv.c: Cleanup.
32272         * sysdeps/arm/fesetround.c: Cleanup.
32273         * sysdeps/arm/feupdateenv.c: Cleanup.
32274         * sysdeps/arm/fgetexcptflg.c: Cleanup.
32275         * sysdeps/arm/fraiseexcpt.c: Cleanup.
32276         * sysdeps/arm/fsetexcptflg.c: Cleanup.
32277         * sysdeps/arm/ftestexcept.c: Cleanup.
32278         * sysdeps/arm/get-rounding-mode.h: Cleanup.
32279         * sysdeps/arm/setfpucw.c: Cleanup.
32281 2014-05-09  Will Newton  <will.newton@linaro.org>
32283         * sysdeps/arm/armv7/strcmp.S: New file.
32284         * NEWS: Mention addition of ARMv7 optimized strcmp.
32286 2014-05-08  Roland McGrath  <roland@hack.frob.com>
32288         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
32289         look for %.ac rather than %.in.
32291         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
32292         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
32293         * sysdeps/mach/hurd/configure: Regenerated.
32294         * sysdeps/unix/sysv/linux/configure: Regenerated.
32296         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
32298 2014-05-07  Steve Ellcey  <sellcey@mips.com>
32300         [BZ# 16922]
32301         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
32302         (LONG_SUB): Ditto.
32303         (PTR_SUB): Ditto.
32305 2014-05-07  Andreas Schwab  <schwab@suse.de>
32307         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
32308         when skipping over non-matching result from nscd.
32310 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
32312         [BZ #16876]
32313         * nptl/sockperf.c (client): Check socket return value.
32315         [BZ #16877]
32316         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
32317         nscd security class.
32319 2014-05-06  Roland McGrath  <roland@hack.frob.com>
32321         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
32322         * sysdeps/arm/unwind.h: ... here.
32324 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
32326         [BZ# 16916]
32327         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
32328         Define.
32330 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32332         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
32333         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
32334         multiarch strncpy for PPC64.
32335         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
32336         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
32337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
32338         multiarch optimizations.
32339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32340         (__libc_ifunc_impl_list): Likewise.
32341         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
32342         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
32343         multiarch stpncpy for PPC64.
32344         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
32345         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
32347 2014-05-06  Andreas Schwab  <schwab@suse.de>
32349         [BZ #16912]
32350         * gmon/mcount.c (_MCOUNT_DECL): Use
32351         atomic_compare_and_exchange_bool_acq instead of
32352         catomic_compare_and_exchange_bool_acq.
32354 2014-05-05  Roland McGrath  <roland@hack.frob.com>
32356         * elf/Makefile (others, install-bin): Remove pldd.
32357         (pldd-modules): Variable removed.
32358         ($(objpfx)pldd): Target removed.
32359         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
32360         (others, install-bin): Append pldd here.
32361         ($(objpfx)pldd): New target.
32363         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
32364         to 0, so the first #if test emitted later doesn't see it undefined.
32365         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
32366         * sysdeps/gnu/errlist.c: Regenerated.
32368 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32370         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32371         [libc_hidden_builtin_def]: Define to empty value.
32372         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
32373         [libc_hidden_builtin_def]: Likewise.
32374         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
32375         [libc_hidden_builtin_def]: Likewise.
32376         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
32377         [libc_hidden_builtin_def]: Likewise.
32378         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
32379         __redirect_memcpy and define ifunc as default hidden symbol.
32380         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
32381         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
32383 2014-05-04  Adam Conrad  <adconrad@0c3.net>
32385         * locale/iso-4217.def: Reintroduce XDR currency.
32387 2014-05-04  Allan McRae  <allan@archlinux.org>
32389         * po/eo.po: Update Esperanto translation from translation project.
32391 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
32393         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
32394         and FEATURE_INDEX_MAX to 1.
32395         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
32397 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32399         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
32400         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
32401         * iconvdata/big5.c (ONE_DIRECTION): Define.
32402         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
32403         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
32404         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
32405         * iconvdata/cp932.c (ONE_DIRECTION): Define.
32406         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
32407         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
32408         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
32409         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
32410         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
32411         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
32412         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
32413         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
32414         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
32415         * iconvdata/gbk.c (ONE_DIRECTION): Define.
32416         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
32417         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
32418         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
32419         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
32420         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
32421         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
32422         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
32423         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
32424         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
32425         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
32426         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
32427         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
32428         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
32429         * iconvdata/iso646.c (ONE_DIRECTION): Define.
32430         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
32431         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
32432         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
32433         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
32434         * iconvdata/johab.c (ONE_DIRECTION): Define.
32435         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
32436         * iconvdata/sjis.c (ONE_DIRECTION): Define.
32437         * iconvdata/t.61.c (ONE_DIRECTION): Define.
32438         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
32439         * iconvdata/tscii.c (ONE_DIRECTION): Define.
32440         * iconvdata/uhc.c (ONE_DIRECTION): Define.
32441         * iconvdata/unicode.c (ONE_DIRECTION): Define.
32442         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
32443         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
32444         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
32446 2014-05-01  Roland McGrath  <roland@hack.frob.com>
32448         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
32449         (_IO_JUMPS_OFFSET): Define to 0.
32451         * nptl/sysdeps/pthread/bits/libc-lock.h
32452         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32453         (__libc_lock_define_initialized_recursive): Always define using
32454         initializer.  Modern compilers treat uninitialized (implicit zero) and
32455         explicit zero initializers the same (i.e. put the datum in bss).
32457 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32459         * nscd/nscd-client.h: Include <string.h>.
32461 2014-05-01  David S. Miller  <davem@davemloft.net>
32463         [BZ #16885]
32464         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
32465         multiple zero bytes exist at the end of a string.
32466         Reported by Aurelien Jarno <aurelien@aurel32.net>
32468         * string/test-strcmp.c (check): Add explicit test for situations where
32469         there are multiple zero bytes after the first.
32471 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32473         [BZ #16890]
32474         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
32475         when compiling wprintf.
32476         * stdio-common/tstdiomisc.c (t3): New function.
32477         (main): Call it.
32479 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32481         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
32482         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
32483         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
32484         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
32486 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32488         * stdlib/longlong.h: Updated from GCC.
32490 2014-05-01  Will Newton  <will.newton@linaro.org>
32491             Bernard Ogden  <bernie.ogden@linaro.org>
32493         * NEWS: Update fixed bug list.
32495         [BZ #15119]
32496         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
32498 2014-04-30  David S. Miller  <davem@davemloft.net>
32500         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
32501         (libc_feholdexcept_setround_sparc_ctx): New function.
32502         (libc_fesetenv_sparc_ctx): Likewise.
32503         (libc_feupdateenv_sparc_ctx): Likewise.
32504         (libc_feholdsetround_sparc_ctx): Likewise.
32505         (libc_feholdexcept_setround_ctx): Define.
32506         (libc_feholdexcept_setroundf_ctx): Likewise.
32507         (libc_feholdexcept_setroundl_ctx): Likewise.
32508         (libc_fesetenv_ctx): Likewise.
32509         (libc_fesetenvf_ctx): Likewise.
32510         (libc_fesetenvl_ctx): Likewise.
32511         (libc_feupdateenv_ctx): Likewise.
32512         (libc_feupdateenvf_ctx): Likewise.
32513         (libc_feupdateenvl_ctx): Likewise.
32514         (libc_feresetround_ctx): Likewise.
32515         (libc_feresetroundf_ctx): Likewise.
32516         (libc_feresetroundl_ctx): Likewise.
32517         (libc_feholdsetround_ctx): Likewise.
32518         (libc_feholdsetroundf_ctx): Likewise.
32519         (libc_feholdsetroundl_ctx): Likewise.
32521         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32522         with __USE_GNU instead of XOPEN cpp guards.
32524         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
32525         0.
32527         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32528         with XOPEN cpp guards.
32530 2014-04-30  Julian Brown  <julian@codesourcery.com>
32532         [BZ #16888]
32533         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
32534         handling.
32536 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
32538         [BZ #9894]
32539         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
32540         Change to 2.6.32.
32541         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
32542         * sysdeps/unix/sysv/linux/configure: Regenerated.
32543         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
32544         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
32545         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
32546         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
32547         * README: Update reference to required Linux kernel version.
32548         * manual/install.texi (Linux): Update reference to required Linux
32549         kernel headers version.
32550         * INSTALL: Regenerated.
32552         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
32553         header inclusion.
32554         [POSIX] (limits.h): Likewise.
32555         [POSIX] (math.h): Likewise.
32556         [POSIX] (sys/wait.h): Likewise.
32557         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
32558         function.
32559         [POSIX] (stddef.h): Do not allow header inclusion.
32561 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32563         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
32565 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
32567         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
32568         Return immediately after lll_futex_wake.
32570 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32572         [BZ #16791]
32573         * nscd/nscd-client.h (datahead_init_common): Initialize entire
32574         structure.
32575         (datahead_init_pos): Call datahead_init_common early.
32576         (datahead_init_neg): Likewise.
32578         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
32579         datahead_init_neg): New functions.
32580         * nscd/aicache.c (addhstaiX): Use them.
32581         * nscd/grpcache.c (cache_addgr): Likewise.
32582         * nscd/hstcache.c (cache_addhst): Likewise.
32583         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32584         * nscd/netgroupcache.c (do_notfound): Likewise.
32585         (addgetnetgrentX): Likewise.
32586         (addinnetgrX): Likewise.
32587         * nscd/pwdcache.c (cache_addpw): Likewise.
32588         * nscd/servicescache.c (cache_addserv): Likewise.
32590 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32591             Atsushi Onoe  <atsushi@onoe.org>
32593         [BZ #14308]
32594         [BZ #12994]
32595         [BZ #13651]
32596         * resolv/res_query.c (__libc_res_nsearch): Return if at least
32597         one response is valid.
32598         * resolv/res_send.c (send_dg): Check for validity of other
32599         response if the current response is a referral.
32601 2014-04-29  Steve Ellcey  <sellcey@mips.com>
32603         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
32605 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
32607         [BZ #16823]
32608         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
32609         Always divide by positive zero when computing -Inf result.
32610         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32611         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
32613 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32615         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
32616         FPSCR if value do not change.
32617         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32618         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
32619         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32620         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
32621         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
32622         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
32623         function.
32625 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
32627         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
32628         * sysdeps/unix/sysv/linux/hppa: Move directory from
32629         ports/systeps/unix/sysv/linux/hppa.
32630         * README: Update listing for hppa-*-linux-gnu.
32632 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
32634         [BZ #16754]
32635         * manual/stdio.texi (Hook functions): Fix types of stream hook
32636         functions.
32637         [BZ #16854]
32638         * socket/sys/socket.h: Fix typo in comment.
32640 2014-04-28  Wilco  <wdijkstr@arm.com>
32642         * sysdeps/arm/fenv_private.h: New file.
32643         * sysdeps/arm/math_private.h: New file.
32644         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
32646 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
32648         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
32649         with __int128_t.
32650         (La_x86_64_retval): Likewise.
32652 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
32654         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
32655         fpsr if value didn't change.
32656         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
32657         to fpcr if value didn't change.
32658         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
32659         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
32660         fpsr or fpcr if value didn't change.
32661         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32662         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
32663         fpcr if value didn't change.
32664         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
32665         to fpsr if value didn't change.
32667 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32669         * nptl/tst-sem3.c: Use test-skeleton.c
32670         (main): Rename to do_test.  Use return instead of
32671         exit.
32672         * nptl/tst-sem4.c: Use test-skeleton.c
32673         (main): Rename to do_test.
32675 2014-04-22  David S. Miller  <davem@davemloft.net>
32677         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32678         (struct sigaction): New struct member __glibc_reserved0, change
32679         type of sa_flags to int.
32681 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
32683         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
32684         (COUNT_LEADING_ZEROS_0): Define for AArch64.
32686 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32688         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
32689         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
32691 2014-04-22  Will Newton  <will.newton@linaro.org>
32692             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
32694         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
32695         (__longjmp): Add longjmp and longjmp_target SystemTap
32696         probes.
32697         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
32698         (__sigsetjmp): Add setjmp SystemTap probe.
32700 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
32702         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
32703         match manual order.
32705 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32707         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
32709         * sysdeps/powerpc/fpu/fenv_private.h
32710         (libc_feholdexcept_setroundl_ctx): Define to
32711         libc_feholdexcept_setround_ppc_ctx.
32712         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
32713         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
32714         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
32715         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
32717 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32719         * sysdeps/aarch64/math-tests.h: New file.
32721 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
32723         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
32724         New.
32725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32726         Check and set bit_AVX2_Usable.
32727         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
32728         macro.
32729         (bit_AVX2): Likewise.
32730         (index_AVX2_Usable): Likewise.
32731         (CPUID_AVX2): Likewise.
32732         (HAS_AVX2): Likewise.
32734 2014-04-17  Will Newton  <will.newton@linaro.org>
32736         * manual/setjmp.texi (System V contexts): Add note that
32737         calling setcontext on a context created by a call to a
32738         signal handler is undefined.  Update text to note that
32739         setcontext from a signal handler is possible but not
32740         recommended.
32742         [BZ #16629]
32743         * stdlib/tst-setcontext.c: Include signal.h.
32744         (main): Check that the signal stack before and
32745         after swapcontext is the same.
32747         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
32748         Re-implement to restore registers in user code and avoid
32749         rt_sigreturn system call.
32751 2014-04-17  Wilco  <wdijkstr@arm.com>
32753         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
32754         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
32755         * math/test-fenv.c: Skip exception trap tests on targets which only
32756         support non-stop mode.
32758 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32759             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32761         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
32762         (libc_feholdsetround_aarch64_ctx)
32763         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
32764         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
32765         (libc_feresetround_ctx, libc_feresetroundf_ctx)
32766         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
32767         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
32768         (libc_feresetround_noexl_ctx): Define.
32770 2014-04-16  Richard Henderson  <rth@redhat.com>
32772         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
32774         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
32775         unwind tables.
32777         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
32778         const from the non-libc, non-ldso copy.
32780         * sysdeps/alpha/libm-test-ulps: Regenerate.
32782 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
32783             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32785         * sysdeps/aarch64/fpu/math_private.h: New file.
32787 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32789         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32791 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
32793         [BZ #16275]
32794         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
32795         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
32796         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
32797         Intel MPX bound registers before _dl_profile_fixup.
32798         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
32799         registers after _dl_profile_fixup.  Save and restore bound
32800         registers bnd0/bnd1 when calling _dl_call_pltexit.
32801         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
32802         (LR_BND_OFFSET): Likewise.
32803         (LRV_BND0_OFFSET): Likewise.
32804         (LRV_BND1_OFFSET): Likewise.
32806 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32808         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
32809         to...
32810         * sysdeps/mach/hurd/i386/tls.h: ... here.
32811         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
32812         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
32813         fields.
32815 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32817         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
32819 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32821         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32823 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32825         [BZ #14770]
32826         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
32827         * sysdeps/s390/configure: Regenerate.
32829         [BZ #16824]
32830         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
32831         Set round-to-nearest internally to reduce error accumulation.
32833 2014-04-16  Alan Modra  <amodra@gmail.com>
32835         [BZ #16740]
32836         [BZ #16619]
32837         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
32838         * math/libm-test.inc (frexp_test_data): Add tests.
32839         * NEWS: Update fixed bug list.
32841 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32843         * benchtests/Makefile: Depend on libraries in build directory.
32844         (bench-math): Separate out math tests.
32845         (bench-pthread): Separate out pthread tests.
32846         (bench): Include math and pthread tests.
32848 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
32850         [BZ #16831]
32851         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
32852         _dl_debug_initialize.
32854         * configure.ac: Remove SELinux header check.
32855         * configure: Regenerate.
32856         * nscd/selinux.c (perms): Array of const char* to permission names.
32857         (nscd_request_avc_has_perm): Call security_deny_unknown to find
32858         default policy. Call string_to_security_class and string_to_av_perm to
32859         translate strings. Enforce default policy and call avs_has_perm with
32860         results of translated strings.
32862 2014-04-13  David S. Miller  <davem@davemloft.net>
32864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32866 2014-04-12  Allan McRae  <allan@archlinux.org>
32868         [BZ #16838]
32869         * manual/string.texi (Collation Functions): Fix qsort argument
32870         order in example.
32871         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32873 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
32875         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
32876         Make the test a no-op if there are no exceptions defined.
32878 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32880         * elf/Makefile (tests): make tst-dlopen-aout conditional on
32881         enable-hardcoded-path-in-tests
32883 2014-04-11  Will Newton  <will.newton@linaro.org>
32885         * benchtests/Makefile (extra-objs): Add json-lib.o.
32886         (bench-func): Tidy up JSON output.
32887         * benchtests/bench-skeleton.c: Include json-lib.h.
32888         (main): Use JSON library functions to do output of
32889         benchmark results.
32890         * benchtests/bench-timing-type.c (main): Output the
32891         timing type simply, leaving formatting to the user.
32892         * benchtests/json-lib.c: New file.
32893         * benchtests/json-lib.h: Likewise.
32895 2014-04-11  Torvald Riegel  <triegel@redhat.com>
32897         [BZ #15215]
32898         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
32899         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
32900         memory barriers.  Add comments.
32901         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
32902         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
32903         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
32904         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
32905         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
32906         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
32908 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32910         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
32911         * sysdeps/s390/s390-64/configure.ac: ... this ...
32912         * sysdeps/s390/configure.ac: ... to here.
32913         * sysdeps/s390/s390-32/configure: Delete file.
32914         * sysdeps/s390/s390-64/configure: Delete file.
32915         * sysdeps/s390/configure: Regenerate.
32917 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
32919         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
32921 2014-04-11  Will Newton  <will.newton@linaro.org>
32923         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
32924         to zero if it is not defined elsewhere.  (mtrim): Test
32925         the value of MALLOC_DEBUG with #if rather than #ifdef.
32927 2014-04-10 Torvald Riegel  <triegel@redhat.com>
32929         * benchtests/pthread_once-inputs: New file.
32930         * benchtests/pthread_once-source.c: New file.
32931         * benchtests/README: Update documentation.
32933 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32934             H.J. Lu  <hongjiu.lu@intel.com>
32936         [BZ #16275]
32937         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
32938         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
32939         * sysdeps/x86_64/configure: Regenerated.
32940         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
32941         macro.
32942         (REGISTER_SAVE_RAX): Likewise.
32943         (REGISTER_SAVE_RCX): Likewise.
32944         (REGISTER_SAVE_RDX): Likewise.
32945         (REGISTER_SAVE_RSI): Likewise.
32946         (REGISTER_SAVE_RDI): Likewise.
32947         (REGISTER_SAVE_R8): Likewise.
32948         (REGISTER_SAVE_R9): Likewise.
32949         (REGISTER_SAVE_BND0): Likewise.
32950         (REGISTER_SAVE_BND1): Likewise.
32951         (REGISTER_SAVE_BND2): Likewise.
32952         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
32953         bound registers when calling _dl_fixup.
32955 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32957         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
32958         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
32959         of its definition.
32960         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
32961         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
32962         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
32963         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
32964         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
32965         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
32966         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
32968 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
32970         [BZ #15514]
32971         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
32972         pathconf(_PC_NAME_MAX).
32974 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32976         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
32977         Remove macro usage.
32978         (__PTHREAD_SPINS): Move definition to ...
32979         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32980         (__PTHREAD_SPINS): ... here.
32981         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32982         (__PTHREAD_SPIN): Likewise.
32983         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
32984         (__PTHREAD_SPIN): Likewise.
32985         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
32986         (__PTHREAD_SPIN): Likewise.
32987         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
32988         (__PTHREAD_SPIN): Likewise.
32989         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32990         (__PTHREAD_SPIN): Likewise.
32991         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32992         (__PTHREAD_SPIN): Likewise.
32993         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
32994         (__PTHREAD_SPIN): Likewise.
32995         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32996         (__PTHREAD_SPIN): Likewise.
32997         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32998         (__PTHREAD_SPIN): Likewise.
32999         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33000         (__PTHREAD_SPIN): Likewise.
33001         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33002         (__PTHREAD_SPIN): Likewise.
33003         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
33004         (__PTHREAD_SPIN): Likewise.
33006         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
33007         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
33008         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
33009         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
33010         imply folder.
33011         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
33012         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
33013         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
33014         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
33015         correct imply path.
33016         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
33017         strlen symbol for non multi-arch builds.
33018         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
33019         missing hidden_def and weak_alias.
33021 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
33023         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
33025 2014-04-07  Will Newton  <will.newton@linaro.org>
33027         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
33028         and contents.  [!_LIBC] Remove #ifndef and contents.
33029         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
33030         * string/memccpy.c (__memccpy): Use ANSI prototype.
33031         * string/memfrob.c (memfrob): Likewise.
33032         * string/strcoll.c (STRCOLL): Likewise.
33033         * string/strlen.c (strlen): Likewise.
33034         * string/strtok.c (STRTOK): Likewise.
33035         * string/strcat.c: Remove unused #include of memcopy.h.
33036         (strcat): Use ANSI prototype.
33037         * string/strchr.c: Remove unused #include of memcopy.h.
33038         (strchr): Use ANSI prototype.
33039         * string/strcmp.c: Remove unused #include of memcopy.h.
33040         (strcmp): Use ANSI prototype.
33041         * string/strcpy.c: Remove unused #include of memcopy.h.
33042         (strcpy): Use ANSI prototype.
33044 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33046         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
33047         * config.make.in (config-extra-cppflags): Set it from
33048         libc_extra_cppflags.
33049         * configure.ac (libc_extra_cflags): Make it accumulate over
33050         configure fragments.
33051         (libc_extra_cppflags): New flag.
33052         * configure. Regenerate.
33053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33054         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
33055         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
33056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
33058         [BZ #16815]
33059         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
33060         result for FE_DOWNWARD rounding mode.
33061         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
33062         Likewise.
33063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33065 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
33067         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
33068         in function argument name.
33070 2014-04-03  David Svoboda  <svoboda@cert.org>
33072         [BZ #5666]
33073         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
33074         explicitly.
33076 2014-04-03  Roland McGrath  <roland@hack.frob.com>
33078         * elf/dl-unmap-segments.h: New file.
33079         * sysdeps/generic/ldsodefs.h
33080         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
33081         * elf/dl-close.c: Include <dl-unmap-segments.h>.
33082         * elf/dl-fptr.c: Likewise.
33083         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
33084         * sysdeps/aarch64/tlsdesc.c: Likewise.
33085         * sysdeps/arm/tlsdesc.c: Likewise.
33086         * sysdeps/i386/tlsdesc.c: Likewise.
33087         * sysdeps/tile/dl-runtime.c: Likewise.
33088         * sysdeps/x86_64/tlsdesc.c: Likewise.
33089         * elf/dl-load.h: New file.
33090         * elf/dl-load.c: Include it.
33091         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
33092         Macros moved to dl-load.h.
33093         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
33094         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
33095         Use _dl_unmap_segments in place of __munmap.
33096         Break out segment-mapping loop into ...
33097         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
33099 2014-04-03  Will Newton  <will.newton@linaro.org>
33101         * elf/dl-lookup.c (do_lookup_x): Remove comment
33102         referring to nested function and move variable
33103         declarations down to before first use.
33105 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
33107         [BZ #16799]
33108         [BZ #16800]
33109         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
33110         with 0 numerator.
33111         * math/s_catanf.c (__catanf): Likewise.
33112         * math/s_catanh.c (__catanh): Likewise.
33113         * math/s_catanhf.c (__catanhf): Likewise.
33114         * math/s_catanhl.c (__catanhl): Likewise.
33115         * math/s_catanl.c (__catanl): Likewise.
33116         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
33117         by positive zero when computing -Inf result.
33118         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
33119         (catanh_test): Likewise.
33120         * sysdeps/i386/fpu/libm-test-ulps: Update.
33121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33123         [BZ #16789]
33124         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
33125         instead of using underflowing value in computing result.
33126         * math/s_clog10.c (__clog10): Likewise.
33127         * math/s_clog10f.c (__clog10f): Likewise.
33128         * math/s_clog10l.c (__clog10l): Likewise.
33129         * math/s_clogf.c (__clogf): Likewise.
33130         * math/s_clogl.c (__clogl): Likewise.
33131         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
33132         (clog10_test): Likewise.
33133         * sysdeps/i386/fpu/libm-test-ulps: Update.
33134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33136 2014-04-02  Alan Modra  <amodra@gmail.com>
33138         [BZ #16739]
33139         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
33140         output when value is near a power of two.  Use int64_t for lx and
33141         remove casts.  Use decimal rather than hex exponent constants.
33142         Don't use long double multiplication when double will suffice.
33143         * math/libm-test.inc (nextafter_test_data): Add tests.
33144         * NEWS: Add 16739 and 16786 to bug list.
33146         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
33148         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
33150 2014-04-01  Will Newton  <will.newton@linaro.org>
33152         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
33153         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
33155 2014-04-01  Florian Weimer  <fweimer@redhat.com>
33157         [BZ #13347]
33158         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
33159         * nptl/tst-setuid2.c: New file.
33160         * nptl/Makefile (xtests): Add tst-setuid2.
33162 2014-04-01  Alan Modra  <amodra@gmail.com>
33164         [BZ #16786]
33165         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
33167 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33169         [BZ #6803]
33170         [BZ #6804]
33171         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
33172         set errno as appropriate.
33173         * math/w_scalbf.c (__scalbf): Likewise.
33174         * math/w_scalbl.c (__scalbl): Likewise.
33175         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
33176         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
33177         * math/libm-test.inc (scalb_test_data): Add errno expectations.
33178         Add more NaN tests.
33180         [BZ #16349]
33181         * math/w_atan2.c: Include <errno.h>.
33182         (__atan2): Set errno for result underflowing to zero.
33183         * math/w_atan2f.c: Include <errno.h>.
33184         (__atan2f): Set errno for result underflowing to zero.
33185         * math/w_atan2l.c: Include <errno.h>.
33186         (__atan2l): Set errno for result underflowing to zero.
33187         * math/auto-libm-test-in: Don't allow missing errno for some atan2
33188         tests.
33189         * math/auto-libm-test-out: Regenerated.
33191 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33193         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33194         Encode instruction correctly in little endian.
33195         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33196         Likewise.
33197         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33198         Likewise.
33199         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33200         Likewise.
33201         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33202         Likewise.
33204 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33206         [BZ #9894]
33207         * sysdeps/unix/sysv/linux/kernel-features.h
33208         [__sparc__ && !__arch64__ && !__sparc_v9__]
33209         (__ASSUME_SET_ROBUST_LIST): Do not define.
33210         [__sparc__ && !__arch64__ && !__sparc_v9__]
33211         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33212         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
33213         Likewise.
33214         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33215         (__ASSUME_FUTEX_LOCK_PI): Undefine.
33216         (__ASSUME_REQUEUE_PI): Likewise.
33217         (__ASSUME_SET_ROBUST_LIST): Likewise.
33218         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33219         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
33220         Undefine.
33221         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33222         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
33223         Likewise.
33224         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
33225         Likewise.
33226         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
33227         Likewise.
33228         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33229         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
33230         Undefine.
33231         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
33232         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
33233         Likewise.
33235         [BZ #16648]
33236         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33237         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
33238         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
33240 2014-03-31  Will Newton  <will.newton@linaro.org>
33242         * benchtests/Makefile (bench): Add ffs and ffsll to list
33243         of tests.
33244         * benchtests/ffs-inputs: New file.
33245         * benchtests/ffsll-inputs: Likewise.
33247 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
33249         [BZ #16770]
33250         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
33251         too large before casting to int.
33252         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
33253         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
33254         * math/libm-test.inc (scalb_test_data): Add more tests.
33256 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33258         * benchtests/Makefile (DETAILED_OPT): New make option.
33259         (bench-func): Run benchmark program with -d if DETAILED_OPT is
33260         set.
33261         * benchtests/bench-skeleton.c: Include stdbool.h.
33262         (main): Store and print timings per input.
33263         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
33264         member to each argument value.
33265         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
33266         (_print_arg_data): Initialize per-input timing to 0.
33268         * benchtests/Makefile (timing-type): New binary.
33269         (bench-clean): Also remove bench-timing-type.
33270         (bench): New target for timing-type.
33271         (bench-func): Print output in JSON format.
33272         * benchtests/bench-skeleton.c (main): Print output in JSON
33273         format.
33274         * benchtests/bench-timing-type.c: New file.
33275         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
33276         (TIMING_PRINT_STATS): Remove.
33277         * benchtests/scripts/bench.py (_print_arg_data): Store variant
33278         name separately.
33280         * benchtests/bench-modf.c: Remove.
33281         * benchtests/modf-inputs: New inputs file.
33283 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
33285         [BZ #16362]
33286         * math/s_clog10.c (M_PI_LOG10E): New macro.
33287         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
33288         imaginary parts are 0.
33289         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
33290         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
33291         imaginary parts are 0.
33292         * math/s_clog10l.c (M_PI_LOG10El): New macro.
33293         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
33294         imaginary parts are 0.
33295         * math/libm-test.inc (clog10_test_data): Update expected results
33296         for when real and imaginary parts are 0.
33298 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
33300         * elf/dl-load.c: Finish conversion of __builtin_expect into
33301         __glibc_{un}likely.
33303 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
33305         [BZ #16348]
33306         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
33307         1+x for argument with exponent below -67.
33308         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
33309         Likewise.
33310         * math/auto-libm-test-in: Add more tests of exp.
33311         * math/auto-libm-test-out: Regenerated.
33313 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33315         [BZ #16759]
33316         * inet/getnetgrent_r.c (get_nonempty_val): New function.
33317         (nscd_getnetgrent): Use it.
33319         [BZ #16760]
33320         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
33321         of stpcpy.
33323 2014-03-27  Andi Kleen  <ak@linux.intel.com>
33325         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
33326         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33327         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33328         (lll_robust_unlock): Remove out of line section. Use cfi
33329         intrinsics.
33330         (LLL_STUB_UNWIND_INFO*): Remove.
33331         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
33332         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33333         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33334         (lll_robust_unlock): Remove out of line section. Use cfi
33335         intrinsics.
33336         (LLL_STUB_UNWIND_INFO*): Remove.
33338 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33340         [BZ #16758]
33341         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
33342         blank values.
33344 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
33346         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
33348 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
33350         [BZ #16198]
33351         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
33352         fnstenv.
33353         * math/test-fenv-preserve.c: New file.
33354         * math/Makefile (tests): Add test-fenv-preserve.
33356 2014-03-26  Will Newton <will.newton@linaro.org>
33358         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
33360 2014-03-25  Roland McGrath  <roland@hack.frob.com>
33362         * scripts/versionlist.awk: Partition the version sets and emit all
33363         GLIBC_* (sorted) before all others (sorted).
33365 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33367         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
33368         GLIBC_2.2.5 version.
33370 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33372         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
33373         calls.
33375         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
33376         previous change.
33378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33380 2014-03-25  Andreas Schwab  <schwab@suse.de>
33382         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
33383         label to be used after in6ailist is initialized.
33385 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33387         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33388         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33390 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33392         [BZ #16357]
33393         [BZ #16599]
33394         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
33395         min_plus_half.
33396         (fp_formats): Update initializers.
33397         (init_fp_formats): Initialize new field.
33398         (output_for_one_input_case): Allow underflow for results up to
33399         min_plus_half.
33400         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
33401         * math/auto-libm-test-in: Don't mark some underflows from asin and
33402         atanh as spurious.
33403         * math/auto-libm-test-out: Regenerated.
33404         * sysdeps/i386/fpu/libm-test-ulps: Update.
33405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33407 2014-03-25  Andreas Schwab  <schwab@suse.de>
33409         * libio/Makefile (tst-ftell-partial-wide-ENV)
33410         (tst-ftell-active-handler-ENV): Define.
33412 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
33414         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
33416 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33418         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
33420 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33422         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
33423         * sysdeps/x86_64/fpu/multiarch/e_exp.c
33424         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
33426 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33428         [BZ #16634]
33429         * elf/dl-load.c (open_verify): Add mode parameter.
33430         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
33431         (open_path): Change from boolean 'secure' to complete flag 'mode'
33432         (_dl_map_object): Adjust.
33433         * elf/Makefile (tests): Add tst-dlopen-aout.
33434         * elf/tst-dlopen-aout.c: New test.
33436 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
33438         [BZ #16714]
33439         * sysdeps/unix/sysv/linux/s390/bits/stat.h
33440         (struct stat): Rename member pad0 to __glibc_reserved0.
33442         [BZ #16712]
33443         * sysdeps/s390/s390-32/bits/wordsize.h
33444         (__WORDSIZE32_SIZE_ULONG): New define.
33445         * sysdeps/s390/s390-64/bits/wordsize.h
33446         (__WORDSIZE32_SIZE_ULONG): Likewise.
33447         * sysdeps/generic/stdint.h (SIZE_MAX):
33448         Define as UL if __WORDSIZE32_SIZE_ULONG.
33450         [BZ #16713]
33451         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33452         (__glibc_reserved0): New variable.
33453         (sa_flags): Change type to int.
33455         * posix/Makefile (before-compile): Use += before-compile instead
33456         of a :=.
33458         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33459         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33461 2014-03-20  Andreas Schwab  <schwab@suse.de>
33463         [BZ #16743]
33464         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
33465         non-matching result from nscd.
33467 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33469         * scripts/bench.py: Moved to ...
33470         * benchtests/scripts/bench.py: ... here.
33471         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
33473 2014-03-24  Andreas Schwab  <schwab@suse.de>
33475         [BZ #16002]
33476         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
33477         alloca_account and account alloca use for struct in6ailist.
33479 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33481         [BZ #16284]
33482         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
33483         rounding mode to recompute results that overflow to infinity or
33484         underflow to zero.
33485         * math/auto-libm-test-in: Don't mark tests as expected to fail for
33486         bug 16284.
33487         * math/auto-libm-test-out: Regenerated.
33488         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
33489         (ccosh_test): Likewise.
33490         (csin_test_data): Use plus_oflow.
33491         (csin_test): Use ALL_RM_TEST.
33492         (csinh_test_data): Use plus_oflow.
33493         (csinh_test): Use ALL_RM_TEST.
33494         * sysdeps/i386/fpu/libm-test-ulps: Update.
33495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33497 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
33499         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
33500         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
33501         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
33503         [BZ #16731]
33504         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
33505         when x - 1 is zero.
33506         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
33507         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
33508         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33509         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
33510         argument is 1.
33511         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
33512         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
33513         zero.
33514         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
33515         * sysdeps/i386/fpu/libm-test-ulps: Update.
33516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33518 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33520         * scripts/bench.pl: Remove file.
33521         * scripts/bench.py: New benchmark script.
33522         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
33523         * benchtests/README: Mention python dependency.
33524         * scripts/pylintrc: New file.
33525         * scripts/pylint: New file.
33527         * bits/mathdef.h: Use #ifdef instead of #if.
33528         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
33529         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33530         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
33531         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33532         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
33533         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33535 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33536             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33538         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
33539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
33540         and strpbrk-ppc64 objects.
33541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33542         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
33543         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
33544         multiarch strpbrk for POWER7.
33545         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
33546         multiarch strpbrk for PPC64.
33547         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
33548         ifunc selector.
33549         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
33550         strpbrk for POWER7.
33552 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33554         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
33555         (atan_test): Likewise.
33556         (atanh_test_data): Use NO_TEST_INLINE for two tests.
33557         (atanh_test): Use ALL_RM_TEST.
33558         (atan2_test_data): Likewise.
33559         (cabs_test): Likewise.
33560         (cacosh_test): Likewise.
33561         (carg_test): Likewise.
33562         (casin_test): Likewise.
33563         (casinh_test): Likewise.
33564         (cbrt_test): Likewise.
33565         (csqrt_test): Likewise.
33566         (erf_test): Likewise.
33567         (erfc_test): Likewise.
33568         (pow10_test): Likewise.
33569         (exp2_test): Likewise.
33570         (hypot_test): Likewise.
33571         (j0_test): Likewise.
33572         (j1_test): Likewise.
33573         (lgamma_test): Likewise.
33574         (gamma_test): Likewise.
33575         (sincos_test): Likewise.
33576         (tanh_test): Likewise.
33577         (y0_test): Likewise.
33578         (y1_test): Likewise.
33579         * sysdeps/i386/fpu/libm-test-ulps: Update.
33580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33582 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33584         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
33585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
33586         and strcspn-ppc64 objects.
33587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33588         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
33589         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
33590         multiarch strcspn for POWER7.
33591         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
33592         multiarch strcspn for PPC64.
33593         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
33594         ifunc selector.
33595         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
33596         strcspn for POWER7.
33598 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33600         * math/gen-libm-test.pl (generate_testfile): Expect only function
33601         name as argument to AUTO_TESTS_* and pass results for all rounding
33602         modes to parse_args.
33603         (parse_auto_input): Separate inputs of automatic tests from
33604         outputs before storing in %auto_tests.
33605         * math/libm-test.inc (acos_test_data): Update call to
33606         AUTO_TESTS_f_f.
33607         (acos_test): Use ALL_RM_TEST.
33608         (acos_tonearest_test_data): Remove.
33609         (acos_test_tonearest): Likewise.
33610         (acos_towardzero_test_data): Likewise.
33611         (acos_test_towardzero): Likewise.
33612         (acos_downward_test_data): Likewise.
33613         (acos_test_downward): Likewise.
33614         (acos_upward_test_data): Likewise.
33615         (acos_test_upward): Likewise.
33616         (acosh_test_data): Update call to AUTO_TESTS_f_f.
33617         (asin_test_data): Likewise.
33618         (asin_test): Use ALL_RM_TEST.
33619         (asin_tonearest_test_data): Remove.
33620         (asin_test_tonearest): Likewise.
33621         (asin_towardzero_test_data): Likewise.
33622         (asin_test_towardzero): Likewise.
33623         (asin_downward_test_data): Likewise.
33624         (asin_test_downward): Likewise.
33625         (asin_upward_test_data): Likewise.
33626         (asin_test_upward): Likewise.
33627         (asinh_test_data): Update call to AUTO_TESTS_f_f.
33628         (atan_test_data): Likewise.
33629         (atanh_test_data): Likewise.
33630         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
33631         (cabs_test_data): Update call to AUTO_TESTS_c_f.
33632         (carg_test_data): Likewise.
33633         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
33634         (ccos_test_data): Update call to AUTO_TESTS_c_c.
33635         (ccosh_test_data): Likewise.
33636         (cexp_test_data): Likewise.
33637         (clog_test_data): Likewise.
33638         (clog10_test_data): Likewise.
33639         (cos_test_data): Update call to AUTO_TESTS_f_f.
33640         (cos_test): Use ALL_RM_TEST.
33641         (cos_tonearest_test_data): Remove.
33642         (cos_test_tonearest): Likewise.
33643         (cos_towardzero_test_data): Likewise.
33644         (cos_test_towardzero): Likewise.
33645         (cos_downward_test_data): Likewise.
33646         (cos_test_downward): Likewise.
33647         (cos_upward_test_data): Likewise.
33648         (cos_test_upward): Likewise.
33649         (cosh_test_data): Update call to AUTO_TESTS_f_f.
33650         (cosh_test): Use ALL_RM_TEST.
33651         (cosh_tonearest_test_data): Remove.
33652         (cosh_test_tonearest): Likewise.
33653         (cosh_towardzero_test_data): Likewise.
33654         (cosh_test_towardzero): Likewise.
33655         (cosh_downward_test_data): Likewise.
33656         (cosh_test_downward): Likewise.
33657         (cosh_upward_test_data): Likewise.
33658         (cosh_test_upward): Likewise.
33659         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
33660         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
33661         (ctan_test_data): Likewise.
33662         (ctan_test): Use ALL_RM_TEST.
33663         (ctan_tonearest_test_data): Remove.
33664         (ctan_test_tonearest): Likewise.
33665         (ctan_towardzero_test_data): Likewise.
33666         (ctan_test_towardzero): Likewise.
33667         (ctan_downward_test_data): Likewise.
33668         (ctan_test_downward): Likewise.
33669         (ctan_upward_test_data): Likewise.
33670         (ctan_test_upward): Likewise.
33671         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
33672         (ctanh_test): Use ALL_RM_TEST.
33673         (ctanh_tonearest_test_data): Remove.
33674         (ctanh_test_tonearest): Likewise.
33675         (ctanh_towardzero_test_data): Likewise.
33676         (ctanh_test_towardzero): Likewise.
33677         (ctanh_downward_test_data): Likewise.
33678         (ctanh_test_downward): Likewise.
33679         (ctanh_upward_test_data): Likewise.
33680         (ctanh_test_upward): Likewise.
33681         (erf_test_data): Update call to AUTO_TESTS_f_f.
33682         (erfc_test_data): Likewise.
33683         (exp_test_data): Likewise.
33684         (exp_test): Use ALL_RM_TEST.
33685         (exp_tonearest_test_data): Remove.
33686         (exp_test_tonearest): Likewise.
33687         (exp_towardzero_test_data): Likewise.
33688         (exp_test_towardzero): Likewise.
33689         (exp_downward_test_data): Likewise.
33690         (exp_test_downward): Likewise.
33691         (exp_upward_test_data): Likewise.
33692         (exp_test_upward): Likewise.
33693         (exp10_test_data): Update call to AUTO_TESTS_f_f.
33694         (exp10_test): Use ALL_RM_TEST.
33695         (exp10_tonearest_test_data): Remove.
33696         (exp10_test_tonearest): Likewise.
33697         (exp10_towardzero_test_data): Likewise.
33698         (exp10_test_towardzero): Likewise.
33699         (exp10_downward_test_data): Likewise.
33700         (exp10_test_downward): Likewise.
33701         (exp10_upward_test_data): Likewise.
33702         (exp10_test_upward): Likewise.
33703         (exp2_test_data): Update call to AUTO_TESTS_f_f.
33704         (expm1_test_data): Likewise.
33705         (expm1_test): Use ALL_RM_TEST.
33706         (expm1_tonearest_test_data): Remove.
33707         (expm1_test_tonearest): Likewise.
33708         (expm1_towardzero_test_data): Likewise.
33709         (expm1_test_towardzero): Likewise.
33710         (expm1_downward_test_data): Likewise.
33711         (expm1_test_downward): Likewise.
33712         (expm1_upward_test_data): Likewise.
33713         (expm1_test_upward): Likewise.
33714         (fma_test_data): Update call to AUTO_TESTS_fff_f.
33715         (fma_test): Use ALL_RM_TEST.
33716         (fma_towardzero_test_data): Remove.
33717         (fma_test_towardzero): Likewise.
33718         (fma_downward_test_data): Likewise.
33719         (fma_test_downward): Likewise.
33720         (fma_upward_test_data): Likewise.
33721         (fma_test_upward): Likewise.
33722         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
33723         (j0_test_data): Update call to AUTO_TESTS_f_f.
33724         (j1_test_data): Likewise.
33725         (jn_test_data): Update call to AUTO_TESTS_if_f.
33726         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
33727         (log_test_data): Update call to AUTO_TESTS_f_f.
33728         (log10_test_data): Likewise.
33729         (log1p_test_data): Likewise.
33730         (log2_test_data): Likewise.
33731         (pow_test_data): Update call to AUTO_TESTS_ff_f.
33732         (pow_tonearest_test_data): Likewise.
33733         (sin_test_data): Update call to AUTO_TESTS_f_f.
33734         (sin_test): Use ALL_RM_TEST.
33735         (sin_tonearest_test_data): Remove.
33736         (sin_test_tonearest): Likewise.
33737         (sin_towardzero_test_data): Likewise.
33738         (sin_test_towardzero): Likewise.
33739         (sin_downward_test_data): Likewise.
33740         (sin_test_downward): Likewise.
33741         (sin_upward_test_data): Likewise.
33742         (sin_test_upward): Likewise.
33743         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
33744         (sinh_test_data): Update call to AUTO_TESTS_f_f.
33745         (sinh_test): Use ALL_RM_TEST.
33746         (sinh_tonearest_test_data): Remove.
33747         (sinh_test_tonearest): Likewise.
33748         (sinh_towardzero_test_data): Likewise.
33749         (sinh_test_towardzero): Likewise.
33750         (sinh_downward_test_data): Likewise.
33751         (sinh_test_downward): Likewise.
33752         (sinh_upward_test_data): Likewise.
33753         (sinh_test_upward): Likewise.
33754         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
33755         (sqrt_test): Use ALL_RM_TEST.
33756         (sqrt_tonearest_test_data): Remove.
33757         (sqrt_test_tonearest): Likewise.
33758         (sqrt_towardzero_test_data): Likewise.
33759         (sqrt_test_towardzero): Likewise.
33760         (sqrt_downward_test_data): Likewise.
33761         (sqrt_test_downward): Likewise.
33762         (sqrt_upward_test_data): Likewise.
33763         (sqrt_test_upward): Likewise.
33764         (tan_test_data): Update call to AUTO_TESTS_f_f.
33765         (tan_test): Use ALL_RM_TEST.
33766         (tan_tonearest_test_data): Remove.
33767         (tan_test_tonearest): Likewise.
33768         (tan_towardzero_test_data): Likewise.
33769         (tan_test_towardzero): Likewise.
33770         (tan_downward_test_data): Likewise.
33771         (tan_test_downward): Likewise.
33772         (tan_upward_test_data): Likewise.
33773         (tan_test_upward): Likewise.
33774         (tanh_test_data): Update call to AUTO_TESTS_f_f.
33775         (tgamma_test_data): Likewise.
33776         (y0_test_data): Likewise.
33777         (y1_test_data): Likewise.
33778         (yn_test_data): Update call to AUTO_TESTS_if_f.
33779         (main): Do not call removed functions.
33781 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33783         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
33784         (ldexp_test_data): Remove.
33785         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
33786         scalbn_test_data.
33787         (scalb_test): Use ALL_RM_TEST.
33789 2014-03-19  Andreas Schwab  <schwab@suse.de>
33791         * nscd/nscd.service: Also invalidate netgroup cache on reload.
33793 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33795         [BZ #16649]
33796         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33797         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
33798         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
33799         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33800         (__ASSUME_PREADV): Undefine.
33801         (__ASSUME_PWRITEV): Likewise.
33803 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33805         * bits/mman-linux.h: Add comment about non-Linux use.
33806         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
33807         bits/mman-linux.h resting place.
33809         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
33810         * bits/mman-linux.h: ... here.
33812 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33814         * conform/conformtest.pl: Add standard definition when calling C
33815         preprocessor on data files.
33816         (checknamespace): Remove unused variable.
33818 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33820         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
33821         minus_oflow, plus_uflow and minus_uflow in expected results.
33822         * math/libm-test.inc (scalbn_test_data): Add more tests of
33823         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
33824         minus_uflow.
33825         (scalbn_test): Use ALL_RM_TEST.
33826         (scalbln_test_data): Add more tests of negative arguments.  Use
33827         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
33828         (scalbln_test): Use ALL_RM_TEST.
33830 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33832         * scripts/abilist.awk: Ignore symbols marked with .hidden.
33834 2014-03-18  Will Newton  <will.newton@linaro.org>
33836         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
33837         inaccurate comment.
33839 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33841         * Makerules [!subdir] (check-abi): Exit with error status if a
33842         test failed.
33844 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33846         * math/libm-test.inc (nearbyint_test_data): Include all tests used
33847         for rint.  Include results for all rounding modes.
33848         (nearbyint_test): Use ALL_RM_TEST.
33849         (rint_test_data): Include all tests used for nearbyint.
33851 2014-03-17  Will Newton  <will.newton@linaro.org>
33853         * nptl/sysdeps/pthread/pthread.h: Revert previous
33854         change.
33856         * sysdeps/generic/ldsodefs.h: Revert previous
33857         change.
33859         * libio/genops.c: Revert previous change.
33860         * libio/libioP.h: Likewise.
33861         * stdio-common/vfprintf.c: Likewise.
33863         * sysdeps/generic/math_private.h: Revert previous
33864         change.
33866         * sysdeps/generic/math_private.h: Check whether
33867         HAVE_RM_CTX is defined with #ifdef rather
33868         than #if.
33870         * argp/argp-fmtstream.h: Check whether
33871         __STRICT_ANSI__ is defined with #ifdef rather
33872         than #if.
33873         * argp/argp.h: Likewise.
33875         * libio/genops.c: Check whether
33876         _IO_JUMPS_OFFSET is defined with #ifdef rather
33877         than #if.
33878         * libio/libioP.h: Likewise.
33879         * stdio-common/vfprintf.c: Likewise.
33881         * sysdeps/generic/ldsodefs.h: Check whether
33882         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
33883         than #if.
33885         * nptl/sysdeps/pthread/pthread.h: Check
33886         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
33887         its value.
33889 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33891         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
33892         setting O_APPEND.
33893         * libio/tst-ftell-active-handler.c (do_append_test): Add a
33894         test case.
33896         [BZ #16680]
33897         * libio/fileops.c (_IO_file_open): Seek to end of file but
33898         don't cache the offset.
33899         (get_file_offset): Remove function.
33900         (do_ftell): Use cached offset when available.
33901         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
33902         don't cache the offset.
33903         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
33904         case.
33905         (do_one_test): Call it.
33906         (do_ftell_test): Fix up expected old offset for a+ mode.
33907         * libio/wfileops.c (do_ftell_wide): Used cached offset when
33908         available.
33910         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
33911         up test status with function return status.
33912         (do_write_test): Likewise.
33913         (do_append_test): Likewise.
33915         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
33916         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
33917         Remove.
33919 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33921         * math/gen-libm-test.pl (parse_args): Handle results specified for
33922         each rounding mode separately.
33923         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
33924         tests and results from lrint_tonearest_test_data,
33925         lrint_towardzero_test_data, lrint_downward_test_data and
33926         lrint_upward_test_data.
33927         (lrint_test): Use ALL_RM_TEST.
33928         (lrint_tonearest_test_data): Remove.
33929         (lrint_test_tonearest): Likewise.
33930         (lrint_towardzero_test_data): Likewise.
33931         (lrint_test_towardzero): Likewise.
33932         (lrint_downward_test_data): Likewise.
33933         (lrint_test_downward): Likewise.
33934         (lrint_upward_test_data): Likewise.
33935         (lrint_test_upward): Likewise.
33936         (llrint_test_data): Merge in per-rounding-mode tests and results
33937         from llrint_tonearest_test_data, llrint_towardzero_test_data,
33938         llrint_downward_test_data and llrint_upward_test_data.
33939         (llrint_test): Use ALL_RM_TEST.
33940         (llrint_tonearest_test_data): Remove.
33941         (llrint_test_tonearest): Likewise.
33942         (llrint_towardzero_test_data): Likewise.
33943         (llrint_test_towardzero): Likewise.
33944         (llrint_downward_test_data): Likewise.
33945         (llrint_test_downward): Likewise.
33946         (llrint_upward_test_data): Likewise.
33947         (llrint_test_upward): Likewise.
33948         (rint_test_data): Merge in per-rounding-mode tests and results
33949         from rint_tonearest_test_data, rint_towardzero_test_data,
33950         rint_downward_test_data and rint_upward_test_data.  Add
33951         per-rounding-mode results for tests not in those arrays.
33952         (rint_test): Use ALL_RM_TEST.
33953         (rint_tonearest_test_data): Remove.
33954         (rint_test_tonearest): Likewise.
33955         (rint_towardzero_test_data): Likewise.
33956         (rint_test_towardzero): Likewise.
33957         (rint_downward_test_data): Likewise.
33958         (rint_test_downward): Likewise.
33959         (rint_upward_test_data): Likewise.
33960         (rint_test_upward): Likewise.
33961         (main): Don't call removed functions.
33963 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33965         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
33966         "Compiled on ..." crapola.  It is anti-useful.
33968 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
33970         * scripts/evaluate-test.sh: Handle fourth argument to determine
33971         whether test run should stop on failure.
33972         * Makeconfig (stop-on-test-failure): New variable.
33973         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
33974         $(stop-on-test-failure).
33975         * Makefile (tests): Give a summary of results from testing and
33976         exit with failure status if they include an ERROR or FAIL.
33977         (xtests): Likewise.
33978         * manual/install.texi (Configuring and compiling): Mention
33979         stop-on-test-failure=y.
33980         * INSTALL: Regenerated.
33982 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33984         * scripts/versionlist.awk: New file.
33985         * Makerules [$(build-shared) = yes]
33986         (postclean-generated): Add Versions.def, not Versions.def.v and
33987         Versions.def.v.i.
33988         ($(common-objpfx)Versions.def.v.i): Target removed.
33989         ($(common-objpfx)Versions.def): New target.
33990         ($(common-objpfx)Versions.all): Depend on that rather that
33991         $(common-objpfx)Versions.def.v.
33992         * Versions.def: File removed.
33994         * Makeconfig (+gccwarn): Add -Wundef.
33995         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
33996         a dl-sysdep.h breaking its contract.
33997         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
33998         * include/stackinfo.h: New file.
33999         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
34000         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
34001         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
34002         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
34003         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
34004         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
34005         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34006         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34007         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34008         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34009         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34010         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
34011         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34012         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34013         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34015 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34017         [BZ #16707]
34018         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
34019         implementation.
34020         * math/libm-test.inc (round_test_data): Add more tests.
34022         [BZ #16706]
34023         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
34024         implementation.
34025         * math/libm-test.inc (nearbyint_test_data): Add more tests.
34027         [BZ #16701]
34028         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
34029         implementation.
34030         * math/libm-test.inc (ceil_test_data): Add more tests.
34032         * math/libm-test.inc (trunc_test_data): Add more tests related to
34033         BZ#16414.
34035 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34037         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
34038         with #if rather than #ifdef.
34039         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
34041 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
34043         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
34044         first.  Disable AVX-512 GCC support if assembler doesn't support
34045         it.
34046         * sysdeps/x86_64/configure: Regenerated.
34048 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
34050         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
34051         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
34052         (__old_pthread_attr_setstack): Likewise.
34053         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
34054         [!_STACK_GROWS_DOWN]: Likewise.
34056 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
34058         * config.make.in (have-bash2): Delete.
34059         * configure.ac (libc_cv_have_bash2): Delete.
34060         * configure: Regenerate.
34061         * elf/Makefile (common-ldd-rewrite): Rename to ...
34062         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
34063         (sh-ldd-rewrite): Delete.
34064         (bash-ldd-rewrite): Delete.
34065         (have-bash2): Delete checks.
34066         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
34067         ldd-rewrite.
34069         * config.make.in (have-ksh): Delete.
34070         (KSH): Delete.
34071         * configure.ac (libc_cv_have_ksh): Delete.
34072         * configure: Regenerate.
34074         * elf/Makefile: Delete $(have-ksh) check.
34075         ($(objpfx)sotruss): Change KSH to BASH.
34076         * elf/sotruss.ksh: Rename to ...
34077         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
34078         function style to match POSIX.  Drop ksh vim mode setting.
34080         * manual/time.texi (Specifying the Time Zone with TZ): Change
34081         Tuesday to Thursday.
34083         * debug/tst-longjmp_chk2.c: Update header comment.
34084         (stackoverflow_handler): Add comment.  Call assert on pass value.
34086 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
34088         [BZ #16194]
34089         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
34090         (HAVE_AVX512_ASM_SUPPORT): Likewise.
34091         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
34092         (La_x86_64_vector): Add zmm.
34093         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
34094         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
34095         ($(objpfx)tst-audit10): New target.
34096         ($(objpfx)tst-audit10.out): Likewise.
34097         (tst-audit10-ENV): New.
34098         (AVX512-CFLAGS): Likewise.
34099         (CFLAGS-tst-audit10.c): Likewise.
34100         (CFLAGS-tst-auditmod10a.c): Likewise.
34101         (CFLAGS-tst-auditmod10b.c): Likewise.
34102         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
34103         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
34104         * sysdeps/x86_64/configure: Regenerated.
34105         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
34106         AVX-512 zmm register support.
34107         (_dl_x86_64_save_sse): Likewise.
34108         (_dl_x86_64_restore_sse): Likewise.
34109         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
34110         size vector registers.
34111         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
34112         (ZMM_SIZE): Likewise.
34113         * sysdeps/x86_64/tst-audit10.c: New file.
34114         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
34115         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
34117 2014-03-13  Roland McGrath  <roland@hack.frob.com>
34119         * configure.ac (HAVE_EHDR_START): New check.
34120         * configure: Regenerated.
34121         * config.h.in (HAVE_EHDR_START): New #undef.
34122         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
34123         assuming the lowest-addressed segment maps the start of the file.
34125 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
34127         * INSTALL: Regenerated.
34129 2014-03-13  Will Newton  <will.newton@linaro.org>
34131         * manual/setjmp.texi (System V contexts): Improve
34132         clarity and grammar of documentation.
34134 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
34136         [BZ #16381]
34137         * elf/Makefile (tests): Add tst-pie2.
34138         (tests-pie): Add tst-pie2.
34139         * elf/tst-pie2.c: New file.
34140         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
34141         for ET_EXEC.
34142         * elf/rtld.c (map_doit): Load executable as lt_executable.
34143         (dl_main): Likewise.
34145 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
34147         [BZ #16642]
34148         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34149         (__ASSUME_PSELECT): Undefine.
34151 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34153         [BZ #16689]
34154         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
34155         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
34156         static build.
34157         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
34158         selector for static builds.
34160 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34162         [BZ #16695]
34163         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
34164         key in the buffer.
34166 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34168         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
34169         IFUNC selector for static builds.
34171 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
34173         * sysdeps/mips/math_private.h [__mips_hard_float]
34174         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
34175         libc_feresetround_mips_ctx.
34176         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
34177         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
34178         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
34180         [BZ #16677]
34181         * math/s_nextafter.c (__nextafter): Do not return value from
34182         overflowing computation.
34183         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34184         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
34185         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34186         Likewise.
34187         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
34188         Likewise.
34189         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34190         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
34192 2014-03-11  Roland McGrath  <roland@hack.frob.com>
34194         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
34195         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
34196         Move sfi_sp use from the load-multiple (that no longer sets sp) to
34197         the new mov targetting sp.
34199 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34201         [BZ #16683]
34202         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
34203         Define it for static builds as well.
34204         (NO_BZERO_IMPL): Likewise.
34206 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34208         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
34209         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
34210         multiarch strspn for PPC64.
34211         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
34212         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
34213         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34214         (__libc_ifunc_impl_list): Likewise.
34215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
34216         multiarch optimizations
34217         * string/strspn.c (strspn): Using macro to redefine symbol name.
34219 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34220             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34222         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
34223         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
34224         multiarch strncat for PPC64.
34225         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
34226         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
34227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34228         (__libc_ifunc_impl_list): Likewise.
34229         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
34230         multiarch optimizations
34232 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34234         [BZ #16639]
34235         * nscd/nscd.service: Make service type forking.
34237 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34239         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
34240         sign in non default rounding modes.
34241         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
34243 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
34245         * math/libm-test.inc (ALL_RM_TEST): New macro.
34246         (ceil_test): Use ALL_RM_TEST.
34247         (cimag_test): Likewise.
34248         (conj_test): Likewise.
34249         (copysign_test): Likewise.
34250         (cproj_test): Likewise.
34251         (creal_test): Likewise.
34252         (fabs_test): Likewise.
34253         (floor_test): Likewise.
34254         (fmax_test): Likewise.
34255         (fmin_test): Likewise.
34256         (fmod_test): Likewise.
34257         (fpclassify_test): Likewise.
34258         (frexp_test): Likewise.
34259         (ilogb_test): Likewise.
34260         (isfinite_test): Likewise.
34261         (finite_test): Likewise.
34262         (isgreater_test): Likewise.
34263         (isgreaterequal_test): Likewise.
34264         (isinf_test): Likewise.
34265         (isless_test): Likewise.
34266         (islessequal_test): Likewise.
34267         (islessgreater_test): Likewise.
34268         (isnan_test): Likewise.
34269         (isnormal_test): Likewise.
34270         (issignaling_test): Likewise.
34271         (isunordered_test): Likewise.
34272         (logb_test): Likewise.
34273         (logb_downward_test_data): Remove.
34274         (logb_test_downward): Likewise.
34275         (lround_test): Use ALL_RM_TEST.
34276         (llround_test): Likewise.
34277         (modf_test): Likewise.
34278         (nexttoward_test): Likewise.
34279         (remainder_test): Likewise.
34280         (drem_test): Likewise.
34281         (remainder_tonearest_test_data): Likewise.
34282         (remainder_test_tonearest): Likewise.
34283         (drem_test_tonearest): Likewise.
34284         (remainder_towardzero_test_data): Likewise.
34285         (remainder_test_towardzero): Likewise.
34286         (drem_test_towardzero): Likewise.
34287         (remainder_downward_test_data): Likewise.
34288         (remainder_test_downward): Likewise.
34289         (drem_test_downward): Likewise.
34290         (remainder_upward_test_data): Likewise.
34291         (remainder_test_upward): Likewise.
34292         (drem_test_upward): Likewise.
34293         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
34294         (round_test): Use ALL_RM_TEST.
34295         (signbit_test): Likewise.
34296         (trunc_test): Likewise.
34297         (significand_test): Likewise.
34298         (main): Don't call removed functions.
34300 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34302         [BZ #16674]
34303         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
34304         || __USE_XOPEN2K8].
34305         (ILL_ILLOPN): Likewise.
34306         (ILL_ILLADR): Likewise.
34307         (ILL_ILLTRP): Likewise.
34308         (ILL_PRVOPC): Likewise.
34309         (ILL_PRVREG): Likewise.
34310         (ILL_COPROC): Likewise.
34311         (ILL_BADSTK): Likewise.
34312         (FPE_INTDIV): Likewise.
34313         (FPE_INTOVF): Likewise.
34314         (FPE_FLTDIV): Likewise.
34315         (FPE_FLTOVF): Likewise.
34316         (FPE_FLTUND): Likewise.
34317         (FPE_FLTRES): Likewise.
34318         (FPE_FLTINV): Likewise.
34319         (FPE_FLTSUB): Likewise.
34320         (SEGV_MAPERR): Likewise.
34321         (SEGV_ACCERR): Likewise.
34322         (BUS_ADRALN): Likewise.
34323         (BUS_ADRERR): Likewise.
34324         (BUS_OBJERR): Likewise.
34325         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34326         (TRAP_TRACE): Likewise.
34327         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34328         __USE_XOPEN2K8].
34329         (CLD_KILLED): Likewise.
34330         (CLD_DUMPED): Likewise.
34331         (CLD_TRAPPED): Likewise.
34332         (CLD_STOPPED): Likewise.
34333         (CLD_CONTINUED): Likewise.
34334         (POLL_IN): Likewise.
34335         (POLL_OUT): Likewise.
34336         (POLL_MSG): Likewise.
34337         (POLL_ERR): Likewise.
34338         (POLL_PRI): Likewise.
34339         (POLL_HUP): Likewise.
34340         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
34341         Likewise.
34342         (ILL_ILLOPN): Likewise.
34343         (ILL_ILLADR): Likewise.
34344         (ILL_ILLTRP): Likewise.
34345         (ILL_PRVOPC): Likewise.
34346         (ILL_PRVREG): Likewise.
34347         (ILL_COPROC): Likewise.
34348         (ILL_BADSTK): Likewise.
34349         (FPE_INTDIV): Likewise.
34350         (FPE_INTOVF): Likewise.
34351         (FPE_FLTDIV): Likewise.
34352         (FPE_FLTOVF): Likewise.
34353         (FPE_FLTUND): Likewise.
34354         (FPE_FLTRES): Likewise.
34355         (FPE_FLTINV): Likewise.
34356         (FPE_FLTSUB): Likewise.
34357         (SEGV_MAPERR): Likewise.
34358         (SEGV_ACCERR): Likewise.
34359         (BUS_ADRALN): Likewise.
34360         (BUS_ADRERR): Likewise.
34361         (BUS_OBJERR): Likewise.
34362         (BUS_MCEERR_AR): Likewise.
34363         (BUS_MCEERR_AO): Likewise.
34364         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34365         (TRAP_TRACE): Likewise.
34366         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34367         __USE_XOPEN2K8].
34368         (CLD_KILLED): Likewise.
34369         (CLD_DUMPED): Likewise.
34370         (CLD_TRAPPED): Likewise.
34371         (CLD_STOPPED): Likewise.
34372         (CLD_CONTINUED): Likewise.
34373         (POLL_IN): Likewise.
34374         (POLL_OUT): Likewise.
34375         (POLL_MSG): Likewise.
34376         (POLL_ERR): Likewise.
34377         (POLL_PRI): Likewise.
34378         (POLL_HUP): Likewise.
34379         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
34380         (ILL_ILLOPN): Likewise.
34381         (ILL_ILLADR): Likewise.
34382         (ILL_ILLTRP): Likewise.
34383         (ILL_PRVOPC): Likewise.
34384         (ILL_PRVREG): Likewise.
34385         (ILL_COPROC): Likewise.
34386         (ILL_BADSTK): Likewise.
34387         (FPE_INTDIV): Likewise.
34388         (FPE_INTOVF): Likewise.
34389         (FPE_FLTDIV): Likewise.
34390         (FPE_FLTOVF): Likewise.
34391         (FPE_FLTUND): Likewise.
34392         (FPE_FLTRES): Likewise.
34393         (FPE_FLTINV): Likewise.
34394         (FPE_FLTSUB): Likewise.
34395         (SEGV_MAPERR): Likewise.
34396         (SEGV_ACCERR): Likewise.
34397         (BUS_ADRALN): Likewise.
34398         (BUS_ADRERR): Likewise.
34399         (BUS_OBJERR): Likewise.
34400         (BUS_MCEERR_AR): Likewise.
34401         (BUS_MCEERR_AO): Likewise.
34402         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34403         (TRAP_TRACE): Likewise.
34404         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34405         __USE_XOPEN2K8].
34406         (CLD_KILLED): Likewise.
34407         (CLD_DUMPED): Likewise.
34408         (CLD_TRAPPED): Likewise.
34409         (CLD_STOPPED): Likewise.
34410         (CLD_CONTINUED): Likewise.
34411         (POLL_IN): Likewise.
34412         (POLL_OUT): Likewise.
34413         (POLL_MSG): Likewise.
34414         (POLL_ERR): Likewise.
34415         (POLL_PRI): Likewise.
34416         (POLL_HUP): Likewise.
34417         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
34418         Likewise.
34419         (ILL_ILLOPN): Likewise.
34420         (ILL_ILLADR): Likewise.
34421         (ILL_ILLTRP): Likewise.
34422         (ILL_PRVOPC): Likewise.
34423         (ILL_PRVREG): Likewise.
34424         (ILL_COPROC): Likewise.
34425         (ILL_BADSTK): Likewise.
34426         (ILL_BADIADDR): Likewise.
34427         (ILL_BREAK): Likewise.
34428         (FPE_INTDIV): Likewise.
34429         (FPE_INTOVF): Likewise.
34430         (FPE_FLTDIV): Likewise.
34431         (FPE_FLTOVF): Likewise.
34432         (FPE_FLTUND): Likewise.
34433         (FPE_FLTRES): Likewise.
34434         (FPE_FLTINV): Likewise.
34435         (FPE_FLTSUB): Likewise.
34436         (FPE_DECOVF): Likewise.
34437         (FPE_DECDIV): Likewise.
34438         (FPE_DECERR): Likewise.
34439         (FPE_INVASC): Likewise.
34440         (FPE_INVDEC): Likewise.
34441         (SEGV_MAPERR): Likewise.
34442         (SEGV_ACCERR): Likewise.
34443         (SEGV_PSTKOVF): Likewise.
34444         (BUS_ADRALN): Likewise.
34445         (BUS_ADRERR): Likewise.
34446         (BUS_OBJERR): Likewise.
34447         (BUS_MCEERR_AR): Likewise.
34448         (BUS_MCEERR_AO): Likewise.
34449         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34450         (TRAP_TRACE): Likewise.
34451         (TRAP_BRANCH): Likewise.
34452         (TRAP_HWBKPT): Likewise.
34453         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34454         __USE_XOPEN2K8].
34455         (CLD_KILLED): Likewise.
34456         (CLD_DUMPED): Likewise.
34457         (CLD_TRAPPED): Likewise.
34458         (CLD_STOPPED): Likewise.
34459         (CLD_CONTINUED): Likewise.
34460         (POLL_IN): Likewise.
34461         (POLL_OUT): Likewise.
34462         (POLL_MSG): Likewise.
34463         (POLL_ERR): Likewise.
34464         (POLL_PRI): Likewise.
34465         (POLL_HUP): Likewise.
34466         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
34467         (ILL_ILLOPN): Likewise.
34468         (ILL_ILLADR): Likewise.
34469         (ILL_ILLTRP): Likewise.
34470         (ILL_PRVOPC): Likewise.
34471         (ILL_PRVREG): Likewise.
34472         (ILL_COPROC): Likewise.
34473         (ILL_BADSTK): Likewise.
34474         (FPE_INTDIV): Likewise.
34475         (FPE_INTOVF): Likewise.
34476         (FPE_FLTDIV): Likewise.
34477         (FPE_FLTOVF): Likewise.
34478         (FPE_FLTUND): Likewise.
34479         (FPE_FLTRES): Likewise.
34480         (FPE_FLTINV): Likewise.
34481         (FPE_FLTSUB): Likewise.
34482         (SEGV_MAPERR): Likewise.
34483         (SEGV_ACCERR): Likewise.
34484         (BUS_ADRALN): Likewise.
34485         (BUS_ADRERR): Likewise.
34486         (BUS_OBJERR): Likewise.
34487         (BUS_MCEERR_AR): Likewise.
34488         (BUS_MCEERR_AO): Likewise.
34489         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34490         (TRAP_TRACE): Likewise.
34491         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34492         __USE_XOPEN2K8].
34493         (CLD_KILLED): Likewise.
34494         (CLD_DUMPED): Likewise.
34495         (CLD_TRAPPED): Likewise.
34496         (CLD_STOPPED): Likewise.
34497         (CLD_CONTINUED): Likewise.
34498         (POLL_IN): Likewise.
34499         (POLL_OUT): Likewise.
34500         (POLL_MSG): Likewise.
34501         (POLL_ERR): Likewise.
34502         (POLL_PRI): Likewise.
34503         (POLL_HUP): Likewise.
34504         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
34505         (ILL_ILLOPN): Likewise.
34506         (ILL_ILLADR): Likewise.
34507         (ILL_ILLTRP): Likewise.
34508         (ILL_PRVOPC): Likewise.
34509         (ILL_PRVREG): Likewise.
34510         (ILL_COPROC): Likewise.
34511         (ILL_BADSTK): Likewise.
34512         (FPE_INTDIV): Likewise.
34513         (FPE_INTOVF): Likewise.
34514         (FPE_FLTDIV): Likewise.
34515         (FPE_FLTOVF): Likewise.
34516         (FPE_FLTUND): Likewise.
34517         (FPE_FLTRES): Likewise.
34518         (FPE_FLTINV): Likewise.
34519         (FPE_FLTSUB): Likewise.
34520         (SEGV_MAPERR): Likewise.
34521         (SEGV_ACCERR): Likewise.
34522         (BUS_ADRALN): Likewise.
34523         (BUS_ADRERR): Likewise.
34524         (BUS_OBJERR): Likewise.
34525         (BUS_MCEERR_AR): Likewise.
34526         (BUS_MCEERR_AO): Likewise.
34527         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34528         (TRAP_TRACE): Likewise.
34529         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34530         __USE_XOPEN2K8].
34531         (CLD_KILLED): Likewise.
34532         (CLD_DUMPED): Likewise.
34533         (CLD_TRAPPED): Likewise.
34534         (CLD_STOPPED): Likewise.
34535         (CLD_CONTINUED): Likewise.
34536         (POLL_IN): Likewise.
34537         (POLL_OUT): Likewise.
34538         (POLL_MSG): Likewise.
34539         (POLL_ERR): Likewise.
34540         (POLL_PRI): Likewise.
34541         (POLL_HUP): Likewise.
34542         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
34543         (ILL_ILLOPN): Likewise.
34544         (ILL_ILLADR): Likewise.
34545         (ILL_ILLTRP): Likewise.
34546         (ILL_PRVOPC): Likewise.
34547         (ILL_PRVREG): Likewise.
34548         (ILL_COPROC): Likewise.
34549         (ILL_BADSTK): Likewise.
34550         (FPE_INTDIV): Likewise.
34551         (FPE_INTOVF): Likewise.
34552         (FPE_FLTDIV): Likewise.
34553         (FPE_FLTOVF): Likewise.
34554         (FPE_FLTUND): Likewise.
34555         (FPE_FLTRES): Likewise.
34556         (FPE_FLTINV): Likewise.
34557         (FPE_FLTSUB): Likewise.
34558         (SEGV_MAPERR): Likewise.
34559         (SEGV_ACCERR): Likewise.
34560         (BUS_ADRALN): Likewise.
34561         (BUS_ADRERR): Likewise.
34562         (BUS_OBJERR): Likewise.
34563         (BUS_MCEERR_AR): Likewise.
34564         (BUS_MCEERR_AO): Likewise.
34565         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34566         (TRAP_TRACE): Likewise.
34567         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34568         __USE_XOPEN2K8].
34569         (CLD_KILLED): Likewise.
34570         (CLD_DUMPED): Likewise.
34571         (CLD_TRAPPED): Likewise.
34572         (CLD_STOPPED): Likewise.
34573         (CLD_CONTINUED): Likewise.
34574         (POLL_IN): Likewise.
34575         (POLL_OUT): Likewise.
34576         (POLL_MSG): Likewise.
34577         (POLL_ERR): Likewise.
34578         (POLL_PRI): Likewise.
34579         (POLL_HUP): Likewise.
34580         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
34581         (ILL_ILLOPN): Likewise.
34582         (ILL_ILLADR): Likewise.
34583         (ILL_ILLTRP): Likewise.
34584         (ILL_PRVOPC): Likewise.
34585         (ILL_PRVREG): Likewise.
34586         (ILL_COPROC): Likewise.
34587         (ILL_BADSTK): Likewise.
34588         (ILL_DBLFLT): Likewise.
34589         (ILL_HARDWALL): Likewise.
34590         (FPE_INTDIV): Likewise.
34591         (FPE_INTOVF): Likewise.
34592         (FPE_FLTDIV): Likewise.
34593         (FPE_FLTOVF): Likewise.
34594         (FPE_FLTUND): Likewise.
34595         (FPE_FLTRES): Likewise.
34596         (FPE_FLTINV): Likewise.
34597         (FPE_FLTSUB): Likewise.
34598         (SEGV_MAPERR): Likewise.
34599         (SEGV_ACCERR): Likewise.
34600         (BUS_ADRALN): Likewise.
34601         (BUS_ADRERR): Likewise.
34602         (BUS_OBJERR): Likewise.
34603         (BUS_MCEERR_AR): Likewise.
34604         (BUS_MCEERR_AO): Likewise.
34605         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34606         (TRAP_TRACE): Likewise.
34607         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34608         __USE_XOPEN2K8].
34609         (CLD_KILLED): Likewise.
34610         (CLD_DUMPED): Likewise.
34611         (CLD_TRAPPED): Likewise.
34612         (CLD_STOPPED): Likewise.
34613         (CLD_CONTINUED): Likewise.
34614         (POLL_IN): Likewise.
34615         (POLL_OUT): Likewise.
34616         (POLL_MSG): Likewise.
34617         (POLL_ERR): Likewise.
34618         (POLL_PRI): Likewise.
34619         (POLL_HUP): Likewise.
34620         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
34621         (ILL_ILLOPN): Likewise.
34622         (ILL_ILLADR): Likewise.
34623         (ILL_ILLTRP): Likewise.
34624         (ILL_PRVOPC): Likewise.
34625         (ILL_PRVREG): Likewise.
34626         (ILL_COPROC): Likewise.
34627         (ILL_BADSTK): Likewise.
34628         (FPE_INTDIV): Likewise.
34629         (FPE_INTOVF): Likewise.
34630         (FPE_FLTDIV): Likewise.
34631         (FPE_FLTOVF): Likewise.
34632         (FPE_FLTUND): Likewise.
34633         (FPE_FLTRES): Likewise.
34634         (FPE_FLTINV): Likewise.
34635         (FPE_FLTSUB): Likewise.
34636         (SEGV_MAPERR): Likewise.
34637         (SEGV_ACCERR): Likewise.
34638         (BUS_ADRALN): Likewise.
34639         (BUS_ADRERR): Likewise.
34640         (BUS_OBJERR): Likewise.
34641         (BUS_MCEERR_AR): Likewise.
34642         (BUS_MCEERR_AO): Likewise.
34643         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34644         (TRAP_TRACE): Likewise.
34645         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34646         __USE_XOPEN2K8].
34647         (CLD_KILLED): Likewise.
34648         (CLD_DUMPED): Likewise.
34649         (CLD_TRAPPED): Likewise.
34650         (CLD_STOPPED): Likewise.
34651         (CLD_CONTINUED): Likewise.
34652         (POLL_IN): Likewise.
34653         (POLL_OUT): Likewise.
34654         (POLL_MSG): Likewise.
34655         (POLL_ERR): Likewise.
34656         (POLL_PRI): Likewise.
34657         (POLL_HUP): Likewise.
34658         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
34659         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34661         [BZ #16670]
34662         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
34663         before #include of <time.h>.
34664         [!__USE_XOPEN2K] (__need_timespec): Likewise.
34665         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
34666         (test-xfail-UNIX98/sched.h/conform): Likewise.
34668 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34670         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
34671         error absence of trapping exception support.
34672         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34674 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34676         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
34677         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
34678         * timezone/Makefile (testdata): Move definition above include of
34679         Rules.
34680         (test-zones): New variable.
34681         (tests-special): Add zone files.
34682         (build-testdata): Use $(evaluate-test).
34684         * elf/Makefile (tests-special): Rename tests to end with .out.
34685         ($(objpfx)noload-mem): Likewise.
34686         ($(objpfx)tst-leaks1-mem): Likewise.
34687         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
34688         * iconv/Makefile (xtests-special): Change test-iconvconfig to
34689         $(objpfx)test-iconvconfig.out.
34690         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
34691         set -e inside subshell and redirect output to file.
34692         * iconvdata/Makefile (generated): Rename tests to end with .out.
34693         Correct type.
34694         (tests-special): Rename tests to end with .out.
34695         ($(objpfx)mtrace-tst-loading): Likewise.
34696         * intl/Makefile (generated): Likewise.
34697         (tests-special): Likewise.
34698         ($(objpfx)mtrace-tst-gettext): Likewise.
34699         * misc/Makefile (generated): Likewise.
34700         (tests-special): Likewise.
34701         ($(objpfx)tst-error1-mem): Likewise.
34702         * nptl/Makefile (tests-special): Likewise.
34703         ($(objpfx)tst-stack3-mem): Likewise.
34704         (generated): Likewise.
34705         * posix/Makefile (generated): Likewise.
34706         (tests-special): Likewise.
34707         (xtests-special): Likewise.
34708         ($(objpfx)tst-fnmatch-mem): Likewise.
34709         ($(objpfx)bug-regex2-mem): Likewise.
34710         ($(objpfx)bug-regex14-mem): Likewise.
34711         ($(objpfx)bug-regex21-mem): Likewise.
34712         ($(objpfx)bug-regex31-mem): Likewise.
34713         ($(objpfx)tst-vfork3-mem): Likewise.
34714         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34715         ($(objpfx)tst-pcre-mem): Likewise.
34716         ($(objpfx)tst-boost-mem): Likewise.
34717         ($(objpfx)bug-ga2-mem): Likewise.
34718         ($(objpfx)bug-glob2-mem): Likewise.
34719         * resolv/Makefile (generate): Likewise.
34720         (tests-special): Likewise.
34721         (xtests-special): Likewise.
34722         (generated): Likewise.
34723         ($(objpfx)mtrace-tst-leaks): Likewise.
34724         ($(objpfx)mtrace-tst-leaks2): Likewise.
34726         * scripts/merge-test-results.sh: New file.
34727         * Makefile (tests-special-notdir): New variable.
34728         (tests): Run merge-test-results.sh.
34729         (xtests): Likewise.
34730         * Rules (tests-special-notdir): New variable.
34731         (xtests-special-notdir): Likewise.
34732         (tests): Run merge-test-results.sh
34733         (xtests): Likewise.
34735         * Makeconfig (test-xfail-name): New variable.
34736         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
34737         compute variable name for expected failures.
34738         * conform/Makefile (conformtest-headers-data): New variable.
34739         (conformtest-standards): Likewise.
34740         (conformtest-headers-ISO): Likewise.
34741         (conformtest-headers-ISO99): Likewise.
34742         (conformtest-headers-ISO11): Likewise.
34743         (conformtest-headers-POSIX): Likewise.
34744         (conformtest-headers-XPG3): Likewise.
34745         (conformtest-headers-XPG4): Likewise.
34746         (conformtest-headers-UNIX98): Likewise.
34747         (conformtest-headers-XOPEN2K): Likewise.
34748         (conformtest-headers-POSIX2008): Likewise.
34749         (conformtest-headers-XOPEN2K8): Likewise.
34750         (conformtest-header-list-base): Likewise.
34751         (conformtest-header-list-tests): Likewise.
34752         (conformtest-header-base): Likewise.
34753         (conformtest-header-tests): Likewise.
34754         (tests-special): Add $(conformtest-header-list-tests).  If
34755         [$(fast-check) && !$(cross-compiling)], add
34756         $(conformtest-header-tests) instead of
34757         $(objpfx)run-conformtest.out.
34758         (generated): Add $(conformtest-header-list-base).  If
34759         [$(fast-check) && !$(cross-compiling)], add
34760         $(conformtest-header-base).  Remove previous setting.
34761         ($(conformtest-header-list-tests)): New target.
34762         (test-xfail-run-conformtest): Remove variable.
34763         ($(objpfx)run-conformtest.out): Remove target.
34764         (test-xfail-ISO11/complex.h/conform): New variable.
34765         (test-xfail-ISO11/stdalign.h/conform): Likewise.
34766         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
34767         (test-xfail-XPG3/varargs.h/conform): Likewise.
34768         (test-xfail-XPG4/varargs.h/conform): Likewise.
34769         (test-xfail-UNIX98/varargs.h/conform): Likewise.
34770         (test-xfail-XPG4/ndbm.h/conform): Likewise.
34771         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
34772         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
34773         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
34774         (test-xfail-XPG3/fcntl.h/conform): Likewise.
34775         (test-xfail-XPG3/ftw.h/conform): Likewise.
34776         (test-xfail-XPG3/grp.h/conform): Likewise.
34777         (test-xfail-XPG3/langinfo.h/conform): Likewise.
34778         (test-xfail-XPG3/limits.h/conform): Likewise.
34779         (test-xfail-XPG3/pwd.h/conform): Likewise.
34780         (test-xfail-XPG3/search.h/conform): Likewise.
34781         (test-xfail-XPG3/signal.h/conform): Likewise.
34782         (test-xfail-XPG3/stdio.h/conform): Likewise.
34783         (test-xfail-XPG3/stdlib.h/conform): Likewise.
34784         (test-xfail-XPG3/string.h/conform): Likewise.
34785         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
34786         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
34787         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
34788         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34789         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
34790         (test-xfail-XPG3/sys/types.h/conform): Likewise.
34791         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
34792         (test-xfail-XPG3/termios.h/conform): Likewise.
34793         (test-xfail-XPG3/time.h/conform): Likewise.
34794         (test-xfail-XPG3/unistd.h/conform): Likewise.
34795         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
34796         (test-xfail-XPG4/fcntl.h/conform): Likewise.
34797         (test-xfail-XPG4/langinfo.h/conform): Likewise.
34798         (test-xfail-XPG4/netdb.h/conform): Likewise.
34799         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
34800         (test-xfail-XPG4/signal.h/conform): Likewise.
34801         (test-xfail-XPG4/stdio.h/conform): Likewise.
34802         (test-xfail-XPG4/stdlib.h/conform): Likewise.
34803         (test-xfail-XPG4/stropts.h/conform): Likewise.
34804         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
34805         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34806         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
34807         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34808         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
34809         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
34810         (test-xfail-XPG4/sys/time.h/conform): Likewise.
34811         (test-xfail-XPG4/sys/types.h/conform): Likewise.
34812         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
34813         (test-xfail-XPG4/termios.h/conform): Likewise.
34814         (test-xfail-XPG4/ucontext.h/conform): Likewise.
34815         (test-xfail-XPG4/unistd.h/conform): Likewise.
34816         (test-xfail-XPG4/utmpx.h/conform): Likewise.
34817         (test-xfail-POSIX/sched.h/conform): Likewise.
34818         (test-xfail-POSIX/signal.h/conform): Likewise.
34819         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34820         (test-xfail-POSIX/tar.h/conform): Likewise.
34821         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
34822         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
34823         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
34824         (test-xfail-UNIX98/netdb.h/conform): Likewise.
34825         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
34826         (test-xfail-UNIX98/sched.h/conform): Likewise.
34827         (test-xfail-UNIX98/signal.h/conform): Likewise.
34828         (test-xfail-UNIX98/stdio.h/conform): Likewise.
34829         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
34830         (test-xfail-UNIX98/stropts.h/conform): Likewise.
34831         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34832         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34833         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34834         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34835         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34836         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
34837         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34838         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34839         (test-xfail-UNIX98/unistd.h/conform): Likewise.
34840         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
34841         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
34842         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
34843         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
34844         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
34845         (test-xfail-XOPEN2K/math.h/conform): Likewise.
34846         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
34847         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34848         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34849         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
34850         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34851         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
34852         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
34853         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34854         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34855         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34856         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34857         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34858         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34859         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34860         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
34861         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
34862         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34863         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34864         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
34865         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34866         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
34867         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
34868         (test-xfail-POSIX2008/signal.h/conform): Likewise.
34869         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34870         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
34871         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34872         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34873         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34874         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
34875         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
34876         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34877         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34878         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34879         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
34880         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34881         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34882         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34883         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
34884         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34885         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34886         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34887         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34888         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34889         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
34890         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
34891         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
34892         (conformtest-cc-flags): Likewise.
34893         ($(conformtest-header-tests): New target.
34894         * conform/check-header-lists.sh: New file.
34895         * conform/run-conformtest.sh: Remove.
34897         * conform/conformtest.pl: Allow ' and \ in values given for
34898         constants.
34899         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
34900         inclusion.
34901         [POSIX] (sys/types.h): Likewise.
34902         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
34903         inclusion.
34904         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
34905         inclusion.
34906         * conform/data/signal.h-data (SIGIO): Remove expectation.
34907         [XPG3] (SIGBUS): Do not expect.
34908         [POSIX || XPG3] (SIGPOLL): Likewise.
34909         [POSIX || XPG3] (SIGPROF): Likewise.
34910         [POSIX || XPG3] (SIGSYS): Likewise.
34911         [XPG3] (SIGTRAP): Likewise.
34912         [POSIX || XPG3] (SIGURG): Likewise.
34913         [POSIX || XPG3] (SIGVTALRM): Likewise.
34914         [POSIX || XPG3] (SIGXCPU): Likewise.
34915         [POSIX || XPG3] (SIGXFSZ): Likewise.
34916         [POSIX] (SA_SIGINFO): Expect.
34917         [XPG3] (siginfo_t): Do not expect type or contents.
34918         [POSIX] (si_pid): Do not expect element.
34919         [POSIX] (si_uid): Likewise.
34920         [POSIX] (si_addr): Likewise.
34921         [POSIX] (si_status): Likewise.
34922         [POSIX] (si_band): Likewise.
34923         [XPG4] (si_value): Likewise.
34924         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
34925         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
34926         [POSIX || XPG3] (ILL_ILLADR): Likewise.
34927         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
34928         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
34929         [POSIX || XPG3] (ILL_PRVREG): Likewise.
34930         [POSIX || XPG3] (ILL_COPROC): Likewise.
34931         [POSIX || XPG3] (ILL_BADSTK): Likewise.
34932         [POSIX || XPG3] (FPE_INTDIV): Likewise.
34933         [POSIX || XPG3] (FPE_INTOVF): Likewise.
34934         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
34935         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
34936         [POSIX || XPG3] (FPE_FLTUND): Likewise.
34937         [POSIX || XPG3] (FPE_FLTRES): Likewise.
34938         [POSIX || XPG3] (FPE_FLTINV): Likewise.
34939         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
34940         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
34941         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
34942         [POSIX || XPG3] (BUS_ADRALN): Likewise.
34943         [POSIX || XPG3] (BUS_ADRERR): Likewise.
34944         [POSIX || XPG3] (BUS_OBJERR): Likewise.
34945         [POSIX || XPG3] (CLD_EXITED): Likewise.
34946         [POSIX || XPG3] (CLD_KILLED): Likewise.
34947         [POSIX || XPG3] (CLD_DUMPED): Likewise.
34948         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
34949         [POSIX || XPG3] (CLD_STOPPED): Likewise.
34950         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
34951         [POSIX || XPG3] (POLL_IN): Likewise.
34952         [POSIX || XPG3] (POLL_OUT): Likewise.
34953         [POSIX || XPG3] (POLL_MSG): Likewise.
34954         [POSIX || XPG3] (POLL_ERR): Likewise.
34955         [POSIX || XPG3] (POLL_PRI): Likewise.
34956         [POSIX || XPG3] (POLL_HUP): Likewise.
34957         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
34958         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
34959         (SIG*): Do not allow.
34960         [XPG3] (si_*): Likewise.
34961         [XPG3] (SI_*): Likewise.
34962         [XPG3 || XPG4] (sigev_*): Likewise.
34963         [XPG3 || XPG4] (SIGEV_*): Likewise.
34964         [XPG3 || XPG4] (sival_*): Likewise.
34965         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
34966         [POSIX || XPG3] (BUS_*): Likewise.
34967         [POSIX || XPG3] (CLD_*): Likewise.
34968         [POSIX || XPG3] (FPE_*): Likewise.
34969         [POSIX || XPG3] (ILL_*): Likewise.
34970         [POSIX || XPG3] (POLL_*): Likewise.
34971         [POSIX || XPG3] (SEGV_*): Likewise.
34972         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
34973         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
34974         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
34975         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
34976         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
34977         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
34978         Specify type and value.
34979         (TVERSLEN): Likewise.
34980         (REGTYPE): Likewise.
34981         (AREGTYPE): Likewise.
34982         (LNKTYPE): Likewise.
34983         (SYMTYPE): Likewise.
34984         (CHRTYPE): Likewise.
34985         (BLKTYPE): Likewise.
34986         (DIRTYPE): Likewise.
34987         (FIFOTYPE): Likewise.
34988         (CONTTYPE): Likewise.
34989         (TSUID): Likewise.
34990         (TSGID): Likewise.
34991         (TSVTX): Likewise.
34992         (TUREAD): Likewise.
34993         (TUWRITE): Likewise.
34994         (TUEXEC): Likewise.
34995         (TGREAD): Likewise.
34996         (TGWRITE): Likewise.
34997         (TGEXEC): Likewise.
34998         (TOREAD): Likewise.
34999         (TOWRITE): Likewise.
35000         (TOEXEC): Likewise.
35001         [POSIX] (TSVTX): Expect constant.
35003 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
35005         * Makefile (tests): Change dependencies to ....
35006         (tests-special): ... additions to this variable.
35007         (tests): Depend on $(tests-special).
35008         * Makerules (check-abi-list): New variable.
35009         (check-abi): Depend on $(check-abi-list).
35010         [$(subdir) = elf] (tests-special): Add
35011         $(objpfx)check-abi-libc.out.
35012         [$(build-shared) = yes && subdir] (tests-special): Add
35013         $(check-abi-list).
35014         [$(build-shared) = yes && subdir] (tests): Do not depend on
35015         check-abi.
35016         * Rules (tests): Depend on $(tests-special).
35017         (xtests): Depend on $(xtests-special).
35018         * catgets/Makefile (tests): Change dependencies to ....
35019         (tests-special): ... additions to this variable.
35020         * conform/Makefile (tests): Change dependencies to ....
35021         (tests-special): ... additions to this variable.
35022         * elf/Makefile (tests): Change dependencies to ....
35023         (tests-special): ... additions to this variable.
35024         * grp/Makefile (tests): Change dependencies to ....
35025         (tests-special): ... additions to this variable.
35026         * iconv/Makefile (xtests): Change dependencies to ....
35027         (xtests-special): ... additions to this variable.
35028         * iconvdata/Makefile (tests): Change dependencies to ....
35029         (tests-special): ... additions to this variable.
35030         * intl/Makefile (tests): Change dependencies to ....
35031         (tests-special): ... additions to this variable.  Also add
35032         $(objpfx)tst-gettext.out.
35033         * io/Makefile (tests): Change dependencies to ....
35034         (tests-special): ... additions to this variable.
35035         * libio/Makefile (tests): Change dependencies to ....
35036         (tests-special): ... additions to this variable.
35037         * malloc/Makefile (tests): Change dependencies to ....
35038         (tests-special): ... additions to this variable.
35039         * misc/Makefile (tests): Change dependencies to ....
35040         (tests-special): ... additions to this variable.
35041         * nptl/Makefile (tests): Change dependencies to ....
35042         (tests-special): ... additions to this variable.
35043         * nptl_db/Makefile (tests): Change dependencies to ....
35044         (tests-special): ... additions to this variable.
35045         * posix/Makefile (tests): Change dependencies to ....
35046         (tests-special): ... additions to this variable.
35047         (xtests): Change dependencies to ....
35048         (xtests-special): ... additions to this variable.
35049         * resolv/Makefile (tests): Change dependencies to ....
35050         (tests-special): ... additions to this variable.
35051         (xtests): Change dependencies to ....
35052         (xtests-special): ... additions to this variable.
35053         * stdio-common/Makefile (tests): Change dependencies to ....
35054         (tests-special): ... additions to this variable.
35055         (do-tst-unbputc): Remove target.
35056         (do-tst-printf): Likewise.
35057         * stdlib/Makefile (tests): Change dependencies to ....
35058         (tests-special): ... additions to this variable.
35059         * string/Makefile (tests): Change dependencies to ....
35060         (tests-special): ... additions to this variable.
35061         * sysdeps/x86/Makefile (tests): Change dependencies to ....
35062         (tests-special): ... additions to this variable.
35064         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
35065         whole file.
35066         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
35067         whole file.
35068         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
35069         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
35071         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
35072         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
35073         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
35074         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
35075         * conform/data/libgen.h-data [XPG3]: Likewise.
35076         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
35077         * conform/data/ndbm.h-data [XPG3]: Likewise.
35078         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35079         * conform/data/netdb.h-data [XPG3]: Likewise.
35080         * conform/data/netinet/in.h-data [XPG3]: Likewise.
35081         * conform/data/poll.h-data [XPG3]: Likewise.
35082         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35083         * conform/data/strings.h-data [XPG3]: Likewise.
35084         * conform/data/stropts.h-data [XPG3]: Likewise.
35085         * conform/data/sys/mman.h-data [XPG3]: Likewise.
35086         * conform/data/sys/resource.h-data [XPG3]: Likewise.
35087         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
35088         Likewise.
35089         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
35090         * conform/data/sys/time.h-data [XPG3]: Likewise.
35091         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
35092         * conform/data/sys/uio.h-data [XPG3]: Likewise.
35093         * conform/data/sys/un.h-data [XPG3]: Likewise.
35094         * conform/data/syslog.h-data [XPG3]: Likewise.
35095         * conform/data/ucontext.h-data [XPG3]: Likewise.
35096         * conform/data/utmpx.h-data [XPG3]: Likewise.
35097         * conform/data/varargs.h-data [UNIX98]: Enable file.
35099         * manual/Makefile (INSTALL_INFO): Remove variable setting.
35101         * math/libm-test.inc (struct test_f_f_data): Move expected results
35102         into structure for each rounding mode.
35103         (struct test_ff_f_data): Likewise.
35104         (struct test_ff_f_data_nexttoward): Likewise.
35105         (struct test_fi_f_data): Likewise.
35106         (struct test_fl_f_data): Likewise.
35107         (struct test_if_f_data): Likewise.
35108         (struct test_fff_f_data): Likewise.
35109         (struct test_c_f_data): Likewise.
35110         (struct test_f_f1_data): Likewise.
35111         (struct test_fF_f1_data): Likewise.
35112         (struct test_ffI_f1_data): Likewise.
35113         (struct test_c_c_data): Likewise.
35114         (struct test_cc_c_data): Likewise.
35115         (struct test_f_i_data): Likewise.
35116         (struct test_ff_i_data): Likewise.
35117         (struct test_f_l_data): Likewise.
35118         (struct test_f_L_data): Likewise.
35119         (struct test_fFF_11_data): Likewise.
35120         (RM_): New macro.
35121         (RM_FE_DOWNWARD): Likewise.
35122         (RM_FE_TONEAREST): Likewise.
35123         (RM_FE_TOWARDZERO): Likewise.
35124         (RM_FE_UPWARD): Likewise.
35125         (RUN_TEST_LOOP_f_f): Update references to expected results.
35126         (RUN_TEST_LOOP_2_f): Likewise.
35127         (RUN_TEST_LOOP_fff_f): Likewise.
35128         (RUN_TEST_LOOP_c_f): Likewise.
35129         (RUN_TEST_LOOP_f_f1): Likewise.
35130         (RUN_TEST_LOOP_fF_f1): Likewise.
35131         (RUN_TEST_LOOP_fI_f1): Likewise.
35132         (RUN_TEST_LOOP_ffI_f1): Likewise.
35133         (RUN_TEST_LOOP_c_c): Likewise.
35134         (RUN_TEST_LOOP_cc_c): Likewise.
35135         (RUN_TEST_LOOP_f_i): Likewise.
35136         (RUN_TEST_LOOP_f_i_tg): Likewise.
35137         (RUN_TEST_LOOP_ff_i_tg): Likewise.
35138         (RUN_TEST_LOOP_f_b): Likewise.
35139         (RUN_TEST_LOOP_f_b_tg): Likewise.
35140         (RUN_TEST_LOOP_f_l): Likewise.
35141         (RUN_TEST_LOOP_f_L): Likewise.
35142         (RUN_TEST_LOOP_fFF_11): Likewise.
35143         * math/gen-libm-test.pl (parse_args): Output four copies of
35144         expected results for each test.
35146         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35147         (__ASSUME_UTIMES): Remove.
35148         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35149         (__ASSUME_UTIMES): Likewise.
35151         * math/gen-auto-libm-tests.c: Update comment on output format.
35152         (output_for_one_input_case): Generate before-rounding and
35153         after-rounding information as conditions on output flags not
35154         floating-point format.
35155         * math/auto-libm-test-out: Regenerated.
35156         * math/gen-libm-test.pl (cond_value): New function.
35157         (or_cond_value): Use cond_value.
35158         (generate_testfile): Handle conditional exceptions.
35160 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
35162         * math/libm-test.inc (max_valid_error): New variable.
35163         (init_max_error): Take new argument specifying whether function
35164         results are exactly determined.  Set max_valid_error and bound
35165         other variables for errors based on this argument.
35166         (set_max_error): Do not record results above max_valid_error.
35167         (check_float_internal): Only accept errors of up to 0.5ulps if
35168         also at most max_valid_error.
35169         (START): Take new argument EXACT and pass it to init_max_error.
35170         (acos_test): Update call to START.
35171         (acos_test_tonearest): Likewise.
35172         (acos_test_towardzero): Likewise.
35173         (acos_test_downward): Likewise.
35174         (acos_test_upward): Likewise.
35175         (acosh_test): Likewise.
35176         (asin_test): Likewise.
35177         (asin_test_tonearest): Likewise.
35178         (asin_test_towardzero): Likewise.
35179         (asin_test_downward): Likewise.
35180         (asin_test_upward): Likewise.
35181         (asinh_test): Likewise.
35182         (atan_test): Likewise.
35183         (atanh_test): Likewise.
35184         (atan2_test): Likewise.
35185         (cabs_test): Likewise.
35186         (cacos_test): Likewise.
35187         (cacosh_test): Likewise.
35188         (carg_test): Likewise.
35189         (casin_test): Likewise.
35190         (casinh_test): Likewise.
35191         (catan_test): Likewise.
35192         (catanh_test): Likewise.
35193         (cbrt_test): Likewise.
35194         (ccos_test): Likewise.
35195         (ccosh_test): Likewise.
35196         (ceil_test): Likewise.
35197         (cexp_test): Likewise.
35198         (cimag_test): Likewise.
35199         (clog_test): Likewise.
35200         (clog10_test): Likewise.
35201         (conj_test): Likewise.
35202         (copysign_test): Likewise.
35203         (cos_test): Likewise.
35204         (cos_test_tonearest): Likewise.
35205         (cos_test_towardzero): Likewise.
35206         (cos_test_downward): Likewise.
35207         (cos_test_upward): Likewise.
35208         (cosh_test): Likewise.
35209         (cosh_test_tonearest): Likewise.
35210         (cosh_test_towardzero): Likewise.
35211         (cosh_test_downward): Likewise.
35212         (cosh_test_upward): Likewise.
35213         (cpow_test): Likewise.
35214         (cproj_test): Likewise.
35215         (creal_test): Likewise.
35216         (csin_test): Likewise.
35217         (csinh_test): Likewise.
35218         (csqrt_test): Likewise.
35219         (ctan_test): Likewise.
35220         (ctan_test_tonearest): Likewise.
35221         (ctan_test_towardzero): Likewise.
35222         (ctan_test_downward): Likewise.
35223         (ctan_test_upward): Likewise.
35224         (ctanh_test): Likewise.
35225         (ctanh_test_tonearest): Likewise.
35226         (ctanh_test_towardzero): Likewise.
35227         (ctanh_test_downward): Likewise.
35228         (ctanh_test_upward): Likewise.
35229         (erf_test): Likewise.
35230         (erfc_test): Likewise.
35231         (exp_test): Likewise.
35232         (exp_test_tonearest): Likewise.
35233         (exp_test_towardzero): Likewise.
35234         (exp_test_downward): Likewise.
35235         (exp_test_upward): Likewise.
35236         (exp10_test): Likewise.
35237         (exp10_test_tonearest): Likewise.
35238         (exp10_test_towardzero): Likewise.
35239         (exp10_test_downward): Likewise.
35240         (exp10_test_upward): Likewise.
35241         (pow10_test): Likewise.
35242         (exp2_test): Likewise.
35243         (expm1_test): Likewise.
35244         (expm1_test_tonearest): Likewise.
35245         (expm1_test_towardzero): Likewise.
35246         (expm1_test_downward): Likewise.
35247         (expm1_test_upward): Likewise.
35248         (fabs_test): Likewise.
35249         (fdim_test): Likewise.
35250         (floor_test): Likewise.
35251         (fma_test): Likewise.
35252         (fma_test_towardzero): Likewise.
35253         (fma_test_downward): Likewise.
35254         (fma_test_upward): Likewise.
35255         (fmax_test): Likewise.
35256         (fmin_test): Likewise.
35257         (fmod_test): Likewise.
35258         (fpclassify_test): Likewise.
35259         (frexp_test): Likewise.
35260         (hypot_test): Likewise.
35261         (ilogb_test): Likewise.
35262         (isfinite_test): Likewise.
35263         (finite_test): Likewise.
35264         (isgreater_test): Likewise.
35265         (isgreaterequal_test): Likewise.
35266         (isinf_test): Likewise.
35267         (isless_test): Likewise.
35268         (islessequal_test): Likewise.
35269         (islessgreater_test): Likewise.
35270         (isnan_test): Likewise.
35271         (isnormal_test): Likewise.
35272         (issignaling_test): Likewise.
35273         (isunordered_test): Likewise.
35274         (j0_test): Likewise.
35275         (j1_test): Likewise.
35276         (jn_test): Likewise.
35277         (ldexp_test): Likewise.
35278         (lgamma_test): Likewise.
35279         (gamma_test): Likewise.
35280         (lrint_test): Likewise.
35281         (lrint_test_tonearest): Likewise.
35282         (lrint_test_towardzero): Likewise.
35283         (lrint_test_downward): Likewise.
35284         (lrint_test_upward): Likewise.
35285         (llrint_test): Likewise.
35286         (llrint_test_tonearest): Likewise.
35287         (llrint_test_towardzero): Likewise.
35288         (llrint_test_downward): Likewise.
35289         (llrint_test_upward): Likewise.
35290         (log_test): Likewise.
35291         (log10_test): Likewise.
35292         (log1p_test): Likewise.
35293         (log2_test): Likewise.
35294         (logb_test): Likewise.
35295         (logb_test_downward): Likewise.
35296         (lround_test): Likewise.
35297         (llround_test): Likewise.
35298         (modf_test): Likewise.
35299         (nearbyint_test): Likewise.
35300         (nextafter_test): Likewise.
35301         (nexttoward_test): Likewise.
35302         (pow_test): Likewise.
35303         (pow_test_tonearest): Likewise.
35304         (pow_test_towardzero): Likewise.
35305         (pow_test_downward): Likewise.
35306         (pow_test_upward): Likewise.
35307         (remainder_test): Likewise.
35308         (drem_test): Likewise.
35309         (remainder_test_tonearest): Likewise.
35310         (drem_test_tonearest): Likewise.
35311         (remainder_test_towardzero): Likewise.
35312         (drem_test_towardzero): Likewise.
35313         (remainder_test_downward): Likewise.
35314         (drem_test_downward): Likewise.
35315         (remainder_test_upward): Likewise.
35316         (drem_test_upward): Likewise.
35317         (remquo_test): Likewise.
35318         (rint_test): Likewise.
35319         (rint_test_tonearest): Likewise.
35320         (rint_test_towardzero): Likewise.
35321         (rint_test_downward): Likewise.
35322         (rint_test_upward): Likewise.
35323         (round_test): Likewise.
35324         (scalb_test): Likewise.
35325         (scalbn_test): Likewise.
35326         (scalbln_test): Likewise.
35327         (signbit_test): Likewise.
35328         (sin_test): Likewise.
35329         (sin_test_tonearest): Likewise.
35330         (sin_test_towardzero): Likewise.
35331         (sin_test_downward): Likewise.
35332         (sin_test_upward): Likewise.
35333         (sincos_test): Likewise.
35334         (sinh_test): Likewise.
35335         (sinh_test_tonearest): Likewise.
35336         (sinh_test_towardzero): Likewise.
35337         (sinh_test_downward): Likewise.
35338         (sinh_test_upward): Likewise.
35339         (sqrt_test): Likewise.
35340         (sqrt_test_tonearest): Likewise.
35341         (sqrt_test_towardzero): Likewise.
35342         (sqrt_test_downward): Likewise.
35343         (sqrt_test_upward): Likewise.
35344         (tan_test): Likewise.
35345         (tan_test_tonearest): Likewise.
35346         (tan_test_towardzero): Likewise.
35347         (tan_test_downward): Likewise.
35348         (tan_test_upward): Likewise.
35349         (tanh_test): Likewise.
35350         (tgamma_test): Likewise.
35351         (trunc_test): Likewise.
35352         (y0_test): Likewise.
35353         (y1_test): Likewise.
35354         (yn_test): Likewise.
35355         (significand_test): Likewise.
35357         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
35358         individual tests in comment.
35359         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
35360         (prev_max_error): New variable.
35361         (prev_real_max_error): Likewise.
35362         (prev_imag_max_error): Likewise.
35363         (compare_ulp_data): Don't refer to test names in comment.
35364         (find_test_ulps): Remove function.
35365         (find_function_ulps): Likewise.
35366         (find_complex_function_ulps): Likewise.
35367         (init_max_error): Take function name as argument.  Look up ulps
35368         for that function.
35369         (print_ulps): Remove function.
35370         (print_max_error): Use prev_max_error instead of calling
35371         find_function_ulps.
35372         (print_complex_max_error): Use prev_real_max_error and
35373         prev_imag_max_error instead of calling find_complex_function_ulps.
35374         (check_float_internal): Take max_ulp parameter instead of calling
35375         find_test_ulps.  Don't call print_ulps.
35376         (check_float): Update call to check_float_internal.
35377         (check_complex): Update calls to check_float_internal.
35378         (START): Pass argument to init_max_error.
35379         * math/gen-libm-test.pl (%results): Don't include "kind"
35380         information.
35381         (parse_ulps): Don't handle ulps of individual tests.
35382         (print_ulps_file): Likewise.
35383         (output_ulps): Likewise.
35384         * math/README.libm-test: Update.
35385         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
35386         individual tests.
35387         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
35388         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35389         * sysdeps/arm/libm-test-ulps: Likewise.
35390         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35391         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
35392         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
35393         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
35394         * sysdeps/microblaze/libm-test-ulps: Likewise.
35395         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35396         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35397         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35398         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35399         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35400         * sysdeps/sh/libm-test-ulps: Likewise.
35401         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35402         * sysdeps/tile/libm-test-ulps: Likewise.
35403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35405 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
35407         * math/libm-test.inc (print_complex_max_error): Check separately
35408         whether real and imaginary errors are within allowed range and
35409         pass 0 to print_complex_function_ulps instead of value within
35410         allowed range.
35412 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35414         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
35415         formatting.
35416         (get_handles_fopen): Likewise.
35417         (do_write_test): Likewise.
35419         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
35421         * libio/fileops.c (do_ftell): Use cached offset when
35422         available.
35423         * libio/iofwide.c (do_ftell_wide): Likewise.
35424         * libio/iofdopen.c (_IO_new_fdopen): Don't use
35425         _IO_file_attach.
35426         * libio/wfileops.c (_IO_fwide): Don't cache offset.
35428         [BZ #16532]
35429         * libio/libioP.h (get_file_offset): New function.
35430         * libio/fileops.c (get_file_offset): Likewise.
35431         (do_ftell): Likewise.
35432         (_IO_new_file_seekoff): Split out ftell logic.
35433         * libio/wfileops.c (do_ftell_wide): Likewise.
35434         (_IO_wfile_seekoff): Split out ftell logic.
35435         * libio/tst-ftell-active-handler.c: New test case.
35436         * libio/Makefile (tests): Add it.
35438 2014-03-03  Roland McGrath  <roland@hack.frob.com>
35440         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
35441         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
35443 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35445         [BZ #16639]
35446         * nscd/connections.c (nscd_init): Call do_exit.
35447         (start_threads): Call do_exit and notify_parent.
35448         (begin_drop_privileges): Call do_exit.
35449         (finish_drop_privileges): Likewise.
35450         * nscd/selinux.c (preserve_capabilities): Likewise.
35451         (install_real_capabilities): Likewise.
35452         (nscd_selinux_enabled): Likewise.
35453         (avc_create_thread): Likewise.
35454         (avc_alloc_lock): Likewise.
35455         (nscd_avc_init): Likewise.
35456         * nscd/nscd.c (parent_fd): New static variable.
35457         (main): Create a pipe between parent and child processes.
35458         Skip closing parent_fd.
35459         (monitor_child): New function.
35460         (do_exit): Likewise.
35461         (notify_parent): Likewise.
35462         * nscd/nscd.h (notify_parent): Likewise.
35463         (do_exit): Likewise.
35465 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
35467         * malloc/malloc.c (__libc_calloc): Revert last change.
35469 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35473 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35475         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
35476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
35477         implementation.
35478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35479         (__libc_ifunc_impl_list): Likewise.
35480         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
35481         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
35482         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
35483         * string/strrchr.c: Define STRRCHR.
35485 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
35487         * benchtest/bench-strtok.c (simple_strtok): Delete.
35488         (strtok_string): Use as benchmark.
35489         * string/strtok (STRTOK): New macro.
35491 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
35493         * manual/threads.texi: Add header and standard comments to all
35494         functions.
35496         * elf/dl-lookup.c (check_match): New function.
35497         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
35498         (do_lookup_x): Remove nested function check_match. Use non-nested
35499         function check_match.
35501 2014-02-28  Roland McGrath  <roland@hack.frob.com>
35503         * csu/Makefile (generated, before-compile): Use += rather than =.
35504         * catgets/Makefile (generated, generated-dirs): Likewise.
35505         * debug/Makefile (generated): Likewise.
35506         * dlfcn/Makefile (generated): Likewise.
35507         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
35508         * iconvdata/Makefile (before-compile, generated): Likewise.
35509         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
35510         * libio/Makefile (generated): Likewise.
35511         * malloc/Makefile (generated): Likewise.
35512         * manual/Makefile (generated, generated-dirs): Likewise.
35513         * misc/Makefile (generated): Likewise.
35514         * posix/Makefile (generated): Likewise.
35515         * resolv/Makefile (generated): Likewise.
35516         * sunrpc/Makefile (generated, generated-dirs): Likewise.
35517         * timezone/Makefile (generated, generated-dirs): Likewise.
35519         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
35521 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35524         power8 implementation.
35525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
35526         file: POWER8 llround ifunc implementation.
35527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
35528         (__lllround): Add POWER8 implementation.
35529         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
35530         POWER8 llround implementation.
35532         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
35533         power8 implementation.
35534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
35535         file: POWER8 llrint ifunc implementation.
35536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
35537         Add POWER8 implementation.
35538         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
35539         POWER8 llrint implementation.
35541         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
35542         power8 implementation.
35543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
35544         file: POWER8 finite ifunc implementation.
35545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
35546         Add POWER8 implementation.
35547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
35548         Likewise.
35549         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
35550         POWER8 finite implementation.
35551         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
35553         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
35554         power8 implementation.
35555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
35556         file: POWER8 isinf ifunc implementation.
35557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
35558         POWER8 implementation.
35559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
35560         Likewise.
35561         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
35562         isinf implementation.
35563         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
35565         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
35566         (INIT_ARCH): Add hwcap2 initialization.
35567         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35568         power8 implementation.
35569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
35570         file: POWER8 isnan ifunc implementation.
35571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
35572         POWER8 implementation.
35573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
35574         Likewise.
35575         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
35576         isnan implementation.
35577         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
35579 2014-02-27  Joey Ye  <joey.ye@arm.com>
35581         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35582         (_FP_NANFRAC_Q): Set to zero.
35584 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35586         [BZ #16623]
35587         * math/auto-libm-test-in: New test inputs.
35588         * math/auto-libm-test-out: Regenerate.
35589         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
35590         and DA.
35591         (__cos): Likewise.
35592         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35594 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
35596         * scripts/evaluate-test.sh: Take new argument indicating whether
35597         failure is expected.
35598         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
35599         indicating whether failure is expected.
35600         * conform/Makefile (test-xfail-run-conformtest): New variable.
35601         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
35602         level.
35603         * posix/Makefile (test-xfail-annexc): New variable.
35604         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
35606 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
35608         * argp/Makefile: Include Makeconfig immediately after defining
35609         subdir.
35610         * assert/Makefile: Likewise.
35611         * benchtests/Makefile: Likewise.
35612         * catgets/Makefile: Likewise.
35613         * conform/Makefile: Likewise.
35614         * crypt/Makefile: Likewise.
35615         * csu/Makefile: Likewise.
35616         (all): Remove target.
35617         * ctype/Makefile: Include Makeconfig immediately after defining
35618         subdir.
35619         * debug/Makefile: Likewise.
35620         * dirent/Makefile: Likewise.
35621         * dlfcn/Makefile: Likewise.
35622         * gmon/Makefile: Likewise.
35623         * gnulib/Makefile: Likewise.
35624         * grp/Makefile: Likewise.
35625         * gshadow/Makefile: Likewise.
35626         * hesiod/Makefile: Likewise.
35627         * hurd/Makefile: Likewise.
35628         (all): Remove target.
35629         * iconvdata/Makefile: Include Makeconfig immediately after
35630         defining subdir.
35631         * inet/Makefile: Likewise.
35632         * intl/Makefile: Likewise.
35633         * io/Makefile: Likewise.
35634         * libio/Makefile: Likewise.
35635         (all): Remove target.
35636         * locale/Makefile: Include Makeconfig immediately after defining
35637         subdir.
35638         * login/Makefile: Likewise.
35639         * mach/Makefile: Likewise.
35640         (all): Remove target.
35641         * malloc/Makefile: Include Makeconfig immediately after defining
35642         subdir.
35643         (all): Remove target.
35644         * manual/Makefile: Include Makeconfig immediately after defining
35645         subdir.
35646         * math/Makefile: Likewise.
35647         * misc/Makefile: Likewise.
35648         * nis/Makefile: Likewise.
35649         * nss/Makefile: Likewise.
35650         * po/Makefile: Likewise.
35651         (all): Remove target.
35652         * posix/Makefile: Include Makeconfig immediately after defining
35653         subdir.
35654         * pwd/Makefile: Likewise.
35655         * resolv/Makefile: Likewise.
35656         * resource/Makefile: Likewise.
35657         * rt/Makefile: Likewise.
35658         * setjmp/Makefile: Likewise.
35659         * shadow/Makefile: Likewise.
35660         * signal/Makefile: Likewise.
35661         * socket/Makefile: Likewise.
35662         * soft-fp/Makefile: Likewise.
35663         * stdio-common/Makefile: Likewise.
35664         * stdlib/Makefile: Likewise.
35665         * streams/Makefile: Likewise.
35666         * string/Makefile: Likewise.
35667         * sunrpc/Makefile: Likewise.
35668         (all): Remove target.
35669         * sysvipc/Makefile: Include Makeconfig immediately after defining
35670         subdir.
35671         * termios/Makefile: Likewise.
35672         * time/Makefile: Likewise.
35673         * timezone/Makefile: Likewise.
35674         (all): Remove target.
35675         * wcsmbs/Makefile: Include Makeconfig immediately after defining
35676         subdir.
35677         * wctype/Makefile: Likewise.
35679 2014-02-26  Steve Ellcey  <sellcey@mips.com>
35681         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
35682         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
35683         (libc_feholdexcept_setround_mips): Ditto.
35684         (libc_feholdsetround): New.
35685         (libc_feholdsetroundf): New.
35686         (libc_feholdsetroundl): New.
35687         (libc_feupdateenv_test_mips): New.
35688         (libc_feupdateenv_test): New.
35689         (libc_feupdateenv_testf): New.
35690         (libc_feupdateenv_testl): New.
35691         (libc_feresetround): New.
35692         (libc_feresetroundf): New.
35693         (libc_feresetroundl): New.
35694         (libc_fetestexcept_mips): New.
35695         (libc_fetestexcept): New.
35696         (libc_fetestexceptf): New.
35697         (libc_fetestexceptl): New.
35698         (HAVE_RM_CTX): New.
35699         (libc_feholdexcept_setround_mips_ctx): New.
35700         (libc_feholdexcept_setround_ctx): New.
35701         (libc_feholdexcept_setroundf_ctx): New.
35702         (libc_feholdexcept_setroundl_ctx): New.
35703         (libc_fesetenv_mips_ctx): New.
35704         (libc_fesetenv_ctx): New.
35705         (libc_fesetenv_ctxf): New.
35706         (libc_fesetenv_ctxl): New.
35707         (libc_feupdateenv_mips_ctx): New.
35708         (libc_feupdateenv_ctx): New.
35709         (libc_feupdateenvf_ctx): New.
35710         (libc_feupdateenvl_ctx): New.
35711         (libc_feholdsetround_mips_ctx): New.
35712         (libc_feholdsetround_ctx): New.
35713         (libc_feholdsetroundf_ctx): New.
35714         (libc_feholdsetroundl_ctx): New.
35715         (libc_feresetround_mips_ctx): New.
35716         (libc_feresetround_ctx): New.
35717         (libc_feresetroundf_ctx): New.
35718         (libc_feresetroundl_ctx): New.
35720 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
35722         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
35724         * manual/ipc.texi: New file.
35725         * manual/Makefile (chapters): Add ipc.
35726         * manual/job.texi: Add "Inter-Process Communication" to next.
35727         * manual/process.texi: Add "Inter-Process Communication" to prev.
35729 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35733 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
35735         * malloc/malloc.c (__libc_calloc): Simplify implementation.
35737         * manual/arith.texi: Fix spaces after sentences.
35738         * manual/charset.texi: Likewise.
35739         * manual/errno.texi: Likewise.
35740         * manual/install.texi: Likewise.
35741         * manual/llio.texi: Likewise.
35742         * manual/locale.texi: Likewise.
35743         * manual/maint.texi: Likewise.
35744         * manual/math.texi: Likewise.
35745         * manual/memory.texi: Likewise.
35746         * manual/message.texi: Likewise.
35747         * manual/probes.texi: Likewise.
35748         * manual/resource.texi: Likewise.
35749         * manual/signal.texi: Likewise.
35750         * manual/socket.texi: Likewise.
35751         * manual/stdio.texi: Likewise.
35752         * manual/string.texi: Likewise.
35753         * manual/time.texi: Likewise.
35754         * manual/users.texi: Likewise.
35756 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
35758         [BZ #16632]
35759         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
35760         _DEFAULT_SOURCE is defined.
35762 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
35763             Carlos O'Donell  <carlos@redhat.com>
35765         [BZ #16613]
35766         * elf/dl-tls.c (_dl_count_modids): New function.
35767         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
35768         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
35769         audit library and increment generation counter.
35770         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
35771         * elf/tst-audit9.c: New file.
35772         * elf/tst-auditmod9a.c: New file.
35773         * elf/tst-auditmod9b.c: New file.
35774         * elf/Makefile: Add rules to build and run tst-audit9.
35776 2014-02-25  Florian Weimer  <fweimer@redhat.com>
35778         [BZ #15347]
35779         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
35781 2014-02-25  Will Newton  <will.newton@linaro.org>
35783         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
35784         (__longjmp): Restore sp and lr before restoring callee
35785         saved registers.  Add longjmp and longjmp_target
35786         SystemTap probe point.
35787         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
35788         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
35789         Define to zero to match jmpbuf layout.
35790         * sysdeps/arm/setjmp.S: Include stap-probe.h.
35791         (__sigsetjmp): Save sp and lr before saving callee
35792         saved registers.  Add setjmp SystemTap probe point.
35794 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35796         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35798 2014-02-24  Andreas Schwab  <schwab@suse.de>
35800         [BZ #15804]
35801         * elf/pldd.c (wait_for_ptrace_stop): New function.
35802         (main): Call it after attaching.
35804 2014-02-22  Roland McGrath  <roland@hack.frob.com>
35806         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
35807         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
35808         Versions files is now verboten.
35809         * hurd/Versions (libc: GLIBC_2.0):
35810         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
35811         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
35812         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
35813         * mach/Versions: Likewise.
35815         * csu/Versions: Remove unused %include.
35816         * resolv/Versions: Likewise.
35818 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
35820         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
35821         ($(objpfx)check-local-headers.out): Likewise.
35822         ($(objpfx)begin-end-check.out): Likewise.
35823         * Makerules (check-abi-%.out): Likewise.
35824         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
35825         ($(objpfx)test2.cat): Likewise.
35826         ($(objpfx)de/libc.cat): Likewise.
35827         ($(objpfx)test-gencat.out): Likewise.
35828         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
35829         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
35830         ($(objpfx)noload-mem): Likewise.
35831         ($(objpfx)tst-pathopt.out): Likewise.
35832         ($(objpfx)tst-rtld-load-self.out): Likewise.
35833         ($(objpfx)tst-array1-cmp.out): Likewise.
35834         ($(objpfx)tst-array1-static-cmp.out): Likewise.
35835         ($(objpfx)tst-array2-cmp.out): Likewise.
35836         ($(objpfx)tst-array3-cmp.out): Likewise.
35837         ($(objpfx)tst-array4-cmp.out): Likewise.
35838         ($(objpfx)tst-array5-cmp.out): Likewise.
35839         ($(objpfx)tst-array5-static-cmp.out): Likewise.
35840         ($(objpfx)check-textrel.out): Likewise.
35841         ($(objpfx)check-execstack.out): Likewise.
35842         ($(objpfx)check-localplt.out): Likewise.
35843         ($(objpfx)order2-cmp.out): Likewise.
35844         ($(objpfx)tst-leaks1-mem): Likewise.
35845         ($(objpfx)tst-leaks1-static-mem): Likewise.
35846         ($(objpfx)tst-initorder-cmp.out): Likewise.
35847         ($(objpfx)tst-initorder2-cmp.out): Likewise.
35848         ($(objpfx)tst-unused-dep.out): Likewise.
35849         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
35850         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35851         * iconv/Makefile (test-iconvconfig): Likewise.
35852         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
35853         ($(objpfx)iconv-test.out): Likewise.
35854         ($(objpfx)tst-tables.out): Likewise.
35855         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
35856         ($(objpfx)tst-gettext.out): Likewise.
35857         ($(objpfx)tst-translit.out): Likewise.
35858         ($(objpfx)tst-gettext2.out): Likewise.
35859         ($(objpfx)tst-gettext4.out): Likewise.
35860         ($(objpfx)tst-gettext6.out): Likewise.
35861         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
35862         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35863         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
35864         ($(objpfx)tst-fopenloc-mem.out): Likewise.
35865         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35866         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
35867         * posix/Makefile ($(objpfx)globtest.out): Likewise.
35868         ($(objpfx)wordexp-tst.out): Likewise.
35869         ($(objpfx)annexc.out): Likewise.
35870         ($(objpfx)tst-fnmatch-mem): Likewise.
35871         ($(objpfx)bug-regex2-mem): Likewise.
35872         ($(objpfx)bug-regex14-mem): Likewise.
35873         ($(objpfx)bug-regex21-mem): Likewise.
35874         ($(objpfx)bug-regex31-mem): Likewise.
35875         ($(objpfx)tst-vfork3-mem): Likewise.
35876         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35877         ($(objpfx)tst-pcre-mem): Likewise.
35878         ($(objpfx)tst-boost-mem): Likewise.
35879         ($(objpfx)tst-getconf.out): Likewise.
35880         ($(objpfx)bug-ga2-mem): Likewise.
35881         ($(objpfx)bug-glob2-mem): Likewise.
35882         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
35883         ($(objpfx)mtrace-tst-leaks2): Likewise.
35884         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
35885         ($(objpfx)tst-printf.out): Likewise.
35886         ($(objpfx)tst-setvbuf1.out): Likewise.
35887         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
35888         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
35889         ($(objpfx)tst-fmtmsg.out): Likewise.
35890         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
35891         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
35893         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
35894         * bits/sigaction.h [__USE_MISC]: Likewise.
35895         * bits/waitstatus.h: Update #endif comments.
35896         * ctype/ctype.h: Likewise.
35897         * dirent/dirent.h: Likewise.
35898         [__USE_MISC]: Remove redundant conditionals.
35899         * grp/grp.h: Update #endif comments.
35900         [__USE_GNU]: Remove redundant conditionals.
35901         [__USE_MISC]: Likewise.
35902         * inet/netinet/in.h [__USE_GNU]: Likewise.
35903         * io/sys/stat.h [__USE_MISC]: Likewise.
35904         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
35905         * libio/bits/stdio.h: Update #endif comments.
35906         [__USE_MISC]: Remove redundant conditionals.
35907         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
35908         * libio/stdio.h: Update #endif comments.
35909         [__USE_MISC]: Remove redundant conditionals.
35910         * math/bits/math-finite.h [__USE_MISC]: Likewise.
35911         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
35912         * math/math.h: Update #else and #endif comments.
35913         [__USE_MISC]: Remove redundant conditionals.
35914         * misc/sys/uio.h: Update #endif comments.
35915         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
35916         * posix/glob.h [__USE_MISC]: Likewise.
35917         * posix/sys/types.h: Update #endif comments.
35918         [__USE_MISC]: Remove redundant conditionals.
35919         * posix/sys/wait.h: Update #endif comments.
35920         [__USE_MISC]: Remove redundant conditionals.
35921         * posix/unistd.h: Update #endif comments.
35922         [__USE_MISC]: Remove redundant conditionals.
35923         * pwd/pwd.h [__USE_GNU]: Likewise.
35924         [__USE_MISC]: Likewise.
35925         * resolv/netdb.h [__USE_GNU]: Likewise.
35926         * signal/signal.h: Update #endif comments.
35927         [__USE_MISC]: Remove redundant conditionals.
35928         * stdlib/stdlib.h: Update #else and #endif comments.
35929         [__USE_MISC]: Remove redundant conditionals.
35930         [__USE_GNU]: Likewise.
35931         * string/bits/string2.h [__USE_MISC]: Likewise.
35932         * string/string.h: Update #endif comments.
35933         [__USE_MISC]: Remove redundant conditionals.
35934         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
35935         Likewise.
35936         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
35937         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
35938         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
35939         Likewise.
35940         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
35941         Likewise.
35942         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
35943         comments.
35944         [__USE_MISC]: Remove redundant conditionals.
35945         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
35946         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
35947         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
35948         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
35949         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
35950         Likewise.
35951         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
35952         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
35953         Likewise.
35954         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
35955         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
35956         Likewise.
35957         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
35958         Likewise.
35959         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
35960         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
35961         Likewise.
35962         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
35963         Likewise.
35964         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
35965         * sysdeps/x86/bits/string.h: Update #endif comments.
35966         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
35967         conditionals.
35968         * time/sys/time.h: Update #endif comments.
35969         * time/time.h: Likewise.
35970         [__USE_MISC]: Remove redundant conditionals.
35972 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
35974         [BZ #16600]
35975         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
35977 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
35979         * Versions.def (librt): Add GLIBC_2.17.
35981 2014-02-21  Adam Conrad  <adconrad@0c3.net>
35983         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
35984         synonym for _SYS_AUXV_H to allow direct inclusion.
35985         * sysdeps/sparc/bits/hwcap.h: Likewise.
35986         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
35987         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
35988         * sysdeps/sparc/sysdep.h: Likewise.
35990 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35992         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
35994 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35996         * benchtests/bench-strrchr.c: Print length instead of position.
35998 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
36000         [BZ #16611]
36001         * sysdeps/unix/sysv/linux/kernel-features.h
36002         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
36003         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
36004         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
36005         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
36006         Likewise.
36007         [__i386__ || __powerpc__ || __sh__ || __sparc__]
36008         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36009         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
36010         (__ASSUME_SENDMMSG): Define instead of using previous
36011         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
36012         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36013         (__ASSUME_SENDMMSG_SYSCALL): Define.
36014         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36015         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
36016         Likewise.
36017         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36018         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36019         Likewise.
36020         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36021         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36022         Likewise.
36023         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
36024         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36025         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36026         [__ASSUME_SENDMMSG]: Change conditionals to
36027         [__ASSUME_SENDMMSG_SOCKETCALL].
36028         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36029         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
36030         Define.
36031         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36032         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
36033         Likewise.
36034         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
36035         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36036         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36037         [!__ASSUME_SENDMMSG]: Change conditional to
36038         [!__ASSUME_SENDMMSG_SOCKETCALL].
36039         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36040         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36041         Define.
36043         [BZ #16610]
36044         * sysdeps/unix/sysv/linux/kernel-features.h
36045         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
36046         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
36047         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
36048         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
36049         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36050         [__i386__ || __sparc__]
36051         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36052         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
36053         (__ASSUME_RECVMMSG): Define instead of using previous
36054         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
36055         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36056         (__ASSUME_RECVMMSG_SYSCALL): Define.
36057         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36058         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36059         Likewise.
36060         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36061         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36062         Likewise.
36063         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36064         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36065         Likewise.
36066         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
36067         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36068         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36069         [__ASSUME_RECVMMSG]: Change condition to
36070         [__ASSUME_RECVMMSG_SOCKETCALL].
36071         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36072         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36073         Define.
36074         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36075         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36076         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36077         Likewise.
36078         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
36079         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36080         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36081         [!__ASSUME_RECVMMSG]: Change condition to
36082         [!__ASSUME_RECVMMSG_SOCKETCALL].
36083         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36084         (__ASSUME_RECVMMSG_SYSCALL): Define.
36086         [BZ #16609]
36087         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
36088         __powerpc__ || __s390__ || __sh__ || __sparc__]
36089         (__ASSUME_SOCKETCALL): Define.
36090         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
36091         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
36092         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
36093         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
36094         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36095         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36096         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
36097         (__ASSUME_ACCEPT4): Define instead of using previous
36098         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
36099         __powerpc__ || __sparc__ || __s390__)] condition.
36100         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36101         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36102         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
36103         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36104         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36105         [!__ASSUME_ACCEPT4]: Change condition to
36106         [!__ASSUME_ACCEPT4_SOCKETCALL].
36107         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36108         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
36109         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
36110         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36111         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
36112         __ASSUME_ACCEPT4_SYSCALL.
36113         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
36114         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
36115         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36116         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
36117         __ASSUME_ACCEPT4_SYSCALL.
36118         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
36119         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36120         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36121         [__ASSUME_ACCEPT4]: Change condition to
36122         [__ASSUME_ACCEPT4_SOCKETCALL].
36123         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36124         (__ASSUME_SOCKETCALL): Define.
36125         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
36126         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36127         (__ASSUME_SOCKETCALL): Define.
36128         (__ASSUME_ACCEPT4): Remove.
36129         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
36130         Define.
36131         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36132         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
36133         Likewise.
36134         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36135         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36137         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
36138         macro.
36139         (HWCAP_ARM_LPAE): Likewise.
36140         (HWCAP_ARM_EVTSTRM): Likewise.
36141         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
36142         Add vpfd32, lpae and evtstrm.
36143         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
36144         Increase to 22.
36146 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
36148         * math/auto-libm-test-in: Add tests of clog10.
36149         * math/auto-libm-test-out: Regenerated.
36150         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
36151         * sysdeps/i386/fpu/libm-test-ulps: Update.
36152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36154 2014-02-18  Andreas Schwab  <schwab@suse.de>
36156         [BZ #16574]
36157         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
36158         Store non-zero if the second buffer was newly allocated.
36159         (send_dg): Likewise.
36160         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
36161         to send_vc and send_dg.
36162         (res_nsend): Pass NULL for ansp2_malloced.
36163         * resolv/res_query.c (__libc_res_nquery): Add parameter
36164         answerp2_malloced and pass it down to __libc_res_nsend.
36165         (res_nquery): Pass additional NULL to __libc_res_nquery.
36166         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
36167         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
36168         second answer buffer if answerp2_malloced was set.
36169         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
36170         (__libc_res_nquerydomain): Add parameter
36171         answerp2_malloced and pass it down to __libc_res_nquery.
36172         (res_nquerydomain): Pass additional NULL to
36173         __libc_res_nquerydomain.
36174         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
36175         additional NULL to __libc_res_nsend and __libc_res_nquery.
36176         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
36177         additional NULL to __libc_res_nsearch.
36178         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
36179         parameter of __libc_res_nsearch to check for separately allocated
36180         second buffer.
36181         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
36182         __libc_res_nquery.
36183         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
36184         additional NULL to __libc_res_nquery.
36185         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
36186         __libc_res_nsearch.
36187         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
36188         * include/resolv.h: Update prototypes of __libc_res_nquery,
36189         __libc_res_nsearch, __libc_res_nsend.
36191 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
36193         * math/auto-libm-test-in: Add tests of fma.
36194         * math/auto-libm-test-out: Regenerated.
36195         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
36196         (fma_towardzero_test_data): Likewise.
36197         (fma_downward_test_data): Likewise.
36198         (fma_upward_test_data): Likewise.
36199         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
36200         mpc_mode.
36201         (rounding_modes): Add values for new field.
36202         (func_calc_method): Add value mpfr_fff_f.
36203         (func_calc_desc): Add mpfr_fff_f union field.
36204         (test_function): Add field exact_args.
36205         (FUNC): Add macro argument EXACT_ARGS.
36206         (FUNC_mpfr_f_f): Update call to FUNC.
36207         (FUNC_mpfr_f_f): Likewise.
36208         (FUNC_mpfr_ff_f): Likewise.
36209         (FUNC_mpfr_if_f): Likewise.
36210         (FUNC_mpc_c_f): Likewise.
36211         (FUNC_mpc_c_c): Likewise.
36212         (test_functions): Add fma.  Update calls to FUNC.
36213         (handle_input_arg): Add argument exact_args.
36214         (add_test): Update call to handle_input_arg.
36215         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
36216         (output_for_one_input_case): Update call to calc_generic_results.
36217         Recalculate exact zero results in each rounding mode.
36219         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
36220         non-negative before setting low bit.
36221         * math/auto-libm-test-in: Mark one asin test possibly having
36222         spurious underflow.
36223         * math/auto-libm-test-out: Regenerated.
36224         * sysdeps/i386/fpu/libm-test-ulps: Update.
36225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36227 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
36229         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
36230         * sysdeps/unix/sysv/linux/microblaze: Move directory from
36231         ports/sysdeps/unix/sysv/linux/microblaze.
36232         * README: Add missing listing for microblaze*-*-linux-gnu.
36234 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
36236         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
36237         duplicate code
36239 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
36241         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
36242         * sysdeps/unix/sysv/linux/ia64: Move directory from
36243         ports/sysdeps/unix/sysv/linux/ia64.
36244         * README: Update listing for ia64-*-linux-gnu.
36246 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
36247             Joseph Myers  <joseph@codesourcery.com>
36249         * Makeconfig (test-name): New variable.
36250         (evaluate-test): Likewise.
36251         * Makerules (do-test-clean): Remove .test-result files.
36252         (common-mostlyclean): Likewise.
36253         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
36254         * scripts/evaluate-test.sh: New file.
36256 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
36258         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
36259         separate $(objpfx)tst-fopenloc-cmp.out and
36260         $(objpfx)tst-fopenloc-mem.out targets.
36261         (tests): Update dependencies.
36262         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
36263         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
36264         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
36265         (tst-rxspencer-no-utf8-ARGS): New variable.
36266         (tst-rxspencer-no-utf8-ENV): Likewise.
36267         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
36268         instead of $(objpfx)tst-rxspencer-mem.
36269         ($(objpfx)tst-rxspencer-mem): Change target to
36270         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
36271         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
36272         * posix/tst-rxspencer-no-utf8.c: New file.
36274         * elf/Makefile ($(objpfx)order.out): Remove rule.
36275         [$(run-built-tests) = yes] (tests): Depend on
36276         $(objpfx)order-cmp.out.
36277         ($(objpfx)order-cmp.out): New rule.
36278         [$(run-built-tests) = yes] (tests): Depend on
36279         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
36280         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36281         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
36282         $(objpfx)tst-array5-static-cmp.out.
36283         ($(objpfx)tst-array1.out): Remove rule.
36284         ($(objpfx)tst-array1-cmp.out): New rule.
36285         ($(objpfx)tst-array1-static.out): Remove rule.
36286         ($(objpfx)tst-array1-static-cmp.out): New rule.
36287         ($(objpfx)tst-array2.out): Remove rule.
36288         ($(objpfx)tst-array2-cmp.out): New rule.
36289         ($(objpfx)tst-array3.out): Remove rule.
36290         ($(objpfx)tst-array3-cmp.out): New rule.
36291         ($(objpfx)tst-array4.out): Remove rule.
36292         ($(objpfx)tst-array4-cmp.out): New rule.
36293         ($(objpfx)tst-array5.out): Remove rule.
36294         ($(objpfx)tst-array5-cmp.out): New rule.
36295         ($(objpfx)tst-array5-static.out): Remove rule.
36296         ($(objpfx)tst-array5-static-cmp.out): New rule.
36297         [$(run-built-tests) = yes] (tests): Depend on
36298         $(objpfx)order2-cmp.out.
36299         ($(objpfx)order2.out): Remove rule.
36300         ($(objpfx)order2-cmp.out): New rule.
36301         ($(objpfx)tst-initorder.out): Remove rule.
36302         [$(run-built-tests) = yes] (tests): Depend on
36303         $(objpfx)tst-initorder-cmp.out.
36304         ($(objpfx)tst-initorder-cmp.out): New rule.
36305         ($(objpfx)tst-initorder2.out): Remove rule.
36306         [$(run-built-tests) = yes] (tests): Depend on
36307         $(objpfx)tst-initorder2-cmp.out.
36308         ($(objpfx)tst-initorder2-cmp.out): New rule.
36309         [$(run-built-tests) = yes] (tests): Depend on
36310         $(objpfx)tst-unused-dep-cmp.out.
36311         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
36312         ($(objpfx)tst-unused-dep-cmp.out): New rule.
36313         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
36314         on $(objpfx)tst-setvbuf1-cmp.out.
36315         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
36316         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
36317         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
36318         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
36319         ($(objpfx)tst-svc.out): Remove rule.
36320         ($(objpfx)tst-svc-cmp.out): New rule.
36322 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
36324         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
36325         * ctype/ctype.h [__USE_MISC]: Likewise.
36326         * dirent/dirent.h [__USE_MISC]: Likewise.
36327         * grp/grp.h [__USE_MISC]: Likewise.
36328         * io/fcntl.h [__USE_MISC]: Likewise.
36329         * io/sys/stat.h [__USE_MISC]: Likewise.
36330         * libio/stdio.h [__USE_MISC]: Likewise.
36331         * posix/unistd.h [__USE_MISC]: Likewise.
36332         * pwd/pwd.h [__USE_MISC]: Likewise.
36333         * stdlib.h [__USE_MISC]: Likewise.
36334         * string/bits/string2.h [__USE_MISC]: Likewise.
36335         * string/string.h [__USE_MISC]: Likewise.
36336         * time/time.h [__USE_MISC]: Likewise.
36338 2014-02-13  Andreas Schwab  <schwab@suse.de>
36340         [BZ #16574]
36341         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
36342         second answer buffer if it was separately allocated.
36344 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
36346         * sysdeps/mips/math-tests.h: Include <features.h>.
36347         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36348         (ROUNDING_TESTS_long_double): Do not define.
36349         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36350         (EXCEPTION_TESTS_long_double): Likewise.
36351         * sysdeps/mips/mips64/libm-test-ulps: Update.
36353         * include/features.h (__USE_BSD): Remove macro definitions.
36354         (__USE_SVID): Likewise.
36355         (_BSD_SOURCE): Likewise.
36356         (_SVID_SOURCE): Likewise.
36357         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
36358         from definition of _DEFAULT_SOURCE.
36359         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
36360         [_DEFAULT_SOURCE].
36361         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
36362         * bits/mman.h [__USE_BSD]: Likewise.
36363         * bits/termios.h [__USE_BSD]: Likewise.
36364         * bits/waitstatus.h [__USE_BSD]: Likewise.
36365         * ctype/ctype.h [__USE_SVID]: Likewise.
36366         * dirent/dirent.h [__USE_BSD]: Likewise.
36367         * grp/grp.h [__USE_SVID]: Likewise.
36368         [__USE_BSD]: Likewise.
36369         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
36370         * io/fcntl.h [__USE_BSD]: Likewise.
36371         * io/ftw.h [__USE_BSD]: Likewise.
36372         * io/sys/stat.h [__USE_BSD]: Likewise.
36373         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
36374         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
36375         * libio/stdio.h [__USE_SVID]: Likewise.
36376         [__USE_BSD]: Likewise.
36377         * math/math.h [__USE_SVID]: Likewise.
36378         [__USE_BSD]: Likewise.
36379         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
36380         * misc/bits/syslog.h [__USE_BSD]: Likewise.
36381         * misc/search.h [__USE_SVID]: Likewise.
36382         * misc/sys/mman.h [__USE_BSD]: Likewise.
36383         * misc/sys/syslog.h [__USE_BSD]: Likewise.
36384         * misc/sys/uio.h [__USE_BSD]: Likewise.
36385         * posix/bits/unistd.h [__USE_BSD]: Likewise.
36386         * posix/glob.h [__USE_BSD]: Likewise.
36387         * posix/regex.h [__USE_BSD]: Likewise.
36388         * posix/sys/types.h [__USE_BSD]: Likewise.
36389         [__USE_SVID]: Likewise.
36390         * posix/sys/utsname.h [__USE_SVID]: Likewise.
36391         * posix/sys/wait.h [__USE_BSD]: Likewise.
36392         [__USE_SVID]: Likewise.
36393         * posix/unistd.h [__USE_BSD]: Likewise.
36394         [__USE_SVID]: Likewise.
36395         * pwd/pwd.h [__USE_SVID]: Likewise.
36396         * resolv/netdb.h [__USE_BSD]: Likewise.
36397         * setjmp/setjmp.h [__USE_BSD]: Likewise.
36398         * signal/signal.h [__USE_BSD]: Likewise.
36399         [__USE_SVID]: Likewise.
36400         * socket/sys/socket.h [__USE_BSD]: Likewise.
36401         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
36402         * stdlib/stdlib.h [__USE_BSD]: Likewise.
36403         [__USE_SVID]: Likewise.
36404         * string/bits/string2.h [__USE_BSD]: Likewise.
36405         [__USE_SVID]: Likewise.
36406         * string/bits/string3.h [__USE_BSD]: Likewise.
36407         * string/endian.h [__USE_BSD]: Likewise.
36408         * string/string.h [__USE_SVID]: Likewise.
36409         [__USE_BSD]: Likewise.
36410         * string/strings.h [__USE_BSD]: Likewise.
36411         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
36412         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
36413         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
36414         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
36415         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
36416         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
36417         Likewise.
36418         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
36419         Likewise.
36420         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
36421         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
36422         Likewise.
36423         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
36424         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
36425         Likewise.
36426         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
36427         Likewise.
36428         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
36429         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
36430         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
36431         Likewise.
36432         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
36433         Likewise.
36434         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
36435         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
36436         * termios/termios.h [__USE_BSD]: Likewise.
36437         * time/sys/time.h [__USE_BSD]: Likewise.
36438         * time/time.h [__USE_BSD]: Likewise.
36439         [__USE_SVID]: Likewise.
36441         * Makefile (subdir_targets): Remove subdir_lint.out.
36443         * stdio-common/Makefile (do-tst-unbputc): Remove target.
36444         (do-tst-printf): Likewise.
36445         (tests): Depend directly on $(objpfx)tst-unbputc.out and
36446         $(objpfx)tst-printf.out.
36448         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
36450         * Makerules (check-abi-%): Change target to
36451         $(objpfx)check-abi-%.out.
36452         (check-abi target): Update dependencies.
36453         (check-abi-pattern variable): Redirect output of diff to $@.
36454         (check-abi variable): Likewise.
36455         * elf/Makefile (check-abi): Update dependencies.
36457         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
36458         unused.
36459         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
36460         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
36461         subnormal range.
36462         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
36463         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
36464         value has largest subnormal exponent.
36465         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
36466         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
36467         * sysdeps/aarch64/soft-fp/sfp-machine.h
36468         (_FP_TININESS_AFTER_ROUNDING): New macro.
36469         * sysdeps/alpha/soft-fp/sfp-machine.h
36470         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36471         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36472         Likewise.
36473         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
36474         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36475         * sysdeps/mips/soft-fp/sfp-machine.h
36476         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36477         * sysdeps/powerpc/soft-fp/sfp-machine.h
36478         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36479         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36480         Likewise.
36481         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36482         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36483         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36484         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36485         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36486         Likewise.
36488 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
36490         [BZ #16545]
36491         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
36492         model 1.
36494 2014-02-12  Richard Henderson  <rth@redhat.com>
36496         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
36497         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
36498         * sysdeps/unix/sysv/linux/alpha: Move directory from
36499         ports/sysdeps/unix/sysv/linux/alpha.
36500         * README: Update listing for alpha-*-linux-gnu.
36502 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
36504         * include/features.h: Update comment documenting feature test
36505         macros.
36506         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
36507         _DEFAULT_SOURCE.
36508         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
36509         (_SVID_SOURCE): Likewise.
36510         (_DEFAULT_SOURCE): Update description of default features.
36511         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
36512         with _GNU_SOURCE.
36513         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
36514         (S_ISVTX): Likewise.
36515         * manual/math.texi (Mathematical Constants): Likewise.
36516         * manual/signal.texi (Interrupted Primitives): Likewise.
36517         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
36518         * math/test-matherr.c (_SVID_SOURCE): Do not define.
36519         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
36520         Don't refer to _SVID_SOURCE in warning text.
36522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36524         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
36525         already defined.
36526         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
36527         * sysdeps/mips/dl-lookup.c: Remove.
36528         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
36530 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36532         [BZ #16447]
36533         * math/auto-libm-test-in: Add testcase for expl.
36534         * math/auto-libm-test-out: Regenerate.
36535         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
36536         calculation of unsafe.
36537         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
36539 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36541         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
36542         * sysdeps/unix/sysv/linux/aarch64: Move directory from
36543         ports/sysdeps/unix/sysv/linux/aarch64.
36544         * README: Update listing for aarch64*-*-linux-gnu.
36546 2014-02-11  Will Newton  <will.newton@linaro.org>
36548         * manual/probes.texi (Mathematical Function Probes): Use
36549         "triggered" instead of "hit".
36551         * manual/probes.texi (Internal Probes): Add documentation
36552         of setjmp, longjmp and longjmp_target probes.
36554         * include/stap-probe.h: Add comment about probe argument
36555         format.
36557         * malloc/mtrace.c (attribute_hidden): Remove unused macro
36558         definition.  (tr_where, tr_freehook, tr_mallochook,
36559         tr_reallochook, tr_memalignhook): Use ANSI protoype.
36561 2014-02-11  David S. Miller  <davem@davemloft.net>
36563         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
36564         processing int_tests.
36566 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
36568         * sysdeps/mips: Move directory from ports/sysdeps/mips.
36569         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
36570         * sysdeps/unix/sysv/linux/mips: Move directory from
36571         ports/sysdeps/unix/sysv/linux/mips.
36572         * README: Update listing for mips-*-linux-gnu and
36573         mips64-*-linux-gnu.
36575 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
36577         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
36578         * sysdeps/unix/sysv/linux/m68k: Move directory from
36579         ports/sysdeps/unix/sysv/linux/m68k.
36580         * README: Update listing for m68k-*-linux-gnu.
36582 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
36584         * sysdeps/tile: Move directory from ports/sysdeps/tile.
36585         * sysdeps/unix/sysv/linux/generic: Move directory from
36586         ports/sysdeps/unix/sysv/linux/generic.
36587         * sysdeps/unix/sysv/linux/tile: Move directory from
36588         ports/sysdeps/unix/sysv/linux/tile.
36589         * README: Update listing for tile*-*-linux-gnu.
36591 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
36593         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
36594         __builtin_expect.
36595         * benchtests/bench-memmem.c (simple_memmem): Likewise.
36596         * catgets/open_catalog.c (__open_catalog): Likewise.
36597         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
36598         * debug/confstr_chk.c: Likewise.
36599         * debug/fread_chk.c (__fread_chk): Likewise.
36600         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
36601         * debug/getgroups_chk.c: Likewise.
36602         * debug/mbsnrtowcs_chk.c: Likewise.
36603         * debug/mbsrtowcs_chk.c: Likewise.
36604         * debug/mbstowcs_chk.c: Likewise.
36605         * debug/memcpy_chk.c: Likewise.
36606         * debug/memmove_chk.c: Likewise.
36607         * debug/mempcpy_chk.c: Likewise.
36608         * debug/memset_chk.c: Likewise.
36609         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
36610         * debug/strcat_chk.c (__strcat_chk): Likewise.
36611         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
36612         * debug/strncat_chk.c (__strncat_chk): Likewise.
36613         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
36614         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
36615         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
36616         * debug/wcpncpy_chk.c: Likewise.
36617         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
36618         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
36619         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
36620         * debug/wcsncpy_chk.c: Likewise.
36621         * debug/wcsnrtombs_chk.c: Likewise.
36622         * debug/wcsrtombs_chk.c: Likewise.
36623         * debug/wcstombs_chk.c: Likewise.
36624         * debug/wmemcpy_chk.c: Likewise.
36625         * debug/wmemmove_chk.c: Likewise.
36626         * debug/wmempcpy_chk.c: Likewise.
36627         * debug/wmemset_chk.c: Likewise.
36628         * dirent/scandirat.c (SCANDIRAT): Likewise.
36629         * dlfcn/dladdr1.c (dladdr1): Likewise.
36630         * dlfcn/dladdr.c (dladdr): Likewise.
36631         * dlfcn/dlclose.c (dlclose_doit): Likewise.
36632         * dlfcn/dlerror.c (__dlerror): Likewise.
36633         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
36634         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
36635         * dlfcn/dlopen.c (dlopen_doit): Likewise.
36636         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
36637         * dlfcn/dlsym.c (dlsym_doit): Likewise.
36638         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
36639         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
36640         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
36641         Likewise.
36642         * elf/dl-conflict.c: Likewise.
36643         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
36644         * elf/dl-dst.h: Likewise.
36645         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
36646         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
36647         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
36648         * elf/dl-init.c (call_init, _dl_init): Likewise.
36649         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
36650         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
36651         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
36652         Likewise.
36653         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
36654         Likewise.
36655         * elf/dl-minimal.c (__libc_memalign): Likewise.
36656         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
36657         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
36658         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
36659         * elf/dl-sym.c (do_sym): Likewise.
36660         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
36661         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
36662         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
36663         * elf/dl-writev.h (_dl_writev): Likewise.
36664         * elf/ldconfig.c (search_dir): Likewise.
36665         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
36666         (dl_main): Likewise.
36667         * elf/setup-vdso.h (setup_vdso): Likewise.
36668         * grp/compat-initgroups.c (compat_call): Likewise.
36669         * grp/fgetgrent.c (fgetgrent): Likewise.
36670         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
36671         * grp/putgrent.c (putgrent): Likewise.
36672         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36673         Likewise.
36674         * hurd/hurdinit.c: Likewise.
36675         * iconvdata/8bit-gap.c (struct): Likewise.
36676         * iconvdata/ansi_x3.110.c : Likewise.
36677         * iconvdata/big5.c : Likewise.
36678         * iconvdata/big5hkscs.c : Likewise.
36679         * iconvdata/cp1255.c: Likewise.
36680         * iconvdata/cp1258.c : Likewise.
36681         * iconvdata/cp932.c : Likewise.
36682         * iconvdata/euc-cn.c: Likewise.
36683         * iconvdata/euc-jisx0213.c : Likewise.
36684         * iconvdata/euc-jp.c: Likewise.
36685         * iconvdata/euc-jp-ms.c : Likewise.
36686         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
36687         * iconvdata/gb18030.c : Likewise.
36688         * iconvdata/gbbig5.c (const): Likewise.
36689         * iconvdata/gbgbk.c: Likewise.
36690         * iconvdata/gbk.c : Likewise.
36691         * iconvdata/ibm1364.c : Likewise.
36692         * iconvdata/ibm930.c : Likewise.
36693         * iconvdata/ibm932.c: Likewise.
36694         * iconvdata/ibm933.c : Likewise.
36695         * iconvdata/ibm935.c : Likewise.
36696         * iconvdata/ibm937.c : Likewise.
36697         * iconvdata/ibm939.c : Likewise.
36698         * iconvdata/ibm943.c: Likewise.
36699         * iconvdata/iso_11548-1.c: Likewise.
36700         * iconvdata/iso-2022-cn.c : Likewise.
36701         * iconvdata/iso-2022-cn-ext.c : Likewise.
36702         * iconvdata/iso-2022-jp-3.c: Likewise.
36703         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
36704         * iconvdata/iso-2022-kr.c : Likewise.
36705         * iconvdata/iso646.c (gconv_end): Likewise.
36706         * iconvdata/iso_6937-2.c : Likewise.
36707         * iconvdata/iso_6937.c : Likewise.
36708         * iconvdata/iso8859-1.c: Likewise.
36709         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
36710         * iconvdata/shift_jisx0213.c : Likewise.
36711         * iconvdata/sjis.c : Likewise.
36712         * iconvdata/t.61.c : Likewise.
36713         * iconvdata/tcvn5712-1.c : Likewise.
36714         * iconvdata/tscii.c: Likewise.
36715         * iconvdata/uhc.c : Likewise.
36716         * iconvdata/unicode.c (gconv_end): Likewise.
36717         * iconvdata/utf-16.c (gconv_end): Likewise.
36718         * iconvdata/utf-32.c (gconv_end): Likewise.
36719         * iconvdata/utf-7.c (base64): Likewise.
36720         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36721         * iconv/gconv_close.c (__gconv_close): Likewise.
36722         * iconv/gconv_open.c (__gconv_open): Likewise.
36723         * iconv/gconv_simple.c (internal_ucs4_loop_single)
36724         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
36725         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
36726         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
36727         (ucs4le_internal_loop_single): Likewise.
36728         * iconv/iconv.c (iconv): Likewise.
36729         * iconv/iconv_close.c: Likewise.
36730         * iconv/loop.c (SINGLE): Likewise.
36731         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
36732         * include/atomic.h: Likewise.
36733         * inet/inet6_option.c (option_alloc): Likewise.
36734         * intl/bindtextdom.c (set_binding_values): Likewise.
36735         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
36736         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
36737         * intl/localealias.c (read_alias_file): Likewise.
36738         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
36739         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
36740         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
36741         * libio/fmemopen.c (fmemopen): Likewise.
36742         * libio/iofgets.c (_IO_fgets): Likewise.
36743         * libio/iofgets_u.c (fgets_unlocked): Likewise.
36744         * libio/iofgetws.c (fgetws): Likewise.
36745         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
36746         * libio/iogetdelim.c (_IO_getdelim): Likewise.
36747         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
36748         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
36749         * locale/findlocale.c (_nl_find_locale): Likewise.
36750         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36751         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
36752         Likewise.
36753         * locale/setlocale.c (setlocale): Likewise.
36754         * login/programs/pt_chown.c (main): Likewise.
36755         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
36756         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
36757         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
36758         (mmap, mmap64, mremap, munmap): Likewise.
36759         * math/e_exp2l.c: Likewise.
36760         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
36761         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
36762         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
36763         * math/s_catan.c (__catan): Likewise.
36764         * math/s_catanf.c (__catanf): Likewise.
36765         * math/s_catanh.c (__catanh): Likewise.
36766         * math/s_catanhf.c (__catanhf): Likewise.
36767         * math/s_catanhl.c (__catanhl): Likewise.
36768         * math/s_catanl.c (__catanl): Likewise.
36769         * math/s_ccosh.c (__ccosh): Likewise.
36770         * math/s_ccoshf.c (__ccoshf): Likewise.
36771         * math/s_ccoshl.c (__ccoshl): Likewise.
36772         * math/s_cexp.c (__cexp): Likewise.
36773         * math/s_cexpf.c (__cexpf): Likewise.
36774         * math/s_cexpl.c (__cexpl): Likewise.
36775         * math/s_clog10.c (__clog10): Likewise.
36776         * math/s_clog10f.c (__clog10f): Likewise.
36777         * math/s_clog10l.c (__clog10l): Likewise.
36778         * math/s_clog.c (__clog): Likewise.
36779         * math/s_clogf.c (__clogf): Likewise.
36780         * math/s_clogl.c (__clogl): Likewise.
36781         * math/s_csin.c (__csin): Likewise.
36782         * math/s_csinf.c (__csinf): Likewise.
36783         * math/s_csinh.c (__csinh): Likewise.
36784         * math/s_csinhf.c (__csinhf): Likewise.
36785         * math/s_csinhl.c (__csinhl): Likewise.
36786         * math/s_csinl.c (__csinl): Likewise.
36787         * math/s_csqrt.c (__csqrt): Likewise.
36788         * math/s_csqrtf.c (__csqrtf): Likewise.
36789         * math/s_csqrtl.c (__csqrtl): Likewise.
36790         * math/s_ctan.c (__ctan): Likewise.
36791         * math/s_ctanf.c (__ctanf): Likewise.
36792         * math/s_ctanh.c (__ctanh): Likewise.
36793         * math/s_ctanhf.c (__ctanhf): Likewise.
36794         * math/s_ctanhl.c (__ctanhl): Likewise.
36795         * math/s_ctanl.c (__ctanl): Likewise.
36796         * math/w_pow.c: Likewise.
36797         * math/w_powf.c: Likewise.
36798         * math/w_powl.c: Likewise.
36799         * math/w_scalb.c (sysv_scalb): Likewise.
36800         * math/w_scalbf.c (sysv_scalbf): Likewise.
36801         * math/w_scalbl.c (sysv_scalbl): Likewise.
36802         * misc/error.c (error_tail): Likewise.
36803         * misc/pselect.c (__pselect): Likewise.
36804         * nis/nis_callback.c (__nis_create_callback): Likewise.
36805         * nis/nis_call.c (__nisfind_server): Likewise.
36806         * nis/nis_creategroup.c (nis_creategroup): Likewise.
36807         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
36808         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
36809         * nis/nis_getservlist.c (nis_getservlist): Likewise.
36810         * nis/nis_lookup.c (nis_lookup): Likewise.
36811         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
36812         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
36813         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
36814         * nis/nis_xdr.c (xdr_endpoint): Likewise.
36815         * nis/nss_compat/compat-grp.c (getgrent_next_file)
36816         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
36817         * nis/nss_compat/compat-initgroups.c (add_group)
36818         (internal_getgrent_r): Likewise.
36819         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
36820         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
36821         * nis/nss_compat/compat-spwd.c (getspent_next_file)
36822         (internal_getspnam_r): Likewise.
36823         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
36824         (_nss_nis_getaliasbyname_r): Likewise.
36825         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
36826         (_nss_nis_getntohost_r): Likewise.
36827         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
36828         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
36829         (_nss_nis_getgrgid_r): Likewise.
36830         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
36831         (internal_nis_gethostent_r, internal_gethostbyname2_r)
36832         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
36833         (_nss_nis_gethostbyname4_r): Likewise.
36834         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
36835         (initgroups_netid): Likewise.
36836         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
36837         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
36838         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
36839         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
36840         (_nss_nis_getprotobynumber_r): Likewise.
36841         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
36842         (_nss_nis_getsecretkey): Likewise.
36843         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
36844         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
36845         (_nss_nis_getpwuid_r): Likewise.
36846         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
36847         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
36848         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
36849         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
36850         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
36851         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
36852         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
36853         Likewise.
36854         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
36855         (_nss_nisplus_getntohost_r): Likewise.
36856         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
36857         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
36858         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
36859         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
36860         Likewise.
36861         * nis/nss_nisplus/nisplus-initgroups.c
36862         (_nss_nisplus_initgroups_dyn): Likewise.
36863         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
36864         (_nss_nisplus_getnetbyaddr_r): Likewise.
36865         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
36866         (_nss_nisplus_getprotobynumber_r): Likewise.
36867         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
36868         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
36869         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
36870         Likewise.
36871         * nis/nss_nisplus/nisplus-service.c
36872         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
36873         (_nss_nisplus_getservbyport_r): Likewise.
36874         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
36875         (_nss_nisplus_getspnam_r): Likewise.
36876         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
36877         Likewise.
36878         * nscd/aicache.c (addhstaiX): Likewise.
36879         * nscd/cache.c (cache_search, prune_cache): Likewise.
36880         * nscd/connections.c (register_traced_file, send_ro_fd)
36881         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
36882         (main_loop_epoll): Likewise.
36883         * nscd/grpcache.c (addgrbyX): Likewise.
36884         * nscd/hstcache.c (addhstbyX): Likewise.
36885         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36886         * nscd/mem.c (gc, mempool_alloc): Likewise.
36887         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
36888         (addinnetgrX): Likewise.
36889         * nscd/nscd-client.h (__nscd_acquire_maplock)
36890         (__nscd_drop_map_ref): Likewise.
36891         * nscd/nscd_getai.c (__nscd_getai): Likewise.
36892         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36893         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
36894         Likewise.
36895         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36896         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36897         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
36898         (__nscd_get_map_ref): Likewise.
36899         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36900         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
36901         Likewise.
36902         * nscd/pwdcache.c (addpwbyX): Likewise.
36903         * nscd/selinux.c (preserve_capabilities): Likewise.
36904         * nscd/servicescache.c (addservbyX): Likewise.
36905         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
36906         * posix/fnmatch.c (fnmatch): Likewise.
36907         * posix/getopt.c (_getopt_internal_r): Likewise.
36908         * posix/glob.c (glob, glob_in_dir): Likewise.
36909         * posix/wordexp.c (exec_comm_child): Likewise.
36910         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
36911         (getanswer_r, gaih_getanswer_slice): Likewise.
36912         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
36913         * resolv/res_init.c: Likewise.
36914         * resolv/res_mkquery.c (res_nmkquery): Likewise.
36915         * resolv/res_query.c (__libc_res_nquery): Likewise.
36916         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
36917         Likewise.
36918         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
36919         * stdio-common/perror.c (perror): Likewise.
36920         * stdio-common/printf_fp.c (___printf_fp): Likewise.
36921         * stdio-common/tmpnam.c (tmpnam): Likewise.
36922         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
36923         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
36924         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
36925         Likewise.
36926         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
36927         * stdlib/putenv.c (putenv): Likewise.
36928         * stdlib/setenv.c (__add_to_environ): Likewise.
36929         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
36930         * stdlib/strtol_l.c (INTERNAL): Likewise.
36931         * string/memmem.c (memmem): Likewise.
36932         * string/strerror.c (strerror): Likewise.
36933         * string/strnlen.c (__strnlen): Likewise.
36934         * string/test-memmem.c (simple_memmem): Likewise.
36935         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
36936         * sunrpc/pm_getport.c (__get_socket): Likewise.
36937         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
36938         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
36939         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
36940         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
36941         Likewise.
36942         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
36943         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36944         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36945         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
36946         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36947         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
36948         Likewise.
36949         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
36950         Likewise.
36951         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36952         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36953         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36954         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36955         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
36956         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
36957         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36958         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
36959         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36960         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
36961         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36962         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
36963         Likewise.
36964         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
36965         Likewise.
36966         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
36967         Likewise.
36968         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
36969         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36970         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
36971         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
36972         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
36973         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
36974         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36975         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
36976         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
36977         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
36978         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
36979         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36980         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36981         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
36982         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36983         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36984         Likewise.
36985         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
36986         Likewise.
36987         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
36988         Likewise.
36989         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
36990         Likewise.
36991         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36992         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36993         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
36994         Likewise.
36995         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
36996         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
36997         * sysdeps/posix/opendir.c (__opendirat): Likewise.
36998         * sysdeps/posix/sleep.c: Likewise.
36999         * sysdeps/posix/tempname.c: Likewise.
37000         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
37001         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37002         Likewise.
37003         * sysdeps/powerpc/powerpc32/dl-machine.h
37004         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
37005         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37006         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37007         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
37008         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
37009         Likewise.
37010         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
37011         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
37012         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37013         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
37014         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37015         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
37016         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
37017         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
37018         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37019         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
37020         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
37021         (elf_machine_lazy_rel): Likewise.
37022         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37023         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
37024         (elf_machine_lazy_rel): Likewise.
37025         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
37026         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
37027         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
37028         * sysdeps/unix/grantpt.c (grantpt): Likewise.
37029         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
37030         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
37031         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
37032         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37033         Likewise.
37034         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
37035         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
37036         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
37037         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
37038         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37039         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37040         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
37041         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
37042         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
37043         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37044         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37045         Likewise.
37046         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
37047         (__posix_fallocate64_l64): Likewise.
37048         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
37049         (posix_fallocate): Likewise.
37050         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
37051         Likewise.
37052         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37053         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
37054         (getifaddrs_internal): Likewise.
37055         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
37056         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
37057         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
37058         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37059         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37060         (__posix_fallocate64_l64): Likewise.
37061         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37062         Likewise.
37063         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
37064         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
37065         (__get_clockfreq): Likewise.
37066         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
37067         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
37068         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
37069         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37070         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37071         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
37072         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
37073         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
37074         Likewise.
37075         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
37076         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
37077         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
37078         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
37079         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37080         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
37081         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
37082         Likewise.
37083         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37084         (posix_fallocate): Likewise.
37085         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37086         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
37087         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
37088         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
37089         (elf_machine_rela, elf_machine_rela_relative)
37090         (elf_machine_lazy_rel): Likewise.
37091         * time/asctime.c (asctime_internal): Likewise.
37092         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
37093         * time/tzset.c (__tzset_parse_tz): Likewise.
37094         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37095         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37096         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
37097         * wcsmbs/wcsmbsload.h: Likewise.
37099         [BZ #15894]
37100         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
37102         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
37103         (arena_get2): Remove THREAD_STATS conditionals.
37104         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
37105         (__malloc_stats, int): Likewise.
37107 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
37109         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
37110         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
37112         * manual/setjmp.texi: Fix typos/grammar errors.
37114         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
37115         Only return early when n is <= 0.  Delete unused return statement.
37117         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
37118         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
37119         * debug/tst-longjmp_chk3.c: New file.
37121         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
37122         (test_main): Replace code with set_fortify_handler call.
37123         * debug/test-strcpy_chk.c: Likewise.
37124         * debug/tst-chk1.c: Likewise.
37125         * debug/tst-longjmp_chk.c: Likewise.
37126         * test-skeleton.c: Include fcntl.h & paths.h
37127         (set_fortify_handler): Define.
37129         * debug/tst-longjmp_chk.c: Add header comment and include
37130         ../test-skeleton.c.
37131         (do_test): Mark static.
37132         (TEST_FUNCTION): Define.
37134         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
37135         (IP_PMTUDISC_INTERFACE): Likewise.
37136         (IP_MULTICAST_IF): Likewise.
37137         (IP_MULTICAST_TTL): Likewise.
37138         (IP_MULTICAST_LOOP): Likewise.
37139         (IP_ADD_MEMBERSHIP): Likewise.
37140         (IP_DROP_MEMBERSHIP): Likewise.
37141         (IP_UNBLOCK_SOURCE): Likewise.
37142         (IP_BLOCK_SOURCE): Likewise.
37143         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
37144         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
37145         (IP_MSFILTER): Likewise.
37146         (MCAST_JOIN_GROUP): Likewise.
37147         (MCAST_BLOCK_SOURCE): Likewise.
37148         (MCAST_UNBLOCK_SOURCE): Likewise.
37149         (MCAST_LEAVE_GROUP): Likewise.
37150         (MCAST_JOIN_SOURCE_GROUP): Likewise.
37151         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
37152         (MCAST_MSFILTER): Likewise.
37153         (IP_MULTICAST_ALL): Likewise.
37154         (IP_UNICAST_IF): Likewise.
37156         * timezone/Makefile: Delete $(have-ksh) check.
37157         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
37158         * timezone/tzselect.ksh: Add +x mode bits.
37160         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
37161         (ANON_INODE_FS_MAGIC): Likewise.
37162         (BDEVFS_MAGIC): Likewise.
37163         (BINFMTFS_MAGIC): Likewise.
37164         (BTRFS_TEST_MAGIC): Likewise.
37165         (CRAMFS_MAGIC_WEND): Likewise.
37166         (DEBUGFS_MAGIC): Likewise.
37167         (ECRYPTFS_SUPER_MAGIC): Likewise.
37168         (EXT3_SUPER_MAGIC): Likewise.
37169         (EXT4_SUPER_MAGIC): Likewise.
37170         (FUTEXFS_SUPER_MAGIC): Likewise.
37171         (HOSTFS_SUPER_MAGIC): Likewise.
37172         (HUGETLBFS_MAGIC): Likewise.
37173         (MINIX3_SUPER_MAGIC): Likewise.
37174         (MTD_INODE_FS_MAGIC): Likewise.
37175         (NILFS_SUPER_MAGIC): Likewise.
37176         (OPENPROM_SUPER_MAGIC): Likewise.
37177         (PIPEFS_MAGIC): Likewise.
37178         (PSTOREFS_MAGIC): Likewise.
37179         (QNX6_SUPER_MAGIC): Likewise.
37180         (RAMFS_MAGIC): Likewise.
37181         (REISERFS_SUPER_MAGIC_STRING): Likewise.
37182         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
37183         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
37184         (SECURITYFS_MAGIC): Likewise.
37185         (SELINUX_MAGIC): Likewise.
37186         (SMACK_MAGIC): Likewise.
37187         (SOCKFS_MAGIC): Likewise.
37188         (SQUASHFS_MAGIC): Likewise.
37189         (STACK_END_MAGIC): Likewise.
37190         (TMPFS_MAGIC): Likewise.
37191         (USBDEVICE_SUPER_MAGIC): Likewise.
37192         (V9FS_MAGIC): Likewise.
37193         (XENFS_SUPER_MAGIC): Likewise.
37194         (CRAMFS_MAGIC): Fix typo in comment.
37195         (EXT2_SUPER_MAGIC): Update comment.
37196         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
37198 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
37200         * sysdeps/arm: Move directory from ports/sysdeps/arm.
37201         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
37202         * sysdeps/unix/sysv/linux/arm: Move directory from
37203         ports/sysdeps/unix/sysv/linux/arm.
37204         * README: Update listing for arm-*-linux-gnueabi.
37206         * README: Remove mention of am33.
37208 2014-02-07  Roland McGrath  <roland@hack.frob.com>
37210         * bits/sigset.h (__sigemptyset): Use a statement expression rather
37211         than the comma operator, to avoid "rhs of comma has no effect"
37212         compiler warnings.
37213         (__sigfillset, __sigandset, __sigorset): Likewise.
37214         * include/signal.h (__sigemptyset): Likewise.
37215         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
37217 2014-02-07  Allan McRae  <allan@archlinux.org>
37219         * version.h (RELEASE): Set to "development".
37220         (VERSION): Set to "2.19.90"
37221         * NEWS: Add 2.20 section.
37223 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
37225         [BZ #16529]
37226         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
37228 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37230         * manual/contrib.texi: Update entry for Carlos O'Donell,
37231         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
37233 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
37235         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
37237         * sysdeps/unix/sysv/linux/kernel-features.h
37238         [__LINUX_KERNEL_VERSION >= 0x020621]
37239         (__ASSUME_PROC_PID_TASK_COMM): Define.
37241 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37243         [BZ #16398]
37244         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
37245         conversion when destination buffer does not have enough space.
37246         * libio/tst-ftell-partial-wide.c: New test case.
37247         * libio/Makefile (tests): Add tst-ftell-partial-wide.
37249         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
37250         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
37251         Leonard and Allan McRae.
37253 2014-02-04  David S. Miller  <davem@davemloft.net>
37255         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
37256         32-bit.
37258 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37261         New file
37262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37263         New file
37264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37265         New file.
37266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37267         New file.
37268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37269         New file.
37270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37271         New file.
37272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37273         New file.
37274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37275         New file.
37276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37277         New file.
37278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37279         New file.
37280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37281         New file.
37282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37283         New file.
37284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37285         New file.
37287 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37289         * nptl/shlib-versions: Change powerpc*le start to 2.17.
37290         * shlib-versions: Likewise.
37292 2014-02-04  Roland McGrath  <roland@hack.frob.com>
37293             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37295         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
37296         (abilist-pattern): New variable, set to %-le.abilist.
37298         * Makerules (abilist-pattern): New variable.
37299         (vpath): Use $(abilist-pattern) in place of %.abilist.
37300         (check-abi-% pattern rule): Likewise.
37301         (check-abi, update-abi): Likewise.
37303 2014-02-04  Eric Wong  <normalperson@yhbt.net>
37305         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37307 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
37309         * manual/startup.texi: Add next, previous, and top entries for
37310         the `Program Arguments' and `Environment Variables' nodes.
37312 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
37314         * manual/macros.texi: Add comments before MTASC-safety macros.
37316         * manual/users.texi: Document MTASC-safety properties.
37318         * manual/threads.texi (pthread_key_create, pthread_key_delete)
37319         (pthread_getspecific, pthread_setspecific): Format with
37320         @deftypefun, and add @safety note.
37321         * manual/signal.texi: Move comments that analyze the above
37322         functions to their home place.
37324 2014-02-03  Allan McRae  <allan@archlinux.org>
37326         * po/sl.po: Update Slovenian translation from translation project.
37328 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
37330         * manual/time.texi (timegm): Add missing blank after @c.
37331         Reported by Joseph Myers <joseph@codesourcery.com>.
37333 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
37335         * manual/check-safety.sh: New.
37336         * manual/Makefile ($(objpfx)stamp-summary): Run it.
37338         * manual/terminal.texi: Document MTASC-safety properties.
37340         * manual/filesys.texi: Document MTASC-safety properties.
37342         * manual/errno.texi: Document MTASC-safety properties.
37344         * manual/intro.texi: Document safety identifiers and
37345         conditionals.
37347         * manual/string.texi (wcstok): Fix prototype.
37348         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
37350         * manual/time.texi: Document MTASC-safety properties.
37352         * manual/string.texi: Document MTASC-safety properties.
37354         * manual/threads.texi: Document MTASC-safety properties.
37356         * manual/stdio.texi: Document MTASC-safety properties.
37358         * manual/syslog.texi: Document MTASC-safety properties.
37360         * manual/sysinfo.texi: Document MTASC-safety properties.
37362         * manual/startup.texi: Document MTASC-safety properties.
37364         * manual/socket.texi: Document MTASC-safety properties.
37366         * manual/signal.texi: Document MTASC-safety properties.
37368 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
37370         * manual/setjmp.texi: Document MTASC-safety properties.
37372         * manual/search.texi: Document MTASC-safety properties.
37374         * manual/resource.texi: Document MTASC-safety properties.
37376         * manual/process.texi: Document MTASC-safety properties.
37378         * manual/platform.texi: Document MTASC-safety properties.
37380         * manual/pipe.texi: Document MTASC-safety properties.
37382         * manual/pattern.texi: Document MTASC-safety properties.
37384         * manual/message.texi: Document MTASC-safety properties.
37386         [BZ #12751]
37387         * manual/memory.texi: Document MTASC-safety properties.
37389         * manual/math.texi: Document MTASC-safety properties.
37391         * manual/locale.texi: Document MTASC-safety properties.
37393         * manual/llio.texi: Document MTASC-safety properties.
37395         * manual/libdl.texi: New.
37397         * manual/lang.texi: Document MTASC-safety properties.
37399         * manual/job.texi: Document MTASC-safety properties.
37401         * manual/getopt.texi: Document MTASC-safety properties.
37403         * manual/ctype.texi: Document MTASC-safety properties.
37405 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
37407         [BZ #16046]
37408         * csu/libc-tls.c (static_map): Remove variable.
37409         (__libc_setup_tls): Use main executable's link map for TLS data.
37410         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
37411         casing for LM_ID_BASE and GL(dl_nns).
37412         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
37413         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
37414         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
37415         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
37416         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
37417         member.
37418         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
37419         l_phnum members.
37421 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
37423         * manual/debug.texi: Document MTASC-safety properties.
37425 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
37427         [BZ #16510]
37428         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
37429         of __x86_64__ when disabling x87 inline functions.
37431 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
37433         * manual/charset.texi: Document MTASC-safety properties.
37435         * manual/crypt.texi: Document MTASC-safety properties.
37437         * manual/conf.texi: Document MTASC-safety properties.
37439         * manual/arith.texi: Document MTASC-safety properties.
37441         * manual/argp.texi: Document MTASC-safety properties.
37443         * manual/macros.texi: Introduce macros to document multi
37444         thread, asynchronous signal and asynchronous cancellation
37445         safety properties.
37446         * manual/intro.texi: Introduce the properties themselves.
37448 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37450         * sysdeps/sh/sh4/Makefile: New file.
37452 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
37454         * math/gen-libm-test.pl ($srcdir): New variable.
37455         ($auto_input): Use it.
37457 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37459         [BZ #16506]
37460         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
37461         access beyond array bounds when parsing netgroups file.
37463         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
37464         the old buffer before realloc.
37466 2014-01-27  Allan McRae  <allan@archlinux.org>
37468         * po/fr.po: Update French translation from translation project.
37470 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37472         * sysdeps/sh/libm-test-ulps: Regenerate.
37474 2014-01-24  David S. Miller  <davem@davemloft.net>
37476         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
37478 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37480         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
37481         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
37483 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37485         [BZ #16474]
37486         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
37487         string pointers after reallocation.
37489 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37491         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
37492         __SH4A__ instead of __SH_FPU_ANY__.
37494 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37496         * sysdeps/sh/fpu_control.h: New file.
37497         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
37498         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
37499         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
37500         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
37501         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
37502         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
37503         * sysdeps/sh/sys/ucontext.h: Remove.
37504         * sysdeps/sh/sys: Remove directory.
37506 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37508         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
37509         s390/sys/ucontext.h.
37510         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
37511         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
37513 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
37515         [BZ #15605]
37516         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
37518 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37520         [BZ#16431]
37521         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37522         Adjust the vDSO correctly for internal calls.
37523         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
37525 2014-01-20  Allan McRae  <allan@archlinux.org>
37527         * po/ca.po: Update Catalan translation from translation project.
37529 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
37531         * sysdeps/s390/sotruss-lib.c: New file.
37533 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37535         [BZ#16430]
37536         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
37537         (__GI___gettimeofday): Alias for a different internal symbol to avoid
37538         local calls issues by not having a PLT stub required for IFUNC calls.
37539         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
37541 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
37543         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
37544         * math/test-fpucw-static.c: Likewise.
37546 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37548         [BZ #16453]
37549         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
37551 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37553         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
37554         implementation for powerpc.
37556 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
37558         [BZ #14782]
37559         * sysdeps/posix/system.c (__libc_system): Do not enable
37560         asynchronous cancellation.
37562 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37564         [BZ #16427]
37565         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
37566         handling only for numbers special also in the IEEE case.
37568 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37570         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37572 2014-01-11  Allan McRae  <allan@archlinux.org>
37574         * po/bg.po: Update Bulgarian translation from translation project.
37576         * po/de.po: Update German translation from translation project.
37578 2014-01-10  Roland McGrath  <roland@hack.frob.com>
37580         * sysdeps/generic/gcc-compat.h: New file.
37582 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37584         * benchtests/asin-inputs: Correct slow inputs.
37585         * benchtests/acos-inputs: Likewise.
37587 2014-01-10  Allan McRae  <allan@archlinux.org>
37589         * po:sv.po: Update Swedish translation from translation project.
37591         * po/vi.po: Update Vietnamese translation from translation project.
37593         * po/eo.po: Update Esperanto translation from translation project.
37595         * po/cs.po: Update Czech translation from translation project.
37597         * po/nl.po: Update Dutch translation from translation project.
37599         * po/pl.po: Update Polish translation from translation project.
37601         * po/ru.po: Update Russian translation from translation project.
37603         * po/uk.po: Update Ukrainian translation from translation project.
37605 2014-01-08  Brooks Moses  <bmoses@google.com>
37607         * elf/dl-load.c: Fix comment typo.
37609 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
37611         * po/header.pot: Rename to...
37612         * po/pot.header: ... this.
37613         * po/Makefile: Use pot.header.
37615 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
37616             Maxim Kuvyrkov  <maxim@kugelworks.com>
37618         [BZ #16394]
37619         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
37620         SRC and DEST against LEN.
37622 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37624         [BZ #16414]
37625         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
37626         implementation.
37627         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
37629 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37633 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
37635         [BZ #16408]
37636         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
37637         for large positive arguments.
37639 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
37641         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37643         * math/auto-libm-test-in: Mark various tests with
37644         xfail-rounding:ldbl-128ibm.
37645         * math/auto-libm-test-out: Regenerated.
37647         [BZ #16407]
37648         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
37649         Increase overflow threshold.
37651 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
37653         [BZ #14286]
37654         * stdio-common/vfprintf.c: Check for integer overflow.
37656 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37658         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
37659         the first argument and return value of __tls_get_addr_internal.
37661 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37663         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
37664         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
37666 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37668         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
37669         * sysdeps/s390/rtld-global-offsets.sym: New file.
37670         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
37671         GLIBC_2.19 symbol.
37672         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
37673         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
37674         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
37675         ... this.
37676         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
37677         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
37678         ... this.
37679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37680         Regenerate.
37681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37682         Regenerate.
37683         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
37684         halfs of GPRs for high_gprs contexts.
37685         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
37686         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
37687         field.
37688         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
37689         uc_flags field.
37690         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
37691         64 bit versions:
37692         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
37693         for high GPRs (uc_high_gprs) and for future extensions
37694         (__reserved).
37695         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
37696         for future extensions (__reserved).
37697         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
37698         64 bit versions:
37699         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
37700         SC_HIGHGPRS offset definition.
37701         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
37702         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
37704         * Versions.def: Add GLIBC_2.19 for libpthread.
37705         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
37706         siglongjmp for libpthread with GLIBC_2.19 symver.
37707         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
37708         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
37709         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
37710         * sysdeps/s390/__longjmp.c: New file.
37711         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
37712         * sysdeps/s390/longjmp.c: New file.
37713         * sysdeps/s390/setjmp.S: New file.
37714         * sysdeps/s390/sigjmp.S: New file.
37715         * sysdeps/s390/v1-longjmp.c: New file.
37716         * sysdeps/s390/v1-setjmp.h: New file.
37717         * sysdeps/s390/v1-sigjmp.c: New file.
37718         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
37719         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
37720         GLIBC_2.19 version.
37721         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
37722         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
37723         versioned symbols for ____longjmp_chk.
37724         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
37725         Likewise.
37726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37727         Regenerate.
37728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37729         Regenerate.
37730         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37731         Regenerate.
37732         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37733         Regenerate.
37734         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
37735         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
37736         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
37737         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
37738         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
37739         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
37740         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
37741         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
37742         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
37743         * sysdeps/s390/rtld-__longjmp.c: New file.
37744         * sysdeps/s390/rtld-setjmp.S: New file.
37746 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
37748         [BZ #16400]
37749         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37750         Return -__logl (x) for small positive arguments without evaluating
37751         a polynomial.
37753 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
37755         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
37756         Rename to ...
37757         (__ptrace_peeksiginfo_args): ... this.
37758         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37759         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37760         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37762 2014-01-06  Allan McRae  <allan@archlinux.org>
37764         * inet/netinet/in.h: Fix typo in comment.
37766 2014-01-05  Andreas Jaeger  <aj@suse.de>
37768         * sysdeps/i386/fpu/libm-test-ulps: Update.
37770 2014-01-05  Allan McRae  <allan@archlinux.org>
37772         * po/libc.pot: Regenerated.
37774         * malloc/memusagestat.c: Fix gettext call formatting.
37776 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
37778         * nscd/nscd.c: Improve usage() output.
37780 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
37782         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
37783         * sysdeps/unix/sysv/linux/configure: Regenerated.
37784         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
37785         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
37787 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37789         [BZ #16390]
37790         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37791         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
37793 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37795         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
37796         extra tokens at end of #undef directive.
37797         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
37798         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
37799         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37801 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37803         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37805         * math/auto-libm-test-in: Mark various tests with
37806         xfail-rounding:ldbl-128ibm.
37807         * math/auto-libm-test-out: Regenerated.
37809 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
37811         [BZ #16386]
37812         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
37813         numbers with subnormal high part when calculating exponent.
37815         [BZ #16385]
37816         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
37817         fabs.
37819         [BZ #16384]
37820         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
37821         M_LN2l.
37822         (__ieee754_acoshl): Use __log1pl not __log1p.
37824 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
37826         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
37827         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
37828         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
37829         (grow_heap, heap_trim, _int_new_arena, get_free_list)
37830         (reused_arena, arena_get2): Convert to GNU style.
37831         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
37832         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
37833         (memalign_check, __malloc_set_state): Likewise.
37834         * malloc/mallocbug.c (main): Likewise.
37835         * malloc/malloc.c (__malloc_assert, malloc_init_state)
37836         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
37837         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
37838         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
37839         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
37840         (__posix_memalign, malloc_info): Likewise.
37841         * malloc/malloc.h: Likewise.
37842         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
37843         (mallochook, memalignhook, reallochook, mabort): Likewise.
37844         * malloc/mcheck.h: Likewise.
37845         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
37846         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
37847         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
37848         * malloc/morecore.c (__default_morecore): Likewise.
37849         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
37850         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
37851         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
37852         (print_and_abort): Likewise.
37853         * malloc/obstack.h: Likewise.
37854         * malloc/set-freeres.c (__libc_freeres): Likewise.
37855         * malloc/tst-mallocstate.c (main): Likewise.
37856         * malloc/tst-mtrace.c (main): Likewise.
37857         * malloc/tst-realloc.c (do_test): Likewise.
37859 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37861         [BZ #16366]
37862         * nscd/netgroupcache.c (do_notfound): New function.
37863         (addgetnetgrentX): Use it.
37865         [BZ # 16365]
37866         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
37867         NSS_STATUS_NOTFOUND.
37869 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
37871         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37874 2014-01-01  Allan McRae  <allan@archlinux.org>
37876         * scripts/update-copyrights: Update configure input file suffix.
37878         * NEWS: Update copyright year.
37879         * catgets/gencat.c: Likewise.
37880         * csu/version.c: Likewise.
37881         * debug/catchsegv.sh: Likewise.
37882         * debug/pcprofiledump.c: Likewise.
37883         * debug/xtrace.sh: Likewise.
37884         * elf/ldconfig.c: Likewise.
37885         * elf/ldd.bash.in: Likewise.
37886         * elf/pldd.c: Likewise.
37887         * elf/sotruss.ksh: Likewise.
37888         * elf/sprof.c: Likewise.
37889         * iconv/iconv_prog.c: Likewise.
37890         * iconv/iconvconfig.c: Likewise.
37891         * locale/programs/locale.c: Likewise.
37892         * locale/programs/localedef.c: Likewise.
37893         * login/programs/pt_chown.c: Likewise.
37894         * malloc/memusage.sh: Likewise.
37895         * malloc/memusagestat.c: Likewise.
37896         * malloc/mtrace.pl: Likewise.
37897         * manual/libc.texinfo: Likewise.
37898         * nscd/nscd.c: Likewise.
37899         * nss/getent.c: Likewise.
37900         * nss/makedb.c: Likewise.
37901         * posix/getconf.c: Likewise.
37902         * scripts/test-installation.pl: Likewise.
37904         * All files with FSF copyright notices: Update copyright dates
37905         using scripts/update-copyrights.
37906         * intl/plural.c: Regenerated.
37907         * locale/programs/charmap-kw.h: Likewise.
37908         * locale/programs/locfile-kw.h: Likewise.
37910 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
37912         * sysdeps/unix/sysv/linux/configure: Regenerated.
37913         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
37914         the linux/fanotify.h header.
37915         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
37916         HAVE_LINUX_FANOTIFY_H is defined.
37918 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37920         * benchtests/cos-inputs: New inputs.
37921         * benchtests/sin-inputs: Likewise.
37923         * benchtests/atan-inputs: New inputs. Fix name of multiple
37924         precision fallback inputs.
37926         * benchtests/atanh-inputs: New inputs.
37927         * benchtests/tanh-inputs: Likewise.
37929         * benchtests/acosh-inputs: New inputs.
37930         * benchtests/asinh-inputs: Likewise.
37932         * benchtests/cosh-inputs: New inputs.
37933         * benchtests/sinh-inputs: Likewise.
37935         * benchtests/acos-inputs: Add more inputs.
37936         * benchtests/asin-inputs: Likewise.
37938 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
37940         [BZ #16375]
37941         * manual/arith.texi: Fix spelling.
37942         * manual/charset.texi: Likewise.
37943         * manual/errno.texi: Likewise.
37944         * manual/filesys.texi: Likewise.
37945         * manual/lang.texi: Likewise.
37946         * manual/llio.texi: Likewise.
37947         * manual/locale.texi: Likewise.
37948         * manual/message.texi: Likewise.
37949         * manual/resource.texi: Likewise.
37950         * manual/search.texi: Likewise.
37951         * manual/setjmp.texi: Likewise.
37952         * manual/stdio.texi: Likewise.
37953         * manual/string.texi: Likewise.
37954         * manual/sysinfo.texi: Likewise.
37955         * manual/time.texi: Likewise.
37957 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
37959         * po/sl.po: New file.
37961 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
37963         * .gitignore: Add core/.gdbinit/.gdb_history.
37965 2013-12-27  Allan McRae  <allan@archlinux.org>
37967         [BZ #16369]
37968         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
37969         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
37971 2013-12-24  Brooks Moses  <bmoses@google.com>
37973         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
37974         all compilers that claim C++98 compliance, not just GCC.
37975         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37976         Likewise.
37978 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37980         * NEWS: Restore accidentally deleted bug-fix entries.
37982 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37983             Ondřej Bílka  <neleai@seznam.cz>
37985         [BZ #15073]
37986         * malloc/malloc.c (_int_free): Perform sanity check only if we
37987         have_lock.
37989 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
37991         [BZ #12986]
37992         * manual/stdio.texi (String Input Conversions): Clarify that character
37993         classes are not supported.
37995 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37999 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
38001         [BZ #16337]
38002         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38003         Calculate results for small negative arguments directly rather
38004         than using reflection formula with special underflow handling.
38006         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
38007         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
38008         sysdeps/unix/bsd/bsd4.4/syscalls.list.
38009         (fchflags): Likewise.
38010         (revoke): Likewise.
38011         (setlogin): Likewise.
38012         (sigaltstack): Likewise.
38013         (wait4): Likewise.
38014         (sigblock): Remove.
38015         (sigsetmask): Likewise.
38016         (wait3): Likewise.
38017         (waitpid): Likewise.
38018         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
38019         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
38020         file.
38021         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
38022         * sysdeps/unix/bsd/Makefile: ... here.
38023         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
38024         * sysdeps/unix/bsd/Versions: ... here.
38025         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
38026         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
38027         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
38028         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
38029         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
38030         * sysdeps/unix/bsd/sigblock.c: ... here.
38031         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
38032         * sysdeps/unix/bsd/sigsetmask.c: ... here.
38033         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
38034         * sysdeps/unix/bsd/sigvec.c: ... here.
38035         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
38036         * sysdeps/unix/bsd/tcdrain.c: ... here.
38037         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
38038         * sysdeps/unix/bsd/tcgetattr.c: ... here.
38039         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
38040         * sysdeps/unix/bsd/tcsetattr.c: ... here.
38041         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
38042         * sysdeps/unix/bsd/wait.c: ... here.
38043         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
38044         * sysdeps/unix/bsd/wait3.c: ... here.
38045         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
38046         * sysdeps/unix/bsd/waitpid.c: ... here.
38048 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
38050         [BZ #16356]
38051         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
38052         round-to-nearest for [!USE_AS_EXPM1L].
38053         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
38054         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
38055         more tests of exp and exp10.  Expect some exp10 tests to miss
38056         exceptions or fail in directed rounding modes.
38057         * math/auto-libm-test-out: Regenerated.
38058         * math/libm-test.inc (exp10_tonearest_test_data): New array.
38059         (exp10_test_tonearest): New function.
38060         (exp10_towardzero_test_data): New array.
38061         (exp10_test_towardzero): New function.
38062         (exp10_downward_test_data): New array.
38063         (exp10_test_downward): New function.
38064         (exp10_upward_test_data): New array.
38065         (exp10_test_upward): New function.
38066         (main): Call the new functions.
38067         * sysdeps/i386/fpu/libm-test-ulps: Update.
38068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38070 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
38072         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
38073         asinh, atan, atan2, atanh, cbrt, cos and cosh.
38074         * math/auto-libm-test-out: Regenerated.
38075         * math/libm-test.inc (acosh_test_data): Add more tests.
38076         (atanh_test_data): Likewise.
38077         (ceil_test_data): Likewise.
38078         (copysign_test_data): Likewise.
38079         * sysdeps/i386/fpu/libm-test-ulps: Update.
38080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38082         * timezone/checktab.awk: Update from tzcode 2013i.
38083         * timezone/private.h: Likewise.
38084         * timezone/scheck.c: Likewise.
38085         * timezone/tzfile.h: Likewise.
38086         * timezone/tzselect.ksh: Likewise.
38087         * timezone/zdump.c: Likewise.
38088         * timezone/zic.c: Likewise.
38090         * math/auto-libm-test-in: Add tests of cpow.
38091         * math/auto-libm-test-out: Regenerated.
38092         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
38093         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38094         mpc_cc_c.
38095         (func_calc_desc): Add mpc_cc_c union field.
38096         (test_functions): Add cpow.
38097         (special_fill_2pi): New function.
38098         (special_real_inputs): Add 2pi.
38099         (calc_generic_results): Handle mpc_cc_c.
38100         * sysdeps/i386/fpu/libm-test-ulps: Update.
38101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38103         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
38104         csqrt, ctan and ctanh.
38105         * math/auto-libm-test-out: Regenerated.
38106         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38107         (TEST_COND_x86): Likewise.
38108         (ccos_test_data): Use AUTO_TESTS_c_c.
38109         (ccosh_test_data): Likewise.
38110         (cexp_test_data): Likewise.
38111         (clog_test_data): Likewise.
38112         (csqrt_test_data): Likewise.
38113         (ctan_test_data): Likewise.
38114         (ctan_tonearest_test_data): Likewise.
38115         (ctan_towardzero_test_data): Likewise.
38116         (ctan_downward_test_data): Likewise.
38117         (ctan_upward_test_data): Likewise.
38118         (ctanh_test_data): Likewise.
38119         (ctanh_tonearest_test_data): Likewise.
38120         (ctanh_towardzero_test_data): Likewise.
38121         (ctanh_downward_test_data): Likewise.
38122         (ctanh_upward_test_data): Likewise.
38123         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38124         mpc_c_c.
38125         (func_calc_desc): Add mpc_c_c union field.
38126         (FUNC_mpc_c_c): New macro.
38127         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
38128         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
38129         ctanh.
38130         (special_fill_min_subnorm_p120): New function.
38131         (special_real_inputs): Add min_subnorm_p120.
38132         (calc_generic_results): Handle mpc_c_c.
38133         * sysdeps/i386/fpu/libm-test-ulps: Update.
38134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38136 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38138         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
38139         (do_sin_slow): New functions.
38140         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
38141         (cslow2, csloww1, csloww2): Use the new functions.
38143         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
38144         Use M to change sign of result instead of X.  Assume X is
38145         positive.
38146         (csloww1): Likewise.
38147         (__sin): Adjust.
38148         (__cos): Adjust.
38150         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
38151         arguments A and DA.
38152         (__sin): Adjust.
38153         (__cos): Likewise.
38155         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
38156         (__cos): Likewise.
38157         (sloww1): Don't adjust sign of DX.
38158         (csloww1): Likewise.
38159         (sloww2): Use X directly and don't adjust sign of DX.
38160         (csloww2): Likewise.
38162 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38164         * math/auto-libm-test-in: Add tests of cabs and carg.
38165         * math/auto-libm-test-out: Regenerated.
38166         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
38167         (carg_test_data): Likewise.
38168         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38169         mpc_c_f.
38170         (func_calc_desc): Add mpc_c_f union field.
38171         (test_functions): Add cabs and carg.
38172         (calc_generic_results): Handle mpc_c_f.
38174         * sysdeps/powerpc/powerpc32/libgcc-compat.S
38175         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
38176         as a macro and a compat symbol.
38177         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38178         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38179         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38180         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38181         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
38182         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
38183         not use .hidden.
38184         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
38185         Likewise.
38186         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
38187         Likewise.
38188         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
38189         Likewise.
38190         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
38191         Likewise.
38192         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
38193         Likewise.
38194         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
38195         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
38196         from GLIBC_2.3.2.
38198 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38202 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38204         * manual/texinfo.tex: Update to version 2013-11-26.10 with
38205         trailing whitespace removed.
38206         * scripts/config.guess: Update to version 2013-11-29.
38207         * scripts/config.sub: Update to version 2013-10-01.
38209         * math/auto-libm-test-in: Add tests of sincos.
38210         * math/auto-libm-test-out: Regenerated.
38211         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
38212         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38213         mpfr_f_11.
38214         (func_calc_desc): Add mpfr_f_11 union field.
38215         (test_functions): Add sincos.
38216         (calc_generic_results): Handle mpfr_f_11.
38217         * sysdeps/i386/fpu/libm-test-ulps: Update.
38218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38220 2013-12-19  Andreas Schwab  <schwab@suse.de>
38222         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
38223         CALL_MCOUNT.
38224         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38225         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
38226         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
38228 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38230         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
38231         * sysdeps/i386/fpu/libm-test-ulps: Update.
38232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38234         [BZ #16293]
38235         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
38236         round-to-nearest mode when using frndint.
38237         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
38238         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38239         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38240         Likewise.
38241         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
38242         sinh test to fail.
38243         * math/auto-libm-test-out: Regenerated.
38244         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
38245         (TEST_COND_x86): Likewise.
38246         (expm1_tonearest_test_data): New array.
38247         (expm1_test_tonearest): New function.
38248         (expm1_towardzero_test_data): New array.
38249         (expm1_test_towardzero): New function.
38250         (expm1_downward_test_data): New array.
38251         (expm1_test_downward): New function.
38252         (expm1_upward_test_data): New array.
38253         (expm1_test_upward): New function.
38254         (main): Run the new test functions.
38255         * sysdeps/i386/fpu/libm-test-ulps: Update.
38256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38258         * include/features.h: Update comment documenting feature test
38259         macros.  Mention _DEFAULT_SOURCE in comment.
38260         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
38261         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
38262         _BSD_SOURCE and _SVID_SOURCE.
38263         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
38264         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38265         !_SVID_SOURCE]: Likewise.
38266         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38267         (__USE_POSIX_IMPLICITLY): Define.
38268         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38269         (_POSIX_SOURCE): Undefine and redefine.
38270         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38271         (_POSIX_C_SOURCE): Likewise.
38272         * manual/creature.texi (_DEFAULT_SOURCE): Document.
38273         (Feature Test Macros): Update documentation of default features.
38275 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38277         * benchtests/Makefile: Add bench-strtok.
38278         * benchtests/bench-strtok.c: New file: strtok benchtest.
38280 2013-12-19  Allan McRae  <allan@archlinux.org>
38282         * manual/install.texi: Suppress menu for plain text output.
38283         * INSTALL: Regenerated.
38285 2013-12-18  Brooks Moses  <bmoses@google.com>
38287         [BZ #15846]
38288         * misc/getauxval.c: Include errno.h.
38289         (__getauxval): Set errno to ENOENT if the requested type is not
38290         found.
38291         * misc/sys/auxv.h (getauxval): Document that it may set errno;
38292         don't declare with __attribute_const__.
38293         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
38294         * manual/startup.texi: Document that getauxval sets errno.
38296 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38298         * math/auto-libm-test-in: Add tests of jn and yn.
38299         * math/auto-libm-test-out: Regenerated.
38300         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
38301         (yn_test_data): Likewise.
38302         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38303         mpfr_if_f.
38304         (func_calc_desc): Add mpfr_if_f union field.
38305         (FUNC_mpfr_if_f): New macro.
38306         (test_functions): Add jn and yn.
38307         (calc_generic_results): Assert type of second input for
38308         mpfr_ff_f.  Handle mpfr_if_f.
38309         (output_for_one_input_case): Disable all checking for arguments
38310         fitting floating-point types in case of an integer argument.
38311         * sysdeps/i386/fpu/libm-test-ulps: Update.
38312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38315         Don't expect fegetround reference in libm.so.
38317 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38319         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
38320         $(config-cflags-nofma).
38322 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38324         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
38325         * math/auto-libm-test-out: Regenerated.
38327         [BZ #16338]
38328         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
38329         to determine exponent and adjust argument to have exponent of -1.
38330         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
38331         log2.
38332         * math/auto-libm-test-out: Regenerated.
38333         * sysdeps/i386/fpu/libm-test-ulps: Update.
38334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38336 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
38338         * manual/probes.texi: Remove cases when per-thread arenas are
38339         disabled.
38341 2013-12-18  Andreas Schwab  <schwab@suse.de>
38343         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
38344         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
38345         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
38346         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
38347         * sysdeps/i386/i686/multiarch/Makefile: Update.
38348         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
38350 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38352         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
38353         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
38355 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
38357         [BZ #15968]
38358         Support TZ transition times < 00:00:00.
38359         This is needed for version-3 tz-format files; it supports time
38360         stamps past 2037 for America/Godthab (the only entry in the tz
38361         database for which this change is relevant).
38362         * manual/time.texi (TZ Variable): Document transition times
38363         from -167:59:59 through -00:00:01.
38364         * time/tzset.c (tz_rule): Time of day is now signed.
38365         (__tzset_parse_tz): Parse negative time of day.
38367         Document TZ transition times >= 25:00:00.
38368         * manual/time.texi (TZ Variable): Document transition times from
38369         25:00:00 through 167:59:59.  These are already supported, and this
38370         support will help with version-3 tz-format files.
38372         * manual/time.texi (TZ Variable): Modernize North America example
38373         to reflect current (i.e., 2007-and-later) daylight saving rules.
38375         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
38377 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38379         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
38380         * sysdeps/unix/bsd/bits/stat.h: Likewise.
38381         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
38382         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38383         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
38384         * sysdeps/unix/bsd/bsdstat.h: Likewise.
38385         * sysdeps/unix/bsd/clock.c: Likewise.
38386         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
38387         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
38388         * sysdeps/unix/bsd/init-posix.c: Likewise.
38389         * sysdeps/unix/bsd/poll.c: Likewise.
38390         * sysdeps/unix/bsd/ptsname.c: Likewise.
38391         * sysdeps/unix/bsd/seekdir.c: Likewise.
38392         * sysdeps/unix/bsd/setegid.c: Likewise.
38393         * sysdeps/unix/bsd/seteuid.c: Likewise.
38394         * sysdeps/unix/bsd/setgid.c: Likewise.
38395         * sysdeps/unix/bsd/setrgid.c: Likewise.
38396         * sysdeps/unix/bsd/setruid.c: Likewise.
38397         * sysdeps/unix/bsd/setsid.c: Likewise.
38398         * sysdeps/unix/bsd/setuid.c: Likewise.
38399         * sysdeps/unix/bsd/sigaction.c: Likewise.
38400         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
38401         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
38402         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
38403         * sysdeps/unix/bsd/telldir.c: Likewise.
38404         * sysdeps/unix/bsd/times.c: Likewise.
38405         * sysdeps/unix/bsd/usleep.c: Likewise.
38407         * misc/Makefile (install-lib): Remove libbsd-compat.a.
38408         ($(objpfx)libbsd-compat.a): Remove rule.
38410         * include/features.h (__FAVOR_BSD): Do not define.
38411         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
38412         features conflicting with POSIX.
38413         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
38414         (_BSD_SOURCE): Remove description of not being a subset of other
38415         feature test macros.
38416         * manual/job.texi (getpgrp): Do not document BSD version.
38417         (getpgid): Do not document by reference to BSD getpgrp.
38418         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
38419         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
38420         * signal/signal.h [__FAVOR_BSD]: Likewise.
38421         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
38422         instead of making contents conditional on [__FAVOR_BSD].
38423         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
38425 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38429 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38431         [BZ #16314]
38432         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
38433         values below 2**-450, not 2**-500.
38434         * math/auto-libm-test-in: Don't allow spurious underflow from
38435         hypot.
38436         * math/auto-libm-test-out: Regenerated.
38438         [BZ #16316]
38439         [BZ #16330]
38440         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
38441         values of ha and hb and sort them after adjusting subnormal
38442         arguments.
38443         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38444         Likewise.
38445         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
38446         values of ea and eb and sort them after adjusting subnormal
38447         arguments.
38448         * math/auto-libm-test-in: Do not expect some hypot tests of
38449         subnormals to fail.  Add more hypot tests.
38450         * math/auto-libm-test-out: Regenerated.
38452 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38454         [BZ #13304]
38455         * sysdeps/sh/s_fma.c: New file.
38456         * sysdeps/sh/s_fmaf.c: New file.
38457         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
38458         version.
38459         * sysdeps/sh/Implies: Add sh/soft-fp.
38461 2013-12-16  Roland McGrath  <roland@hack.frob.com>
38463         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
38464         level of indirection to members `objname', `errstring', `malloced'.
38465         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
38466         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
38467         it as the __longjmp argument (just pass 1 instead).
38468         (_dl_catch_error): Initialize C with argument pointers and address of
38469         volatile local ERRCODE rather than copying values out of C at return.
38471 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
38473         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
38474         * math/auto-libm-test-out: Regenerated.
38475         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
38476         (hypot_test_data): Likewise.
38477         (pow_test_data): Likewise.
38478         (pow_tonearest_test_data): Likewise.
38479         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38480         mpfr_ff_f.
38481         (func_calc_desc): Add mpfr_ff_f union field.
38482         (FUNC_mpfr_ff_f): New macro.
38483         (test_functions): Add atan2, hypot and pow.
38484         (special_fill_min): New function.
38485         (special_fill_minus_min): Likewise.
38486         (special_fill_min_subnorm): Likewise.
38487         (special_fill_minus_min_subnorm): Likewise.
38488         (special_real_inputs): Add min, -min, min_subnorm and
38489         -min_subnorm.
38490         (calc_generic_results): Handle mpfr_ff_f.
38491         * sysdeps/i386/fpu/libm-test-ulps: Update.
38492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38494 2013-12-16  Will Newton  <will.newton@linaro.org>
38496         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
38497         (Aligned Memory Blocks): Add documentation for aligned_alloc
38498         and suggest it as an alternative to posix_memalign.
38499         (Hooks for Malloc): Document __memalign_hook is also called
38500         for aligned_alloc.  (Summary of Malloc): Add summary for
38501         aligned alloc.  Document __memalign_hook is also called
38502         for aligned_alloc.
38504 2013-12-16  Will Newton  <will.newton@linaro.org>
38506         * manual/memory.texi (Malloc Examples): Clarify default
38507         alignment documentation.  Suggest posix_memalign rather
38508         than memalign or valloc.
38509         (Aligned Memory Blocks): Remove suggestion to use memalign
38510         or valloc.  Remove obsolete comment about BSD.
38511         Document memalign errno values and mark the function obsolete.
38512         Document posix_memalign returned error codes.  Mark valloc
38513         as obsolete.  (Hooks for Malloc): __memalign_hook is also
38514         called for posix_memalign and valloc.
38515         (Summary of Malloc): Add posix_memalign to function summary.
38516         __memalign_hook is also called for posix_memalign and valloc.
38518 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38520         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
38521         TAYLOR_SIN.
38522         (__sin): Adjust.
38523         (__cos): Likewise.
38524         (sloww): Use mynumber union.  Expand ternary operator into
38525         if-else statements.
38526         (cslow): use mynumber union.
38528 2013-12-16  Allan McRae  <allan@archlinux.org>
38530         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
38531         * configure: Regenerated.
38533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
38535         [BZ #14120]
38536         * configure.ac: Added --enable-maintainer-mode. Check for
38537         autoconf when enabled.
38538         * configure: Regenerated.
38540         * nscd/nscd.service: New file.
38541         * nscd/nscd.tmpfiles: New file.
38543 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
38545         [BZ #12100]
38546         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
38547         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
38548         * sysdeps/x86_64/multiarch/strstr.c: ... here.
38549         (strstr): Add __strstr_sse2_unaligned ifunc.
38550         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
38551         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
38552         (strcasestr): Remove __strcasestr_sse42 ifunc.
38553         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
38554         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38555         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38557 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38559         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
38560         * sysdeps/sh/bits/fenv.h: ... here.
38561         * sysdeps/sh/sh4/fpu/bits: Remove directory.
38563 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38565         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
38567         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
38568         hypotf multiarch implementations.
38569         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
38570         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
38571         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
38572         multiarch hypot for PPC64.
38573         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
38574         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
38575         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
38576         multiarch hypotf for PPC64.
38578         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
38579         modff multiarch implementations.
38580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
38581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
38582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
38583         multiarch modf for PPC64.
38584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
38585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
38586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
38587         multiarch modff for PPC64.
38589         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
38590         and logl multiarch implementations.
38591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
38592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
38593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
38594         multiarch logb for PPC64.
38595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
38596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
38597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
38598         multiarch logb for PPC64.
38599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
38600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
38601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
38602         multiarch logb for PPC64.
38604         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
38605         isinff multiarch implementation.
38606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
38607         file.
38608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
38609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
38610         multiarch isinf for PPC64.
38611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
38612         file.
38613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
38614         multiarch isinff for PPC64.
38616         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
38617         finitef multiarch implementation.
38618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
38619         file.
38620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
38621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
38622         multiarch finite for PPC64.
38623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
38624         file.
38625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
38626         multiarch finitef for PPC64.
38628         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
38629         lrint multiarch implementation.
38630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
38631         file.
38632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
38633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
38634         multiarch llrint for PPC64.
38635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
38636         multiarch lrint for PPC64.
38638         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
38639         copysignf multiarch implementation.
38640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
38641         file.
38642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
38643         file.
38644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
38645         multiarch copysign for PPC64.
38646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
38647         multiarch copysignf for PPC64.
38649         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
38650         multiarch implementation.
38651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
38652         file.
38653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
38654         file.
38655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
38656         file.
38657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
38658         file.
38659         multiarch llround for PPC64.
38660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
38661         multiarch trunc for PPC64.
38662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
38663         multiarch truncf for PPC64.
38665         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
38666         multiarch implementation.
38667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
38668         file.
38669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
38670         file.
38671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
38672         file.
38673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
38674         file.
38675         multiarch llround for PPC64.
38676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
38677         multiarch round for PPC64.
38678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
38679         multiarch roundf for PPC64.
38681         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
38682         multiarch implementation.
38683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
38684         file.
38685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
38686         file.
38687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
38688         file.
38689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
38690         file.
38691         multiarch llround for PPC64.
38692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
38693         multiarch floor for PPC64.
38694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
38695         multiarch floorf for PPC64.
38697         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
38698         multiarch implementation.
38699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
38700         file.
38701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
38702         file.
38703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
38704         file.
38705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
38706         file.
38707         multiarch llround for PPC64.
38708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
38709         multiarch ceil for PPC64.
38710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
38711         multiarch ceilf for PPC64.
38713         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38714         multiarch implementation.
38715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
38716         file.
38717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
38718         file.
38719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
38720         file.
38721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
38722         multiarch llround for PPC64.
38723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
38724         multiarch lround for PPC64.
38726         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38727         multiarch implementation.
38728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
38729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
38730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
38731         file.
38732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
38733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
38734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
38735         multiarch isnan for PPC64.
38736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
38737         multiarch isnanf for PPC64.
38739         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
38740         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
38741         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
38742         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
38743         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
38744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
38746         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
38747         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38748         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38749         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
38752         multiarch implementations.
38753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38754         (__libc_ifunc_impl_list): Likewise.
38755         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
38756         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
38757         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
38758         multiarch stpcpy for PPC64.
38760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
38761         multiarch implementations.
38762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38763         (__libc_ifunc_impl_list): Likewise.
38764         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
38765         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
38766         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
38767         multiarch strcpy for PPC64.
38769         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
38770         redefine function name.
38771         (_wordcopy_fwd_dest_aligned): Likewise.
38772         (_wordcopy_bwd_aligned): Likewise.
38773         (_wordcopy_bwd_dest_aligned): Likewise.
38774         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
38775         multiarch implementations.
38776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38777         (__libc_ifunc_impl_list): Likewise.
38778         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
38779         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
38780         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
38781         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
38782         multiarch wcscpy for PPC64.
38784         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
38785         multiarch implementations.
38786         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38787         (__libc_ifunc_impl_list): Likewise.
38788         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
38789         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
38790         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
38791         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
38792         multiarch wcscpy for PPC64.
38794         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
38795         multiarch implementations.
38796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38797         (__libc_ifunc_impl_list): Likewise.
38798         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
38799         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
38800         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
38801         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
38802         multiarch wcsrchr for PPC64.
38804         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
38805         multiarch implementations.
38806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38807         (__libc_ifunc_impl_list): Likewise.
38808         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
38809         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
38810         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
38811         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
38812         multiarch wcschr for PPC64.
38814         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
38815         multiarch implementations.
38816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38817         (__libc_ifunc_impl_list): Likewise.
38818         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
38819         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
38820         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
38821         multiarch strchrnul for PPC64.
38823         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
38824         implementations.
38825         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38826         (__libc_ifunc_impl_list): Likewise.
38827         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
38828         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
38829         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
38830         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
38831         strchr for PPC64.
38833         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
38834         implementations.
38835         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38836         (__libc_ifunc_impl_list): Likewise.
38837         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
38838         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
38839         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
38840         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
38841         strncmp for PPC64.
38843         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
38844         multiarch implementations.
38845         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38846         (__libc_ifunc_impl_list): Likewise.
38847         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
38848         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
38849         strncasecmp for PPC64.
38850         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
38851         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
38852         multiarch strncasecmp_l for PPC64.
38854         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
38855         multiarch implementations.
38856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38857         (__libc_ifunc_impl_list): Likewise.
38858         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
38859         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
38860         multiarch strcasecmp for PPC64.
38861         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
38862         file.
38863         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
38864         multiarch strcasecmp_l for PPC64.
38866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
38867         implementations.
38868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38869         (__libc_ifunc_impl_list): Likewise.
38870         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
38871         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
38872         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
38873         strnlen for PPC64.
38875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
38876         implementations.
38877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38878         (__libc_ifunc_impl_list): Likewise.
38879         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
38880         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
38881         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
38882         strlen for PPC64.
38884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
38885         implementations.
38886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38887         (__libc_ifunc_impl_list): Likewise.
38888         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
38889         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
38890         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
38891         rawmemrchr for PPC64.
38893         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
38894         implementation.
38895         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38896         (__libc_ifunc_impl_list): Likewise.
38897         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
38898         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
38899         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
38900         memrchr for PPC64.
38902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
38903         implementation.
38904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38905         (__libc_ifunc_impl_list): Likewise.
38906         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
38907         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
38908         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
38909         memchr for PPC64.
38911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
38912         implementation.
38913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38914         (__libc_ifunc_impl_list): Likewise.
38915         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
38916         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
38917         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
38918         mempcpy for PPC64.
38920         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
38921         avoid cretion of __bzero symbol.
38922         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
38923         Likewise.
38924         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
38925         Likewise.
38926         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
38927         Likewise.
38928         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
38929         multiarch implementations.
38930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38931         (__libc_ifunc_impl_list): Likewise.
38932         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
38933         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
38934         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
38935         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
38936         bzero for PPC32.
38937         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
38938         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
38939         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
38940         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
38941         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
38942         memset for PPC64.
38943         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
38945         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
38946         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
38947         implementations.
38948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38949         (__libc_ifunc_impl_list): Likewise.
38950         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
38951         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
38952         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
38953         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
38954         memcmp for PPC64.
38956         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
38957         multiarch for POWER/PPC64.
38958         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
38959         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
38960         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
38961         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
38962         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
38963         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
38964         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
38965         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
38966         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
38967         memcpy for PPC64.
38969         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
38970         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
38971         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
38972         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
38973         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
38974         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
38975         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
38976         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
38977         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
38978         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
38979         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
38980         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
38981         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
38982         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
38983         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
38984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
38985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
38986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
38987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
38988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
38989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
38990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
38992 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38994         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
38996 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38998         * benchtests/Makefile (bench): Add exp2 and log2.
38999         (LDLIBS-bench-exp2): Add -lm.
39000         (LDLIBS-bench-log2): Likewise.
39001         * benchtests/exp2-inputs: New inputs file.
39002         * benchtests/log2-inputs: New inputs file.
39003         * benchtests/log-inputs: Add new inputs.
39004         * benchtests/tan-inputs: Likewise.
39006 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39008         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
39009         definition...
39010         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
39011         (csloww2): ... from here.
39013         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
39014         instead of structures.
39015         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
39016         (POLYNOMIAL): Likewise.
39017         (TAYLOR_SLOW): Likewise.
39018         (__sin): Likewise.
39019         (__cos): Likewise.
39020         (slow1): Likewise.
39021         (slow2): Likewise.
39022         (sloww): Likewise.
39023         (sloww1); Likewise.
39024         (sloww2): Likewise.
39025         (bsloww1): Likewise.
39026         (bsloww2): Likewise.
39027         (cslow2): Likewise.
39028         (csloww): Likewise.
39029         (csloww1): Likewise.
39030         (csloww2): Likewise.
39032 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
39034         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
39035         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
39036         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
39037         * malloc/hooks.c (realloc_check): Likewise.
39039         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
39040         * malloc/arena.c: Remove PER_THREAD conditional.
39041         [!PER_THREAD]: Remove code.
39042         (ptmalloc_unlock_all2): Likewise.
39043         (ptmalloc_init): Likewise.
39044         (_int_new_arena): Likewise.
39045         (arena_get2): Likewise.
39046         * malloc/hooks.c (__malloc_get_state): Likewise.
39047         (__malloc_set_state): Likewise.
39048         * malloc/malloc.c: Likewise.
39049         (struct malloc_state): Likewise.
39050         (struct malloc_par): Likewise.
39051         (__libc_realloc): Likewise.
39052         (__libc_mallopt): Likewise.
39054 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39056         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
39058 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
39060         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
39061         macro to a function.  Check for zero perturb_byte.
39062         (_int_malloc, _int_free): Remove zero perturb_byte checks.
39064         * malloc/malloc.c: (force_reg): Remove.
39065         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
39066         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
39067         force_reg by atomic_forced_read.
39068         * malloc/arena.c (ptmalloc_init): Likewise.
39069         * malloc/hooks.c (top_check): Likewise.
39071 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39075 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
39077         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39079 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
39081         * math/auto-libm-test-in: Add tests of lgamma.
39082         * math/auto-libm-test-out: Regenerated.
39083         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
39084         (M_LOG_2_SQRT_PIl): Likewise.
39085         (lgamma_test_data): Use AUTO_TESTS_f_f1.
39086         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39087         mpfr_f_f1.
39088         (func_calc_desc): Add mpfr_f_f1 union field.
39089         (ARGS1): New macro.
39090         (ARGS2): Likewise.
39091         (ARGS3): Likewise.
39092         (ARGS4): Likewise.
39093         (RET1): Likewise.
39094         (RET2): Likewise.
39095         (CALC): Likewise.
39096         (FUNC): Likewise.
39097         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
39098         (test_functions): Add lgamma.
39099         (calc_generic_results): Handle mpfr_f_f1.
39100         * sysdeps/i386/fpu/libm-test-ulps: Update.
39101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39103 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39105         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
39106         __mpn_add_n for PowerPC64/POWER7.
39107         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
39108         __mpn_sub_n for PowerPC64/POWER7.
39110         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
39111         __mpn_addmul_1 for PowerPC64.
39112         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
39113         __mpn_submul_1 for PowerPC64.
39114         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
39115         for PowerPC64.
39116         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
39117         for PowerPC64.
39119 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
39121         [BZ #15089]
39122         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
39124 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39126         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
39128         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
39129         add multiarch folders.
39130         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
39131         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
39132         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
39133         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
39134         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
39135         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
39136         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
39137         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
39138         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
39139         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
39140         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
39141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
39142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
39143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
39144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
39145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
39146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
39148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39149         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
39150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
39151         New file.
39152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
39153         New file.
39154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
39155         multiarch __ieee754_hypot for PowerPC32.
39156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
39157         New file.
39158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
39159         New file.
39160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
39161         multiarch __ieee754_hypotf for PowerPC32.
39163         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
39164         long_double_symbol only if __logbl is defined.
39165         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
39166         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
39167         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
39168         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
39169         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
39170         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
39171         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
39172         path for implementation.
39173         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
39174         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
39175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
39176         logb, and logbl multiarch implementations for PowerPC32.
39177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
39178         file.
39179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
39180         file.
39181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
39182         multiarch logb for PowerPC32.
39183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
39184         file.
39185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
39186         file.
39187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
39188         multiarch logbf for PowerPC32.
39189         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
39190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
39191         file.
39192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
39193         multiarch logbl implementation for PowerPC32.
39195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
39196         and modff multiarch implementations.
39197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
39198         New file.
39199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
39200         New file.
39201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
39202         multiarch modf for PowerPC32.
39203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
39204         New file.
39205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
39206         New file.
39207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
39208         multiarch modff for PowerPC32.
39210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
39211         and lrintf multiarch implementations.
39212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
39213         New file.
39214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
39215         New file.
39216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
39217         multiarch lrint for PowerPC32.
39218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
39219         file: multiarch lrintf for PowerPC32.
39221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
39222         and lroundf multiarch implementations.
39223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
39224         New file.
39225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
39226         New file.
39227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
39228         New file.
39229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
39230         multiarch lround for PowerPC32.
39231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
39232         file: multiarch lroundf for PowerPC32.
39234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39235         copysign and copysignf multiarch implementations.
39236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
39237         New file.
39238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
39239         New file.
39240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
39241         file: multiarch copysign for PowerPC32.
39242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
39243         file: multiarch copysignf for PowerPC32.
39245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
39246         and truncf multiarch implementations.
39247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
39248         New file.
39249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
39250         file.
39251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
39252         multiarch trunc for PowerPC32.
39253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
39254         New file.
39255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
39256         New file.
39257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
39258         multiarch truncf for PowerPC32.
39260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
39261         and roundf multiarch implementations.
39262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
39263         New file.
39264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
39265         file.
39266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
39267         multiarch round for PowerPC32.
39268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
39269         New file.
39270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
39271         New file.
39272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
39273         multiarch roundf for PowerPC32.
39275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
39276         and floorf multiarch implementations.
39277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
39278         New file.
39279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
39280         file.
39281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
39282         multiarch floor for PowerPC32.
39283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
39284         New file.
39285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
39286         New file.
39287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
39288         multiarch floorf for PowerPC32.
39290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
39291         and ceilf multiarch implementations.
39292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
39293         New file.
39294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
39295         file.
39296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
39297         multiarch ceil for PowerPC32.
39298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
39299         New file.
39300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
39301         file.
39302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
39303         multiarch ceilf for PowerPC32.
39305         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
39306         is defined.
39307         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
39308         FINITEF is defined.
39309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
39310         and finitef multiarch implementations.
39311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
39312         New file.
39313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
39314         file.
39315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
39316         multiarch finite for PowerPC32.
39317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
39318         New file.
39319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
39320         file: multiarch finitef for PowerPC32.
39322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
39323         and isinff multiarch implementations.
39324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
39325         file.
39326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
39327         file.
39328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
39329         multiarch isinf for PowerPC32.
39330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
39331         New file.
39332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
39333         multiarch isinff for PowerPC32.
39335         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
39336         alias when __isnan is defined.
39337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
39338         and isnanf multiarch implementations.
39339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
39340         file.
39341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
39342         file.
39343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
39344         file.
39345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
39346         file.
39347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
39348         multiarch isnan for PowerPC32.
39349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
39350         New file.
39351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
39352         New file.
39353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
39354         multiarch isnanf for PowerPC32.
39356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
39357         and sqrtf multiarch implementations.
39358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
39359         file.
39360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
39361         file.
39362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
39363         multiarch sqrt for PowerPC32.
39364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
39365         file.
39366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
39367         file.
39368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
39369         multiarch sqrtf for PowerPC32.
39371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
39372         and llroundf multiarch implementations.
39373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
39374         New file.
39375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
39376         New file.
39377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
39378         New file.
39379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
39380         file: multiarch llround for PowerPC32.
39381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
39382         file: multiarch llroundf for PowerPC32.
39384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
39385         multiarch PowerPC32 fpu implementations.
39386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
39387         New file.
39388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
39389         New file.
39390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
39391         multiarch llrint for PowerPC32.
39392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
39393         New file.
39394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
39395         New file.
39396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
39397         file.
39399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
39401         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
39402         file.
39403         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
39404         file.
39405         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
39406         file.
39407         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
39408         multiarch wordcopy for PPC32.
39409         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39410         wordcopy objects.
39411         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39412         (__libc_ifunc_impl_list): Likewise.
39413         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
39414         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
39415         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
39416         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
39417         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
39418         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
39420         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
39421         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
39422         file.
39423         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
39424         file.
39425         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
39426         file.
39427         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
39428         multiarch wcscpy for PPC32.
39429         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39430         multiarch objects.
39431         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39432         (__libc_ifunc_impl_list): Likewise.
39433         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39434         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39435         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
39436         sysdeps/powerpc/power6/wcscpy.c.
39438         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
39439         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
39440         file.
39441         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
39442         file.
39443         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
39444         file.
39445         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
39446         multiarch wcsrchr for PPC32.
39447         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39448         multiarch objects.
39449         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39450         (__libc_ifunc_impl_list): Likewise.
39451         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39452         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39453         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
39454         sysdeps/powerpc/power6/wcsrchr.c.
39456         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
39457         file.
39458         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
39459         file.
39460         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
39461         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
39462         multiarch wcschr for PPc32.
39463         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39464         multiarch objects.
39465         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39466         (__libc_ifunc_impl_list): Likewise.
39467         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
39468         * sysdeps/powerpc/power6/wcschr.c: ... to here.
39469         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
39470         sysdeps/powerpc/power6/wcschr.c.
39472         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
39473         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
39474         file.
39475         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
39476         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
39477         file: multiarch strchr for PPC32.
39478         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
39479         multiarch objects.
39480         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39481         (__libc_ifunc_impl_list): Likewise.
39483         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
39484         name.
39485         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
39486         file.
39487         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
39488         file.
39489         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
39490         multiarch strchrnul for PPC32.
39491         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
39492         multiarch objects.
39493         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39494         (__libc_ifunc_impl_list): Likewise.
39496         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
39497         file.
39498         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
39499         multiarch strncasecmp for PPC32.
39500         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
39501         file.
39502         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
39503         multiarch strncasecmp_l for PPC32.
39504         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
39505         strncasecmp multiarch objects.
39506         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39507         (__libc_ifunc_impl_list): Likewise.
39509         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
39510         file.
39511         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
39512         multiarch strncasecmp for PPC32.
39513         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39514         New file.
39515         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
39516         multiarch strcasecmp_l for PPC32.
39517         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
39518         multiarch objects.
39519         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39520         (__libc_ifunc_impl_list): Likewise.
39522         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
39523         file.
39524         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
39525         file.
39526         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
39527         multiarch strncmp for PPC32.
39528         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
39529         multiarch objects.
39530         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39531         (__libc_ifunc_impl_list): Likewise.
39533         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
39534         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
39535         file.
39536         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
39537         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
39538         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
39539         multiarch objects.
39540         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39541         (__libc_ifunc_impl_list): Likewise.
39543         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
39544         file.
39545         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
39546         file.
39547         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
39548         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
39549         multiarch objects.
39550         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39551         (__libc_ifunc_impl_list): Likewise.
39553         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
39554         file.
39555         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
39556         file.
39557         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
39558         multiarch rawmemchr for PPC32.
39559         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
39560         multiarch objects.
39561         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39562         (__libc_ifunc_impl_list): Likewise.
39564         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
39565         file.
39566         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
39567         file.
39568         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
39569         file: memrchr multiarch for PPC32.
39570         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
39571         multiarch objects.
39572         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39573         (__libc_ifunc_impl_list): Likewise.
39575         * string/memchr.c (__memchr): Using macro to redefine symbol name.
39576         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
39577         file.
39578         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
39579         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
39580         multiarch memchr for PPC32.
39581         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
39582         multiarch objects.
39583         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39584         (__libc_ifunc_impl_list): Likewise.
39586         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
39587         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
39588         file.
39589         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
39590         file.
39591         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
39592         file: multiarch mempcpy for PPC32.
39593         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
39594         multiarch objects.
39595         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39596         (__libc_ifunc_impl_list): Likewise.
39598         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
39599         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
39600         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
39601         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
39602         multiarch bzero for PPC32.
39603         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
39604         file.
39605         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
39606         file.
39607         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
39608         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
39609         file: multiarch memset for PPC32.
39610         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
39611         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
39612         memset multiarch objects.
39613         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39614         (__libc_ifunc_impl_list): Likewise.
39616         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
39617         file.
39618         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
39619         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
39620         memcmp for PPC32.
39621         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
39622         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
39623         multiarch objects.
39624         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39625         (__libc_ifunc_impl_list): Likewise.
39627         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
39628         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
39629         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
39630         file.
39631         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
39632         file.
39633         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
39634         file.
39635         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
39636         multiarch memcpy for PPC32.
39637         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
39638         multiarch objects.
39639         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39640         (__libc_ifunc_impl_list): Likewise.
39642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
39643         support multiarch for POWER/PPC32.
39644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
39645         Likewise.
39646         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
39647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
39648         Implies file to make multiarch folder appers before the fpu and
39649         default folder for power4 configuration.
39651 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39653         * scripts/bench.pl: Append volatile keyword to type.
39655 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39657         * sysdeps/sh/sotruss-lib.c: New file.
39658         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
39660 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39664 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
39666         [BZ #6810]
39667         * math/w_tgamma.c: Include <errno.h>.
39668         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
39669         * math/w_tgammaf.c: Include <errno.h>.
39670         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
39671         * math/w_tgammal.c: Include <errno.h>.
39672         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
39673         * math/auto-libm-test-in: Do not allow missing errno on tgamma
39674         underflow.  Add more tgamma tests.
39675         * math/auto-libm-test-out: Regenerated.
39676         * sysdeps/i386/fpu/libm-test-ulps: Update.
39677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39679         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
39680         sin, sinh, tan, tanh, tgamma, y0 and y1.
39681         * math/auto-libm-test-out: Regenerated.
39682         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39683         (TEST_COND_x86): Likewise.
39684         (M_E2l): Remove macro.
39685         (M_E3l): Likewise.
39686         (M_2_SQRT_PIl): Likewise.
39687         (M_SQRT_PIl): Likewise.
39688         (M_1_DIV_El): Likewise.
39689         (log_test_data): Use AUTO_TESTS_f_f.
39690         (log10_test_data): Likewise.
39691         (log1p_test_data): Likewise.
39692         (log2_test_data): Likewise.
39693         (sin_test_data): Likewise.
39694         (sin_tonearest_test_data): Likewise.
39695         (sin_towardzero_test_data): Likewise.
39696         (sin_downward_test_data): Likewise.
39697         (sin_upward_test_data): Likewise.
39698         (sinh_test_data): Likewise.
39699         (sinh_tonearest_test_data): Likewise.
39700         (sinh_towardzero_test_data): Likewise.
39701         (sinh_downward_test_data): Likewise.
39702         (sinh_upward_test_data): Likewise.
39703         (tan_test_data): Likewise.
39704         (tan_tonearest_test_data): Likewise.
39705         (tan_towardzero_test_data): Likewise.
39706         (tan_downward_test_data): Likewise.
39707         (tan_upward_test_data): Likewise.
39708         (tanh_test_data): Likewise.
39709         (tgamma_test_data): Likewise.
39710         (y0_test_data): Likewise.
39711         (y1_test_data): Likewise.
39712         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
39713         (special_real_inputs): Add pi/4.
39714         * sysdeps/i386/fpu/libm-test-ulps: Update.
39715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39717 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39719         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
39720         "longjmp_target" static probes.
39721         (__longjmp): Rename to __longjmp_symbol.
39722         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39723         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
39724         on which longjmp to generate.
39725         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39726         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
39727         probe.
39728         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39729         (__sigjmp_save): Rename to __sigjmp_save_symbol.
39730         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39731         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
39732         and __sigjmp_save_symbol based on which sigsetjmp to generated.
39733         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
39735         __longjmp_symbol based on which __longjmp to generate.
39736         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
39737         probe.
39738         (setjmp): Rename to setjmp_symbol.
39739         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39740         (_setjmp): Rename to _setjmp_symbol.
39741         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39742         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
39743         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
39744         which setjmp to generate.
39745         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
39746         "longjmp_target" static probes.
39748 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39750         * benchtests/README: Add note about output arguments.
39751         * benchtests/bench-sincos.c: Remove file.
39752         * benchtests/sincos-inputs: New file.
39753         * scripts/bench.pl: Identify output arguments and define
39754         static variables for them.
39756         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
39758         [BZ #15941]
39759         * Makefile (INSTALL): Add install-plain.texi as the primary
39760         dependency.
39761         * manual/install-plain.texi: New file.
39762         * manual/install.texi: Include node directive only for
39763         non-plaintext output.
39765 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
39767         * stdlib/longlong.h: Update from GCC.
39769         [BZ #6807]
39770         [BZ #15901]
39771         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
39772         * math/w_j0f.c (y0f): Likewise.
39773         * math/w_j0l.c (__y0l): Likewise.
39774         * math/w_j1.c (y1): Likewise.
39775         * math/w_j1f.c (y1f): Likewise.
39776         * math/w_j1l.c (__y1l): Likewise.
39777         * math/w_jn.c (yn): Likewise.
39778         * math/w_jnf.c (ynf): Likewise.
39779         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
39780         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
39781         value for Bessel function domain errors outside _SVID_ mode.
39782         Adjust sign of return value for yn (negative integer, 0).
39783         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
39784         by zero in return for negative x and set sign appropriately for
39785         negative n.
39786         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
39787         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39788         * math/libm-test.inc (y0_test_data): Add more tests and adjust
39789         expectations in error cases.
39790         (y1_test_data): Likewise.
39791         (yn_test_data): Likewise.
39792         * sysdeps/i386/fpu/libm-test-ulps: Update.
39793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39795 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39797         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
39798         "64" to "64-v1".  Add "64-v2".
39799         (abi-64-options): Rename to ...
39800         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
39801         (abi-64-condition): Rename to ...
39802         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
39803         (abi-64-ld-soname): Rename to ...
39804         (abi-64-v1-ld-soname): ... this.
39805         (abi-64-v2-options): Define.
39806         (abi-64-v2-condition): Likewise.
39807         (abi-64-v2-ld-soname): Likewise.
39808         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
39809         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
39810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
39811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
39812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
39814 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39815             Alan Modra  <amodra@gmail.com>
39817         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
39818         New versions for use with the ELFv2 ABI.
39819         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
39820         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
39821         declaration.
39822         (struct La_ppc64v2_retval): Likewise.
39823         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
39824         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
39825         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
39826         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
39827         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
39828         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39829         Do not save or restore CR.
39830         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
39831         (_dl_profile_resolve): Do no save or restore CR.  Support extended
39832         return values for ELFv2 ABI.  Fix location of FPR return registers.
39833         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
39834         updated values for _CALL_ELF == 2.
39835         (La_regs, La_retval, int_retval): Likewise.
39837 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39839         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
39840         (FRAME_MIN_SIZE_PARM): Likewise.
39841         (FRAME_BACKCHAIN): Likewise.
39842         (FRAME_CR_SAVE): Likewise.
39843         (FRAME_LR_SAVE): Likewise.
39844         (FRAME_TOC_SAVE): Likewise.
39845         (FRAME_PARM_SAVE): Likewise.
39846         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
39847         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
39848         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39849         (call_mcount_parm_offset): New macro.
39850         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
39851         (PROF): Use symbolic stack frame offsets.
39852         (TAIL_CALL_SYSCALL_ERROR): Likewise.
39853         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
39854         Redefine in terms of FRAME_MIN_SIZE.
39855         (_dl_runtime_resolve): Use symbolic stack frame offsets.
39856         (_dl_profile_resolve): Likewise.  Update comment.
39857         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
39858         symbols stack frame offsets.
39859         (__sigsetjmp): Likewise.
39860         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
39861         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
39862         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
39863         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
39865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
39866         (FRAME_BACKCHAIN): Remove.
39867         (FRAME_CR_SAVE): Likewise.
39868         (FRAME_LR_SAVE): Likewise.
39869         (FRAME_COMPILER_DW): Likewise.
39870         (FRAME_LINKER_DW): Likewise.
39871         (FRAME_TOC_SAVE): Likewise.
39872         (FRAME_PARM_SAVE): Likewise.
39873         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
39874         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
39875         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
39877         (CHECK_SP): Use symbolic stack frame offsets.
39878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
39879         zone" instead of caller's parameter save area for temp storage.
39880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39881         Likewise.  Also, use symbolic stack frame offsets.
39882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
39883         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
39884         our own stack frame instead of the caller's.
39885         (__socket): Use symbolic stack frame offsets.
39887 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39888             Alan Modra  <amodra@gmail.com>
39890         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
39891         Define.
39892         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
39893         (PPC64_LOCAL_ENTRY_OFFSET): Define.
39894         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
39895         New function.
39896         (elf_machine_fixup_plt): Call it.
39897         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
39898         reloc arguments.
39899         (elf_machine_rela): Update call to elf_machine_plt_conflict.
39900         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39901         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
39902         r2 before calling target.
39904 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39905             Alan Modra  <amodra@gmail.com>
39907         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
39908         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
39909         versions of macros to support ELFv2 ABI.
39910         (LOCALENTRY): New macro.
39911         (ENTRY, EALIGN): Use it.
39912         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
39913         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
39914         fall through into ENTRY entry point.
39915         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
39916         Only define if _CALL_ELF != 2.
39918         (elf_machine_matches_host): Verify ABI version matches.
39919         (RTLD_START): Use LOCALENTRY.
39920         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
39921         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
39922         (PLT_ENTRY_WORDS): New macro.
39923         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
39924         (elf_machine_runtime_setup): Support ELFv2 ABI.
39925         (elf_machine_fixup_plt): Likewise.
39926         (elf_machine_plt_conflict): Likewise.
39927         (resolve_ifunc): Likewise.
39928         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39929         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39930         Likewise.
39931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
39932         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
39933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39934         (makecontext): Support ELFv2 ABI.
39935         * elf/elf.h (EF_PPC64_ABI): Define.
39937 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39939         * sysdeps/powerpc/powerpc64/sysdep.h
39940         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
39941         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
39942         (ENTRY) [ASSEMBLER]: ... but instead here ...
39943         (EALIGN) [ASSEMBLER]: ... and here.
39944         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
39945         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
39946         (ENTRY_2) [!ASSEMBLER]: Use it.
39947         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
39948         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
39949         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39950         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
39951         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
39952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
39953         Use PPC64_LOAD_FUNCPTR.
39955         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
39957 2013-12-04  Alan Modra  <amodra@gmail.com>
39959         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
39960         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
39961         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
39962         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
39964         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
39965         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
39966         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
39967         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
39968         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
39969         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
39971 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39974         (__makecontext): Fix incorrect CFI when backtracing out of
39975         context created via makecontext.
39976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
39977         (__setcontext): Fix incorrect CFI during switch to new context.
39978         (__novec_setcontext): Likewise.
39980 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39982         [BZ #4772]
39983         * time/strptime_l.c (__strptime_internal): Allow modifiers
39984         in strptime.
39985         * time/tst-strptime.c (day_tests): Add testcase.
39987 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39989         * scripts/bench.pl: Skip over blank lines.
39991 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
39993         [BZ #926]
39994         * manual/time.texi (Calendar Time): Clarify what timezone functions
39995         use.
39997 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40001 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40003         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
40004         implementation.
40005         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
40006         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
40007         * debug/memset_chk.c (__memset_chk): Likewise.
40008         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
40009         * debug/strncpy_chk.c: Likewise.
40011 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40013         [BZ #15268]
40014         [BZ #15425]
40015         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
40016         (__ieee754_exp): For possibly underflowing results, check size of
40017         result and force underflow exception if required.
40018         * math/auto-libm-test-in: Add more tests of exp.
40019         * math/auto-libm-test-out: Regenerated.
40020         * sysdeps/i386/fpu/libm-test-ulps: Update.
40021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40023         [BZ #16283]
40024         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
40025         * math/w_exp2f.c (__exp2f): Likewise.
40026         * math/w_exp2l.c (__exp2l): Likewise.
40027         * math/auto-libm-test-in: Do not allow missing errno on exp2
40028         underflow.
40029         * math/auto-libm-test-out: Regenerated.
40031 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
40033         [BZ #16274]
40034         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
40035         handle filename validation.
40036         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
40037         (do_open): Delete.
40039 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40041         [BZ #6786]
40042         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
40043         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
40044         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
40045         <float.h>.
40046         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
40047         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
40048         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40049         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
40050         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40051         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
40052         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40053         * math/auto-libm-test-in: Don't allow missing errno from erfc.
40054         Add more erfc tests.
40055         * math/auto-libm-test-out: Regenerated.
40056         * sysdeps/i386/fpu/libm-test-ulps: Update.
40057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40059         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
40060         exp2, expm1, j0 and j1.
40061         * math/auto-libm-test-out: Regenerated.
40062         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
40063         (erfc_test_data): Likewise.
40064         (exp_test_data): Likewise.
40065         (exp_tonearest_test_data): Likewise.
40066         (exp_towardzero_test_data): Likewise.
40067         (exp_downward_test_data): Likewise.
40068         (exp_upward_test_data): Likewise.
40069         (exp10_test_data): Likewise.
40070         (exp2_test_data): Likewise.
40071         (expm1_test_data): Likewise.
40072         (j0_test_data): Likewise.
40073         (j1_test_data): Likewise.
40074         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
40075         (input_flag_type): Add flag_xfail_rounding.
40076         (input_flags): Add xfail-rounding.
40077         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
40078         (output_for_one_input_case): Handle flag_xfail_rounding.
40079         * sysdeps/i386/fpu/libm-test-ulps: Update.
40080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40082 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
40084         [BZ #16289]
40085         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
40086         division by 0.
40088 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40090         [BZ #16195]
40091         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
40092         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
40093         (STAP_PROBE0): New macro.
40094         (STAP_PROBE1): Likewise.
40095         (STAP_PROBE2): Likewise.
40096         (STAP_PROBE3): Likewise.
40097         (STAP_PROBE4): Likewise.
40099 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
40101         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
40103 2013-12-02  Steve Ellcey  <sellcey@mips.com>
40105         * benchtests/Makefile (bench): Add sqrt.
40106         (LDLIBS-bench-sqrt): New.
40107         * benchtests/sqrt-input: New.
40109 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
40111         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
40112         (GAIH_EAI): Likewise.
40113         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
40114         (gaih_inet): Likewise.
40115         (getaddrinfo): Don't use GAIH_EAI.
40117         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
40118         (struct gaih): Remove definition.
40120 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40122         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
40123         Use HERRNOP directly.
40125 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40129 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
40131         * math/gen-auto-libm-tests.c (test_functions): Add more
40132         single-argument functions.
40133         (special_fill_pi_2): New function.
40134         (special_fill_minus_pi_2): Likewise.
40135         (special_fill_pi_6): Likewise.
40136         (special_fill_minus_pi_6): Likewise.
40137         (special_fill_pi_3): Likewise.
40138         (special_fill_2pi_3): Likewise.
40139         (special_fill_e): Likewise.
40140         (special_fill_1_e): Likewise.
40141         (special_fill_e_minus_1): Likewise.
40142         (special_real_inputs): Add more special inputs.
40143         (output_for_one_input_case): Do not require ERANGE on underflow to
40144         zero if round-to-nearest result does not underflow to zero, unless
40145         exact results required.
40146         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
40147         atan, atanh, cbrt, cos and cosh.
40148         * math/auto-libm-test-out: Regenerated.
40149         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
40150         (acos_tonearest_test_data): Likewise.
40151         (acos_towardzero_test_data): Likewise.
40152         (acos_downward_test_data): Likewise.
40153         (acos_upward_test_data): Likewise.
40154         (acosh_test_data): Likewise.
40155         (asin_test_data): Likewise.
40156         (asin_tonearest_test_data): Likewise.
40157         (asin_towardzero_test_data): Likewise.
40158         (asin_upward_test_data): Likewise.
40159         (asinh_test_data): Likewise.
40160         (atan_test_data): Likewise.
40161         (atanh_test_data): Likewise.
40162         (cbrt_test_data): Likewise.
40163         (cos_test_data): Likewise.
40164         (cos_tonearest_test_data): Likewise.
40165         (cos_towardzero_test_data): Likewise.
40166         (cos_downward_test_data): Likewise.
40167         (cos_upward_test_data): Likewise.
40168         (cosh_test_data): Likewise.
40169         (cosh_tonearest_test_data): Likewise.
40170         (cosh_towardzero_test_data): Likewise.
40171         (cosh_downward_test_data): Likewise.
40172         (cosh_upward_test_data): Likewise.
40173         * sysdeps/i386/fpu/libm-test-ulps: Update.
40174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40176 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
40178         [BZ #6787]
40179         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
40180         * math/w_exp10f.c (__exp10f): Likewise.
40181         * math/w_exp10l.c (__exp10l): Likewise.
40182         * math/libm-test.inc (exp10_test_data): Add more tests and expect
40183         errno settings in existing tests.
40185         [BZ #14032]
40186         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
40187         precision control set to double precision.
40188         * sysdeps/i386/fpu/w_sqrt.c: New file.
40189         * math/auto-libm-test-in: Add more tests.
40190         * math/auto-libm-test-out: Update.
40192         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
40193         (sqrt_test_tonearest): New function.
40194         (sqrt_towardzero_test_data): New variable.
40195         (sqrt_test_towardzero): New function.
40196         (sqrt_downward_test_data): New variable.
40197         (sqrt_test_downward): New function.
40198         (sqrt_upward_test_data): New variable.
40199         (sqrt_test_upward): New function.
40200         (main): Call the new functions.
40202         * math/gen-auto-libm-tests.c: New file.
40203         * math/auto-libm-test-in: Likewise.
40204         * math/auto-libm-test-out: New generated file.
40205         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
40206         variables.
40207         (%beautify): Add generated representations of zero.
40208         (top level): Set $auto_input and call parse_auto_input.
40209         (beautify): Remove trailing "f" from hex float constants.
40210         (parse_args): Handle XFAIL_TEST.
40211         (convert_condition): New function.
40212         (or_value): Likewise.
40213         (or_cond_value): Likewise.
40214         (generate_testfile): Handle AUTO_TESTS_* lines.
40215         (parse_auto_input): New function.
40216         * math/libm-test.inc (XFAIL_TEST): New macro.
40217         (ERRNO_UNCHANGED): Update value.
40218         (ERRNO_EDOM): Likewise.
40219         (ERRNO_ERANGE): Likewise.
40220         (IGNORE_RESULT): Likewise.
40221         (TEST_COND_flt_32): New macro.
40222         (TEST_COND_dbl_64): Likewise.
40223         (TEST_COND_ldbl_96_intel): Likewise.
40224         (TEST_COND_ldbl_96_m68k): Likewise.
40225         (TEST_COND_ldbl_128): Likewise.
40226         (TEST_COND_ldbl_128ibm): Likewise.
40227         (TEST_COND_long32): Likewise.
40228         (TEST_COND_long64): Likewise.
40229         (TEST_COND_before_rounding): Likewise.
40230         (TEST_COND_after_rounding): Likewise.
40231         (enable_test): Handle XFAIL_TEST flag.
40232         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
40233         with finite results.
40234         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
40235         auto-libm-test-out.
40237 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40238             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40240         [BZ #16214]
40241         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
40242         __tls_get_addr_internal instead of __tls_get_offset in order to
40243         avoid GOT pointer dependency.  Make rtld export
40244         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
40245         __tls_get_addr since we are a __tls_get_offset platform.
40246         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
40247         GOT pointer being set up before.
40248         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
40250 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
40252         * manual/math.texi (Errors in Math Functions): Document accuracy
40253         goals.
40255         [BZ #15004]
40256         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
40257         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
40258         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40259         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40260         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40261         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40262         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40263         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40264         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40265         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40266         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40267         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40268         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40269         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40270         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40271         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40273         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
40274         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
40275         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40276         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
40277         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
40278         Likewise.
40279         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
40280         Likewise.
40281         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
40282         Likewise.
40283         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
40284         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
40285         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
40286         atomic-feupdateenv and flt-rounds.
40287         * sysdeps/powerpc/nofpu/Versions (libc): Add
40288         __atomic_feholdexcept, __atomic_feclearexcept,
40289         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
40290         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
40291         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
40292         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
40293         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
40294         here.
40295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40296         Update.
40298         * manual/arith.texi (FP Exceptions): Document that exceptions may
40299         not be raised when matherr is used.
40300         (Math Error Reporting): Document overflow in directed rounding
40301         modes.  Document that errno may not be set when finite values are
40302         returned on overflow.  Document intent to set errno on underflow
40303         only for underflow to zero.
40305         [BZ #16271]
40306         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
40307         round-to-nearest then adjust result for other rounding modes.
40308         * include/fenv.h (fegetround): Use libm_hidden_proto.
40309         * math/fegetround.c (fegetround): Use libm_hidden_def.
40310         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40311         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40312         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40313         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40314         Likewise.
40315         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
40316         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40317         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40318         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
40320 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40322         [BZ #16077]
40323         * nss/Versions (libnss_files): Add
40324         _nss_files_gethostbyname3_r.
40325         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
40326         New function.
40327         (HOST_DB_LOOKUP): Remove macro.
40328         (_nss_files_gethostbyname_r): Implement function without the
40329         HOST_DB_LOOKUP macro.
40330         (_nss_files_gethostbyname2_r): Likewise.
40332 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
40334         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
40336 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
40338         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
40339         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
40340         warning.
40342 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40344         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
40345         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
40346         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40347         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40348         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
40349         __fe_nomask_env_priv and attribute_hidden.
40350         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
40351         (libc_feupdateenv_test_ppc): Likewise.
40352         (libc_feresetround_ppc): Likewise.
40353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40354         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
40355         compat_symbol macro.
40356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40357         (__fe_nomask_env): Likewise.
40358         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
40360 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40362         * string/Makefile: Remove ifunc tests.
40363         * string/test-string.h: Define TEST_IFUNC.
40364         * string/test-bcopy-ifunc.c: Remove.
40365         * string/test-bzero-ifunc.c: Likewise.
40366         * string/test-memccpy-ifunc.c: Likewise.
40367         * string/test-memchr-ifunc.c: Likewise.
40368         * string/test-memcmp-ifunc.c: Likewise.
40369         * string/test-memcpy-ifunc.c: Likewise.
40370         * string/test-memmem-ifunc.c: Likewise.
40371         * string/test-memmove-ifunc.c: Likewise.
40372         * string/test-mempcpy-ifunc.c: Likewise.
40373         * string/test-memrchr-ifunc.c: Likewise.
40374         * string/test-memset-ifunc.c: Likewise.
40375         * string/test-rawmemchr-ifunc.c: Likewise.
40376         * string/test-stpcpy-ifunc.c: Likewise.
40377         * string/test-stpncpy-ifunc.c: Likewise.
40378         * string/test-strcasecmp-ifunc.c: Likewise.
40379         * string/test-strcasestr-ifunc.c: Likewise.
40380         * string/test-strcat-ifunc.c: Likewise.
40381         * string/test-strchr-ifunc.c: Likewise.
40382         * string/test-strchrnul-ifunc.c: Likewise.
40383         * string/test-strcmp-ifunc.c: Likewise.
40384         * string/test-strcpy-ifunc.c: Likewise.
40385         * string/test-strcspn-ifunc.c: Likewise.
40386         * string/test-strlen-ifunc.c: Likewise.
40387         * string/test-strncasecmp-ifunc.c: Likewise.
40388         * string/test-strncat-ifunc.c: Likewise.
40389         * string/test-strncmp-ifunc.c: Likewise.
40390         * string/test-strncpy-ifunc.c: Likewise.
40391         * string/test-strnlen-ifunc.c: Likewise.
40392         * string/test-strpbrk-ifunc.c: Likewise.
40393         * string/test-strrchr-ifunc.c: Likewise.
40394         * string/test-strspn-ifunc.c: Likewise.
40395         * string/test-strstr-ifunc.c: Likewise.
40397 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40399         * benchtests/Makefile: Remove ifunc tests.
40400         * benchtests/bench-string.h: Define TEST_IFUNC.
40401         * benchtests/bench-bcopy-ifunc.c: Remove.
40402         * benchtests/bench-bzero-ifunc.c: Likewise.
40403         * benchtests/bench-memccpy-ifunc.c: Likewise.
40404         * benchtests/bench-memchr-ifunc.c: Likewise.
40405         * benchtests/bench-memcmp-ifunc.c: Likewise.
40406         * benchtests/bench-memcpy-ifunc.c: Likewise.
40407         * benchtests/bench-memmem-ifunc.c: Likewise.
40408         * benchtests/bench-memmove-ifunc.c: Likewise.
40409         * benchtests/bench-mempcpy-ifunc.c: Likewise.
40410         * benchtests/bench-memrchr-ifunc.c: Likewise.
40411         * benchtests/bench-memset-ifunc.c: Likewise.
40412         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
40413         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
40414         * benchtests/bench-stpcpy-ifunc.c: Likewise.
40415         * benchtests/bench-stpncpy-ifunc.c: Likewise.
40416         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
40417         * benchtests/bench-strcasestr-ifunc.c: Likewise.
40418         * benchtests/bench-strcat-ifunc.c: Likewise.
40419         * benchtests/bench-strchr-ifunc.c: Likewise.
40420         * benchtests/bench-strchrnul-ifunc.c: Likewise.
40421         * benchtests/bench-strcmp-ifunc.c: Likewise.
40422         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
40423         * benchtests/bench-strcpy-ifunc.c: Likewise.
40424         * benchtests/bench-strcspn-ifunc.c: Likewise.
40425         * benchtests/bench-strlen-ifunc.c: Likewise.
40426         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
40427         * benchtests/bench-strncat-ifunc.c: Likewise.
40428         * benchtests/bench-strncmp-ifunc.c: Likewise.
40429         * benchtests/bench-strncpy-ifunc.c: Likewise.
40430         * benchtests/bench-strnlen-ifunc.c: Likewise.
40431         * benchtests/bench-strpbrk-ifunc.c: Likewise.
40432         * benchtests/bench-strrchr-ifunc.c: Likewise.
40433         * benchtests/bench-strsep-ifunc.c: Likewise.
40434         * benchtests/bench-strspn-ifunc.c: Likewise.
40435         * benchtests/bench-strstr-ifunc.c: Likewise.
40437 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40439         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
40441 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40443         * resolv/netdb.h: Use __glibc_reserved instead __unused.
40444         * rt/aio.h: Likewise.
40445         * sysdeps/gnu/bits/utmp.h: Likewise.
40446         * sysdeps/gnu/bits/utmpx.h: Likewise.
40447         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40448         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
40449         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
40450         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
40451         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
40452         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
40453         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
40454         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
40455         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
40456         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
40457         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
40458         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
40459         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
40460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
40461         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40462         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
40463         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
40464         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
40465         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
40466         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
40467         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
40468         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
40469         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
40470         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40471         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
40472         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40473         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
40474         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
40475         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
40476         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
40477         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
40478         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
40479         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
40480         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40481         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
40482         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
40483         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
40484         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
40485         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
40486         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
40487         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
40488         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40490 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
40492         [BZ #16245]
40493         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
40494         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
40496 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
40498         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
40499         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40500         Likewise.
40502 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40504         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
40505         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
40506         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
40507         (__fesetround): Remove define.
40508         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
40509         rounding and exceptions handling.
40510         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
40511         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
40512         (__fe_nomask_env): Likewise.
40513         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
40514         __fegetround instead of fegetround.
40515         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40516         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
40518 2013-11-21  Roland McGrath  <roland@hack.frob.com>
40520         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
40521         it's there.
40523         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
40525 2013-11-21  Meador Inge  <meadori@codesourcery.com>
40527         [BZ #11157]
40528         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
40529         (encrypt_r): Likewise.
40530         * malloc/obstack.h (obstack_free): Likewise.
40531         * posix/unistd.h (encrypt): Likewise.
40533 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
40535         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
40536         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
40537         DL_CALL_DT_FINI() that call the functions directly.
40538         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
40539         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
40540         * elf/dl-fini.c: Likewise.
40542 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
40544         * malloc/hooks.c (memalign_check): Add alignment rounding.
40545         * malloc/malloc.c (_mid_memalign): New function.
40546         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
40547         Implement by calling _mid_memalign.
40548         * manual/probes.texi (Memory Allocation Probes): Remove
40549         memory_valloc_retry and memory_pvalloc_retry.
40551 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40553         * locale/programs/locarchive.c (open_archive): Add const
40554         qualifier to ARCHIVEFNAME and copy default fname to
40555         DEFAULT_FNAME.
40557         [BZ #15601]
40558         * libio/tst-widetext.input: Rename Oriya to Odia.
40559         * locale/iso-639.def: Likewise.
40561         * manual/probes.texi (Mathematical Function Probes): Add
40562         documentation for sin, cos, asin and acos probes.
40563         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
40564         (__sin32): Add slowasin probe.
40565         (__cos32): Add slowacos probe.
40566         (__mpsin): Add slowsin probe.
40567         (__mpcos): Add slowcos probe.
40569 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
40571         [BZ #15483]
40572         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
40573         thread-local __sim_exceptions_thread and global
40574         __sim_exceptions_global.
40575         (__sim_disabled_exceptions): Change to thread-local
40576         __sim_disabled_exceptions_thread and global
40577         __sim_disabled_exceptions_global.
40578         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40579         and global __sim_round_mode_global.
40580         (__simulate_exceptions): Use thread-local floating-point state and
40581         set global state from it as needed.
40582         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
40583         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
40584         __sim_round_mode_thread.
40585         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
40586         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
40587         and global __sim_exceptions_global.
40588         (__sim_disabled_exceptions): Change to thread-local
40589         __sim_disabled_exceptions_thread and global
40590         __sim_disabled_exceptions_global.
40591         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40592         and global __sim_round_mode_global.
40593         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
40594         (SIM_SET_GLOBAL): Likewise.
40595         * sysdeps/powerpc/soft-fp/sfp-machine.h
40596         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
40597         __sim_round_mode_thread.
40598         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
40599         __sim_disabled_exceptions_thread.
40600         (__sim_exceptions): Change to __sim_exceptions_thread.
40601         (__sim_disabled_exceptions): Change to
40602         __sim_disabled_exceptions_thread.
40603         (__sim_round_mode): Change to __sim_round_mode_thread.
40604         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
40605         thread-local floating-point state and set global state from it as
40606         needed.
40607         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
40608         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
40609         (__sim_disabled_exceptions): Remove extern declaration.
40610         (feenableexcept): Use thread-local floating-point state and set
40611         global state from it as needed.
40612         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
40613         extern declaration.
40614         (__sim_disabled_exceptions): Likewise.
40615         (__sim_round_mode): Likewise.
40616         (__fegetenv): Use thread-local floating-point state.
40617         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
40618         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40619         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
40620         floating-point state and set global state from it as needed.
40621         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
40622         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40623         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
40624         Likewise.
40625         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
40626         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
40627         Likewise.
40628         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
40629         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
40630         Use __sim_round_mode_thread.
40631         * math/test-fenv-tls.c: New file.
40632         * math/Makefile (tests): Add test-fenv-tls.
40633         ($(objpfx)test-fenv-tls): Depend on
40634         $(common-objpfx)nptl/libpthread.so.
40636 2013-11-19  Andreas Schwab  <schwab@suse.de>
40638         * locale/programs/locale.c (show_info): Decode wordarray elements.
40639         * locale/categories.def (LC_MONETARY): Add element for
40640         _NL_MONETARY_CRNCYSTR.
40641         * locale/C-monetary.c (conversion_rate): New variable.
40642         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
40643         element.
40645 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
40647         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
40648         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
40650 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40652         * elf/Makefile (tst-auxv): New test.
40653         * elf/tst-auxv.c: New
40654         * elf/rtld.c (dl_main): Adjust AT_EXECFN
40656 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
40658         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
40659         (hidden_proto): Caller changed.
40660         (hidden_tls_proto): New macro.
40661         (libc_hidden_tls_proto): Likewise.
40662         (rtld_hidden_tls_proto): Likewise.
40663         (libm_hidden_tls_proto): Likewise.
40664         (libresolv_hidden_tls_proto): Likewise.
40665         (librt_hidden_tls_proto): Likewise.
40666         (libdl_hidden_tls_proto): Likewise.
40667         (libnss_files_hidden_tls_proto): Likewise.
40668         (libnsl_hidden_tls_proto): Likewise.
40669         (libnss_nisplus_hidden_tls_proto): Likewise.
40670         (libutil_hidden_tls_proto): Likewise.
40672 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
40674         [BZ #10253]
40675         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
40676         (decompose_rpath): Defer expansion to fillin_rpath.
40677         (_dl_init_paths): Pass linkmap to fillin_rpath.
40679 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40681         * benchtests/Makefile: Add strsep.
40682         * benchtests/bench-strsep.c: New file: strsep benchtest.
40683         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
40685 2013-11-18  Andreas Schwab  <schwab@suse.de>
40687         * locale/programs/locale.c (show_info) [case byte]: Check for
40688         '\377' instead of '\177'.
40689         * locale/C-monetary.c (not_available): Always use "\377".
40690         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
40691         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
40692         detect unavailable sign_posn locale elements.
40693         * locale/localeconv.c (__localeconv): For grouping and
40694         mon_grouping handle "\177" and "\377" like no grouping.
40695         (INT_ELEM): New macro.  Use it to set all numeric members.
40696         * locale/programs/ld-monetary.c (monetary_read)
40697         <tok_mon_grouping>: Normalize single -1 to the empty string.
40698         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
40699         Likewise.
40701 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40703         [BZ #16055]
40704         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
40705         when we match (nil).
40706         * stdio-common/tst-sscanf.c (struct test): Add testcase.
40708 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
40710         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
40711         (NO_TEST_INLINE): Update value.
40712         (ERRNO_UNCHANGED): Likewise.
40713         (ERRNO_EDOM): Likewise.
40714         (ERRNO_ERANGE): Likewise.
40715         (IGNORE_RESULT): Likewise.
40716         (check_float_internal): Check signs of NaN results if
40717         TEST_NAN_SIGN used.
40718         (check_complex): Pass TEST_NAN_SIGN flag through to second
40719         check_float_internal call.
40720         (copysign_test_data): Add tests with quiet NaNs as second
40721         argument.  Use TEST_NAN_SIGN.
40722         (fabs_test_data): Add test of negative quiet NaN argument.  Use
40723         TEST_NAN_SIGN.
40724         (signbit_test_data): Add tests of quiet NaN argument.
40725         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
40727         * math/gen-libm-test.pl (show_exceptions): Take extra argument
40728         $ignore_result.
40729         (parse_args): Handle function results specified as IGNORE.
40730         * math/libm-test.inc (IGNORE_RESULT): New macro.
40731         (check_float_internal): Do not check numerical result if flag
40732         IGNORE_RESULT set.
40733         (check_complex): Pass through IGNORE_RESULT to second
40734         check_float_internal call.
40735         (check_int): Do not check numerical result if flag IGNORE_RESULT
40736         set.
40737         (check_long): Likewise.
40738         (check_bool): Likewise.
40739         (check_longlong): Likewise.
40740         (lrint_test_data): Add tests of infinite and NaN arguments.
40741         (lrint_tonearest_test_data): Likewise.
40742         (lrint_towardzero_test_data): Likewise.
40743         (lrint_downward_test_data): Likewise.
40744         (lrint_upward_test_data): Likewise.
40745         (llrint_test_data): Likewise.
40746         (llrint_tonearest_test_data): Likewise.
40747         (llrint_towardzero_test_data): Likewise.
40748         (llrint_downward_test_data): Likewise.
40749         (llrint_upward_test_data): Likewise.
40750         (lround_test_data): Likewise.
40751         (llround_test_data): Likewise.
40753         * math/libm-test.inc (NO_TEST_INLINE): New macro.
40754         (ERRNO_UNCHANGED): Update value.
40755         (ERRNO_EDOM): Likewise.
40756         (ERRNO_ERANGE): Likewise.
40757         (NO_TEST_INLINE_FLOAT): New macro.
40758         (NO_TEST_INLINE_DOUBLE): Likewise.
40759         (enable_test): New function.
40760         (RUN_TEST_f_f): Check enable_test before running test.
40761         (RUN_TEST_2_f): Likewise.
40762         (RUN_TEST_fff_f): Likewise.
40763         (RUN_TEST_c_f): Likewise.
40764         (RUN_TEST_f_f1): Likewise.
40765         (RUN_TEST_fF_f1): Likewise.
40766         (RUN_TEST_fI_f1): Likewise.
40767         (RUN_TEST_ffI_f1): Likewise.
40768         (RUN_TEST_c_c): Likewise.
40769         (RUN_TEST_cc_c): Likewise.
40770         (RUN_TEST_f_i): Likewise.
40771         (RUN_TEST_f_i_tg): Likewise.
40772         (RUN_TEST_ff_i_tg): Likewise.
40773         (RUN_TEST_f_b): Likewise.
40774         (RUN_TEST_f_b_tg): Likewise.
40775         (RUN_TEST_f_l): Likewise.
40776         (RUN_TEST_f_L): Likewise.
40777         (RUN_TEST_fFF_11): Likewise.
40778         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
40779         conditionals.
40780         (cosh_test_data): Likewise.
40781         (exp_test_data): Likewise.
40782         (expm1_test_data): Likewise.
40783         (hypot_test_data): Likewise.
40784         (pow_test_data): Likewise.
40785         (sinh_test_data): Likewise.
40786         (tanh_test_data): Likewise.
40787         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
40788         flags argument.
40790         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
40791         tests with quiet NaN input and output.
40792         (acosh_test_data): Likewise.
40793         (asin_test_data): Likewise.
40794         (asinh_test_data): Likewise.
40795         (atan_test_data): Likewise.
40796         (atanh_test_data): Likewise.
40797         (atan2_test_data): Likewise.
40798         (cbrt_test_data): Likewise.
40799         (cos_test_data): Likewise.
40800         (cosh_test_data): Likewise.
40801         (erf_test_data): Likewise.
40802         (erfc_test_data): Likewise.
40803         (exp_test_data): Likewise.
40804         (exp10_test_data): Likewise.
40805         (exp2_test_data): Likewise.
40806         (expm1_test_data): Likewise.
40807         (hypot_test_data): Likewise.
40808         (j0_test_data): Likewise.
40809         (j1_test_data): Likewise.
40810         (jn_test_data): Likewise.
40811         (lgamma_test_data): Likewise.
40812         (log_test_data): Likewise.
40813         (log10_test_data): Likewise.
40814         (log1p_test_data): Likewise.
40815         (log2_test_data): Likewise.
40816         (pow_test_data): Likewise.
40817         (scalb_test_data): Likewise.
40818         (sin_test_data): Likewise.
40819         (sincos_test_data): Likewise.
40820         (sinh_test_data): Likewise.
40821         (tan_test_data): Likewise.
40822         (tanh_test_data): Likewise.
40823         (tgamma_test_data): Likewise.
40824         (y0_test_data): Likewise.
40825         (y1_test_data): Likewise.
40826         (yn_test_data): Likewise.
40828         [BZ #16167]
40829         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
40830         argument being NaN and avoid computations with second argument in
40831         that case.
40832         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40833         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40834         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40836 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
40838         * locale/iso-639.def: Add Chitwani Tharu (the).
40840 2013-11-14  Andreas Schwab  <schwab@suse.de>
40842         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
40843         word instead of empty string.
40845 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40848         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
40849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40850         (__fe_nomask_env): Likewise.
40852 2013-11-13  Steve Ellcey  <sellcey@mips.com>
40854         * benchtests/bench-timing.h: Include time.h.
40856 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
40858         [BZ #15997]
40859         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
40860         to 3.4.0 for x32.
40861         * sysdeps/unix/sysv/linux/configure: Regenerated.
40863 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
40865         [BZ #16151]
40866         * stdlib/strtod_l.c (round_and_return): Do not consider
40867         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
40868         exponent one less than half the least subnormal exponent.
40869         * stdlib/test-strtod-round-data: Add more tests.
40870         * stdlib/tst-strtod-round.c (tests): Regenerated.
40872 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40874         [BZ #14143]
40875         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
40876         (__fe_mask_env): Likewise.
40877         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
40878         libm_hidden_proto and add function prototype.
40879         (__fe_mask_env): Add function prototype.
40880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40881         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
40882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40883         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
40884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40885         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
40887 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40889         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
40890         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
40892 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40894         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
40895         of htab_find_slot().
40897 2013-11-11  David S. Miller  <davem@davemloft.net>
40899         [BZ #16150]
40900         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
40901         symbol in the non-vis3 case in static builds.
40902         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
40903         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
40904         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
40905         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
40907 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
40909         [BZ #387]
40910         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
40911         it is empty.
40913 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40915         * benchtests/Makefile: Add bench-strtod.
40916         * benchtests/bench-strtod.c: New file: strtod benchtest
40918 2013-11-11  Andreas Schwab  <schwab@suse.de>
40920         [BZ #16153]
40921         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
40922         terminating NUL in key length.
40924 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40926         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40927         Add artificial ODP entry for vDSO symbol for PPC64.
40928         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
40929         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
40931 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40933         [BZ #15374]
40934         * nss/getent.c (services_keys): Recognize services starting with digit.
40936 2013-11-06  David S. Miller  <davem@davemloft.net>
40938         [BZ #15985]
40939         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
40940         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
40942 2013-11-06  Will Newton  <will.newton@linaro.org>
40944         * manual/memory.texi (Malloc Examples): Remove register
40945         keyword from examples.
40947 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
40949         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
40951 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
40953         [BZ #6981]
40954         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
40955         depending on [__GCC_IEC_559 > 0].
40956         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
40957         depending on [__GCC_IEC_559_COMPLEX > 0].
40959 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
40961         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
40962         to iso-639.def.
40964 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
40966         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
40968 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
40970         [BZ #16112]
40971         * malloc/malloc (malloc_info): Do not handle first bin as
40972         special case.
40974 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
40976         * locale/iso-639.def: Add Central Nahuatl (nhn).
40978 2013-11-01  Bruno Haible  <bruno@clisp.org>
40980         [BZ #7003]
40981         * manual/math.texi (BSD Random): Specify range upper bound as
40982         in POSIX.
40984 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
40986         * locale/iso-639.def: Add Meadow Mari (mhr).
40988 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
40990         [BZ #14752], [BZ #15763]
40991         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
40992         Validate name.
40993         * rt/tst_shm.c: Add test for escaping directory.
40995 2013-10-31  Andreas Schwab  <schwab@suse.de>
40997         [BZ #15917]
40998         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
40999         followed by 'x' as part of digit sequence.
41000         * stdio-common/tst-sscanf.c (double_tests2): New tests.
41002 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
41004         [BZ #16037]
41005         * configure.ac: allow GNU Make 4.0 and greater.
41006         * configure: Regenerated.
41008 2013-10-30  Will Newton  <will.newton@linaro.org>
41010         [BZ #16038]
41011         * malloc/hooks.c (memalign_check): Limit alignment to the
41012         maximum representable power of two.
41013         * malloc/malloc.c (__libc_memalign): Likewise.
41014         * malloc/tst-memalign.c (do_test): Add test for very
41015         large alignment values.
41016         * malloc/tst-posix_memalign.c (do_test): Likewise.
41018 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41020         [BZ #11087]
41021         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
41022         (munmap_chunk): Likewise.
41023         (mremap_chunk): Likewise.
41025 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41027         [BZ #15799]
41028         * stdlib/div.c (div): Remove obsolete code.
41029         * stdlib/ldiv.c (ldiv): Likewise.
41030         * stdlib/lldiv.c (lldiv): Likewise.
41032 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41034         [BZ #16071]
41035         * nss/nss_files/files-XXX.c (get_contents_ret): New
41036         enumerator.
41037         (get_contents): New function.
41038         (internal_getent): Use it.  Expand size of LINEBUFLEN.
41040 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
41042         * configure.in: Moved to ...
41043         * configure.ac: ... here. Change reference to configure.in
41044         to configure.ac.
41045         * sysdeps/arm/preconfigure.ac: ... here.
41046         configure.in to configure.ac.
41047         * sysdeps/gnu/configure.in: Moved to ...
41048         * sysdeps/gnu/configure.ac: ... here.
41049         * sysdeps/i386/configure.in: Moved to ...
41050         * sysdeps/i386/configure.ac: ... here.
41051         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
41052         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
41053         * sysdeps/mach/configure.in: Moved to ...
41054         * sysdeps/mach/configure.ac: ... here.
41055         * sysdeps/mach/hurd/configure.in: Moved to ...
41056         * sysdeps/mach/hurd/configure.ac: ... here.
41057         * sysdeps/powerpc/configure.in: Moved to ...
41058         * sysdeps/powerpc/configure.ac: ... here.
41059         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
41060         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
41061         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
41062         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
41063         * sysdeps/s390/s390-32/configure.in: Moved to ...
41064         * sysdeps/s390/s390-32/configure.ac: ... here.
41065         * sysdeps/s390/s390-64/configure.in: Moved to ...
41066         * sysdeps/s390/s390-64/configure.ac: ... here.
41067         * sysdeps/sh/configure.in: Moved to ...
41068         * sysdeps/sh/configure.ac: ... here.
41069         * sysdeps/sparc/configure.in: Moved to ...
41070         * sysdeps/sparc/configure.ac: ... here.
41071         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
41072         * sysdeps/unix/sysv/linux/configure.ac: ... here.
41073         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
41074         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
41075         * sysdeps/x86_64/configure.in: Moved to ...
41076         * sysdeps/x86_64/configure.ac: ... here.
41077         * sysdeps/x86_64/preconfigure.in: Moved to ...
41078         * sysdeps/x86_64/preconfigure.ac: ... here.
41079         * aclocal.m4: Change reference to configure.in to configure.ac.
41080         * config.h.in: Likewise.
41081         * manual/install.texi: Likewise.
41082         * manual/maint.texi: Likewise.
41083         * Makefile: Likewise.
41084         * malloc/Makefile: Likewise.
41085         * nscd/Makefile: Likewise.
41086         * Makeconfig: Change reference to configure.in and
41087         preconfigure.in to configure.ac and preconfigure.ac
41088         respectively.
41089         * INSTALL: Regenerated.
41090         * configure: Likewise.
41091         * sysdeps/gnu/configure: Likewise.
41092         * sysdeps/i386/configure: Likewise.
41093         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
41094         * sysdeps/mach/configure: Likewise.
41095         * sysdeps/mach/hurd/configure: Likewise.
41096         * sysdeps/powerpc/configure: Likewise.
41097         * sysdeps/powerpc/powerpc32/configure: Likewise.
41098         * sysdeps/powerpc/powerpc64/configure: Likewise.
41099         * sysdeps/s390/s390-32/configure: Likewise.
41100         * sysdeps/s390/s390-64/configure: Likewise.
41101         * sysdeps/sh/configure: Likewise.
41102         * sysdeps/sparc/configure: Likewise.
41103         * sysdeps/unix/sysv/linux/configure: Likewise.
41104         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
41105         * sysdeps/x86_64/configure: Likewise.
41106         * sysdeps/x86_64/preconfigure: Likewise.
41108 2013-10-29  Andreas Schwab  <schwab@suse.de>
41110         * stdio-common/Makefile (tst-swscanf-ENV): Define.
41112 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41114         * benchtests/pow-inputs: Add new inputs.
41116         * benchtests/exp-inputs: Add new inputs.
41118         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
41119         conditional check for return value.
41120         (__cos32): Likewise.
41122 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41124         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
41125         to provide a boost for large inputs with word alignment.
41126         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
41127         implementation based on optimized PPC64 strcpy.
41128         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
41129         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
41130         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
41131         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
41133 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41135         [BZ #2801]
41136         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
41138 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41140         [BZ #14876]
41141         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
41142         * time/tst-strptime.c (day_tests): Add testcase.
41144 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41146         [BZ #14029]
41147         * manual/pattern.texi: Acknowledge that fnmatch can fail.
41149 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
41151         [BZ #16074]
41152         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
41153         MAP_FAILED on error.
41155 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41157         [BZ #16072]
41158         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
41159         heap for large requests.
41161 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
41163         [BZ #9954]
41164         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
41165         result if the result has no associated interface.
41166         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
41167         interface for all 127.X.Y.Z addresses.
41169 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
41171         * locale/iso-639.def: Add Ligurian (lij)
41173 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
41175         [BZ #15825]
41176         * sunrpc/rpc_main.c: Document rpcgen -5.
41178 2013-10-19  Michael Stahl  <mstahl@redhat.com>
41180         * elf/rtld.c (do_preload): Print the reason why preloading failed.
41182 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41184         [BZ #10278]
41185         * posix/glob.c: Match only directories when trailing slash is present.
41186         * posix/tst-gnuglob.c (my_opendir): Do not open files.
41187         (main): Add testcase.
41189 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41191         [BZ #15670]
41192         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
41194 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
41196         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
41197         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
41198         AUTH_DES and cindex for FIPS 140-2.
41199         (DES Encryption): Add cindex FIPS 46-3.
41201         * locale/locarchive.h (struct locarhandle): Add fname.
41202         * locale/programs/localedef.c (main): Pass ARGV[remaining]
41203         if an optional argument was specified to --list-archive,
41204         otherwise NULL.
41205         * locale/programs/locarchive.c (show_archive_content): Take new
41206         argument fname and pass it via ah.fname to open_archive.
41207         * locale/programs/localedef.h: Update decl.
41208         (open_archive): If AH->fname is non-null, open that file
41209         rather than the default file name, and don't ignore ENOENT.
41210         (create_archive): Set AH.fname to NULL.
41211         (delete_locales_from_archive): Likewise.
41212         (add_locales_to_archive): Likewise.
41213         * locale/programs/locfile.c (write_all_categories): Likewise.
41215 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
41216             Aldy Hernandez  <aldyh@redhat.com>
41218         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
41219         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
41220         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
41221         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
41222         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
41223         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
41224         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
41225         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
41226         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
41227         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
41228         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
41229         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
41230         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
41231         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
41232         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
41233         Likewise.
41234         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
41235         Likewise.
41236         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
41237         Likewise.
41238         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
41239         Likewise.
41240         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
41241         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
41242         Likewise.
41243         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
41244         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
41245         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
41246         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
41247         Likewise.
41248         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
41249         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
41250         * sysdeps/powerpc/preconfigure: Likewise.
41251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
41252         Likewise.
41253         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
41254         Replace contents of file by #include of <fenv_libc.h>.
41255         * sysdeps/powerpc/soft-fp/sfp-machine.h
41256         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
41257         and <sys/prctl.h>.
41258         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
41259         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
41260         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
41261         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
41262         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
41263         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
41264         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
41265         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
41266         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
41267         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
41268         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
41269         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
41270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41271         Allow copysignl PLT reference to be missing.
41273 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
41274             Joseph Myers  <joseph@codesourcery.com
41276         [BZ #15948]
41277         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
41278         single character.
41279         (add_to_tablewc): Assert sequence of wide characters is nonempty.
41281 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41283         * elf/tst-tls-dlinfo.c: Don't include tls.h.
41284         * elf/tst-tls1.c: Likewise.
41285         * elf/tst-tls10.h: Likewise.
41286         * elf/tst-tls14.c: Likewise.
41287         * elf/tst-tls2.c: Likewise.
41288         * elf/tst-tls3.c: Likewise.
41289         * elf/tst-tls4.c: Likewise.
41290         * elf/tst-tls5.c: Likewise.
41291         * elf/tst-tls6.c: Likewise.
41292         * elf/tst-tls7.c: Likewise.
41293         * elf/tst-tls8.c: Likewise.
41294         * elf/tst-tls9.c: Likewise.
41295         * elf/tst-tlsmod1.c: Likewise.
41296         * elf/tst-tlsmod13.c: Likewise.
41297         * elf/tst-tlsmod13a.c: Likewise.
41298         * elf/tst-tlsmod14a.c: Likewise.
41299         * elf/tst-tlsmod16a.c: Likewise.
41300         * elf/tst-tlsmod16b.c: Likewise.
41301         * elf/tst-tlsmod2.c: Likewise.
41302         * elf/tst-tlsmod3.c: Likewise.
41303         * elf/tst-tlsmod4.c: Likewise.
41304         * elf/tst-tlsmod5.c: Likewise.
41305         * elf/tst-tlsmod6.c: Likewise.
41307 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
41309         [BZ #12486]
41310         * malloc/malloc.c: remove checks for statistics.
41312 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41314         [BZ #15277]
41315         * inet/inet_net.c (inet_network): Detect additional invalid strings.
41316         * inet/tst-network.c: Add testcase.
41318 2013-10-17  Andreas Schwab  <schwab@suse.de>
41320         [BZ #15218]
41321         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
41322         to determine canonical name.
41324 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41326         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
41327         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
41328         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41329         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41330         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41331         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41332         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41333         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41334         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41335         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41336         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41337         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41338         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41339         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41340         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41341         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41342         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41343         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41344         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41345         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41346         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41347         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41348         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41349         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
41350         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
41351         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41352         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41353         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
41354         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41355         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
41356         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41357         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41358         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41359         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41360         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41361         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41362         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41363         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41364         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41365         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41366         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41367         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41368         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41369         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41370         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41371         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41372         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41373         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41374         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41375         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41376         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41377         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41378         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41379         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41380         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41381         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41382         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41383         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41385 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
41387         [BZ #16041]
41388         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
41389         make result into a quiet NaN.
41391 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
41393         * soft-fp/adddf3.c: Fix horizontal whitespace.
41394         * soft-fp/addsf3.c: Likewise.
41395         * soft-fp/addtf3.c: Likewise.
41396         * soft-fp/divdf3.c: Likewise.
41397         * soft-fp/divsf3.c: Likewise.
41398         * soft-fp/divtf3.c: Likewise.
41399         * soft-fp/double.h: Likewise.
41400         * soft-fp/eqdf2.c: Likewise.
41401         * soft-fp/eqsf2.c: Likewise.
41402         * soft-fp/eqtf2.c: Likewise.
41403         * soft-fp/extenddftf2.c: Likewise.
41404         * soft-fp/extended.h: Likewise.
41405         * soft-fp/extendsfdf2.c: Likewise.
41406         * soft-fp/extendsftf2.c: Likewise.
41407         * soft-fp/extendxftf2.c: Likewise.
41408         * soft-fp/fixdfdi.c: Likewise.
41409         * soft-fp/fixdfsi.c: Likewise.
41410         * soft-fp/fixdfti.c: Likewise.
41411         * soft-fp/fixsfdi.c: Likewise.
41412         * soft-fp/fixsfsi.c: Likewise.
41413         * soft-fp/fixsfti.c: Likewise.
41414         * soft-fp/fixtfdi.c: Likewise.
41415         * soft-fp/fixtfsi.c: Likewise.
41416         * soft-fp/fixtfti.c: Likewise.
41417         * soft-fp/fixunsdfdi.c: Likewise.
41418         * soft-fp/fixunsdfsi.c: Likewise.
41419         * soft-fp/fixunsdfti.c: Likewise.
41420         * soft-fp/fixunssfdi.c: Likewise.
41421         * soft-fp/fixunssfsi.c: Likewise.
41422         * soft-fp/fixunssfti.c: Likewise.
41423         * soft-fp/fixunstfdi.c: Likewise.
41424         * soft-fp/fixunstfsi.c: Likewise.
41425         * soft-fp/fixunstfti.c: Likewise.
41426         * soft-fp/floatdidf.c: Likewise.
41427         * soft-fp/floatdisf.c: Likewise.
41428         * soft-fp/floatditf.c: Likewise.
41429         * soft-fp/floatsidf.c: Likewise.
41430         * soft-fp/floatsisf.c: Likewise.
41431         * soft-fp/floatsitf.c: Likewise.
41432         * soft-fp/floattidf.c: Likewise.
41433         * soft-fp/floattisf.c: Likewise.
41434         * soft-fp/floattitf.c: Likewise.
41435         * soft-fp/floatundidf.c: Likewise.
41436         * soft-fp/floatundisf.c: Likewise.
41437         * soft-fp/floatunditf.c: Likewise.
41438         * soft-fp/floatunsidf.c: Likewise.
41439         * soft-fp/floatunsisf.c: Likewise.
41440         * soft-fp/floatunsitf.c: Likewise.
41441         * soft-fp/floatuntidf.c: Likewise.
41442         * soft-fp/floatuntisf.c: Likewise.
41443         * soft-fp/floatuntitf.c: Likewise.
41444         * soft-fp/fmadf4.c: Likewise.
41445         * soft-fp/fmasf4.c: Likewise.
41446         * soft-fp/fmatf4.c: Likewise.
41447         * soft-fp/gedf2.c: Likewise.
41448         * soft-fp/gesf2.c: Likewise.
41449         * soft-fp/getf2.c: Likewise.
41450         * soft-fp/ledf2.c: Likewise.
41451         * soft-fp/lesf2.c: Likewise.
41452         * soft-fp/letf2.c: Likewise.
41453         * soft-fp/muldf3.c: Likewise.
41454         * soft-fp/mulsf3.c: Likewise.
41455         * soft-fp/multf3.c: Likewise.
41456         * soft-fp/negdf2.c: Likewise.
41457         * soft-fp/negsf2.c: Likewise.
41458         * soft-fp/negtf2.c: Likewise.
41459         * soft-fp/op-1.h: Likewise.
41460         * soft-fp/op-2.h: Likewise.
41461         * soft-fp/op-4.h: Likewise.
41462         * soft-fp/op-8.h: Likewise.
41463         * soft-fp/op-common.h: Likewise.
41464         * soft-fp/quad.h: Likewise.
41465         * soft-fp/single.h: Likewise.
41466         * soft-fp/soft-fp.h: Likewise.
41467         * soft-fp/sqrtdf2.c: Likewise.
41468         * soft-fp/sqrtsf2.c: Likewise.
41469         * soft-fp/sqrttf2.c: Likewise.
41470         * soft-fp/subdf3.c: Likewise.
41471         * soft-fp/subsf3.c: Likewise.
41472         * soft-fp/subtf3.c: Likewise.
41473         * soft-fp/truncdfsf2.c: Likewise.
41474         * soft-fp/trunctfdf2.c: Likewise.
41475         * soft-fp/trunctfsf2.c: Likewise.
41476         * soft-fp/trunctfxf2.c: Likewise.
41477         * soft-fp/unorddf2.c: Likewise.
41478         * soft-fp/unordsf2.c: Likewise.
41479         * soft-fp/unordtf2.c: Likewise.
41481 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
41483         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
41484         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
41486 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
41488         * elf/dl-libc.c: Clear initfini list after freeing.
41490 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
41492         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
41493         * soft-fp/addsf3.c: Likewise.
41494         * soft-fp/addtf3.c: Likewise.
41495         * soft-fp/divdf3.c: Likewise.
41496         * soft-fp/divsf3.c: Likewise.
41497         * soft-fp/divtf3.c: Likewise.
41498         * soft-fp/double.h: Likewise.
41499         * soft-fp/eqdf2.c: Likewise.
41500         * soft-fp/eqsf2.c: Likewise.
41501         * soft-fp/eqtf2.c: Likewise.
41502         * soft-fp/extenddftf2.c: Likewise.
41503         * soft-fp/extended.h: Likewise.
41504         * soft-fp/extendsfdf2.c: Likewise.
41505         * soft-fp/extendsftf2.c: Likewise.
41506         * soft-fp/extendxftf2.c: Likewise.
41507         * soft-fp/fixdfdi.c: Likewise.
41508         * soft-fp/fixdfsi.c: Likewise.
41509         * soft-fp/fixdfti.c: Likewise.
41510         * soft-fp/fixsfdi.c: Likewise.
41511         * soft-fp/fixsfsi.c: Likewise.
41512         * soft-fp/fixsfti.c: Likewise.
41513         * soft-fp/fixtfdi.c: Likewise.
41514         * soft-fp/fixtfsi.c: Likewise.
41515         * soft-fp/fixtfti.c: Likewise.
41516         * soft-fp/fixunsdfdi.c: Likewise.
41517         * soft-fp/fixunsdfsi.c: Likewise.
41518         * soft-fp/fixunsdfti.c: Likewise.
41519         * soft-fp/fixunssfdi.c: Likewise.
41520         * soft-fp/fixunssfsi.c: Likewise.
41521         * soft-fp/fixunssfti.c: Likewise.
41522         * soft-fp/fixunstfdi.c: Likewise.
41523         * soft-fp/fixunstfsi.c: Likewise.
41524         * soft-fp/fixunstfti.c: Likewise.
41525         * soft-fp/floatdidf.c: Likewise.
41526         * soft-fp/floatdisf.c: Likewise.
41527         * soft-fp/floatditf.c: Likewise.
41528         * soft-fp/floatsidf.c: Likewise.
41529         * soft-fp/floatsisf.c: Likewise.
41530         * soft-fp/floatsitf.c: Likewise.
41531         * soft-fp/floattidf.c: Likewise.
41532         * soft-fp/floattisf.c: Likewise.
41533         * soft-fp/floattitf.c: Likewise.
41534         * soft-fp/floatundidf.c: Likewise.
41535         * soft-fp/floatundisf.c: Likewise.
41536         * soft-fp/floatunsidf.c: Likewise.
41537         * soft-fp/floatunsisf.c: Likewise.
41538         * soft-fp/floatuntidf.c: Likewise.
41539         * soft-fp/floatuntisf.c: Likewise.
41540         * soft-fp/floatuntitf.c: Likewise.
41541         * soft-fp/fmadf4.c: Likewise.
41542         * soft-fp/fmasf4.c: Likewise.
41543         * soft-fp/fmatf4.c: Likewise.
41544         * soft-fp/gedf2.c: Likewise.
41545         * soft-fp/gesf2.c: Likewise.
41546         * soft-fp/getf2.c: Likewise.
41547         * soft-fp/ledf2.c: Likewise.
41548         * soft-fp/lesf2.c: Likewise.
41549         * soft-fp/letf2.c: Likewise.
41550         * soft-fp/muldf3.c: Likewise.
41551         * soft-fp/mulsf3.c: Likewise.
41552         * soft-fp/multf3.c: Likewise.
41553         * soft-fp/negdf2.c: Likewise.
41554         * soft-fp/negsf2.c: Likewise.
41555         * soft-fp/negtf2.c: Likewise.
41556         * soft-fp/op-1.h: Likewise.
41557         * soft-fp/op-2.h: Likewise.
41558         * soft-fp/op-4.h: Likewise.
41559         * soft-fp/op-8.h: Likewise.
41560         * soft-fp/op-common.h: Likewise.
41561         * soft-fp/quad.h: Likewise.
41562         * soft-fp/single.h: Likewise.
41563         * soft-fp/soft-fp.h: Likewise.
41564         * soft-fp/sqrtdf2.c: Likewise.
41565         * soft-fp/sqrtsf2.c: Likewise.
41566         * soft-fp/sqrttf2.c: Likewise.
41567         * soft-fp/subdf3.c: Likewise.
41568         * soft-fp/subsf3.c: Likewise.
41569         * soft-fp/subtf3.c: Likewise.
41570         * soft-fp/truncdfsf2.c: Likewise.
41571         * soft-fp/trunctfdf2.c: Likewise.
41572         * soft-fp/trunctfsf2.c: Likewise.
41573         * soft-fp/trunctfxf2.c: Likewise.
41574         * soft-fp/unorddf2.c: Likewise.
41575         * soft-fp/unordsf2.c: Likewise.
41576         * soft-fp/unordtf2.c: Likewise.
41578 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
41580         [BZ #15672]
41581         * misc/error.c (error_tail): Fix possible buffer overflow.
41583 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
41585         [BZ #13028]
41586         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
41587         address.
41589 2013-10-14  P. J. McDermott  <pj@pehjota.net>
41591         [BZ #832]
41592         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
41593         testing pipefail option.
41595 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41597         * soft-fp/double.h: Indent preprocessor directives inside #if.
41598         * soft-fp/extended.h: Likewise.
41599         * soft-fp/op-2.h: Likewise.
41600         * soft-fp/op-4.h: Likewise.
41601         * soft-fp/op-common.h: Likewise.
41602         * soft-fp/quad.h: Likewise.
41603         * soft-fp/single.h: Likewise.
41604         * soft-fp/soft-fp.h: Likewise.
41606 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
41608         * iconv/iconv_prog.c: Fix typos.
41609         * stdio-common/psiginfo-data.h: Likewise.
41611 2013-10-12   Reuben Thomas <rrt@sc3d.org>
41613         [BZ #15764]
41614         * locale/setlocale.c: Fix typo.
41616 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41618         [BZ #16036]
41619         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
41620         signaling NaN arguments.
41621         * soft-fp/unordsf2.c (__unordsf2): Likewise.
41622         * soft-fp/unordtf2.c (__unordtf2): Likewise.
41624         [BZ #14910]
41625         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
41626         unordered operands.
41627         * soft-fp/gesf2.c (__gesf2): Likewise.
41628         * soft-fp/getf2.c (__getf2): Likewise.
41629         * soft-fp/ledf2.c (__ledf2): Likewise.
41630         * soft-fp/lesf2.c (__lesf2): Likewise.
41631         * soft-fp/letf2.c (__letf2): Likewise.
41633         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
41634         * soft-fp/eqsf2.c (__eqsf2): Likewise.
41635         * soft-fp/eqtf2.c (__eqtf2): Likewise.
41636         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
41637         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
41638         * soft-fp/fixdfti.c (__fixdfti): Likewise.
41639         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
41640         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
41641         * soft-fp/fixsfti.c (__fixsfti): Likewise.
41642         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
41643         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
41644         * soft-fp/fixtfti.c (__fixtfti): Likewise.
41645         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
41646         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
41647         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
41648         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
41649         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
41650         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
41651         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
41652         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
41653         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
41654         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
41655         * soft-fp/floatdisf.c (__floatdisf): Likewise.
41656         * soft-fp/floatsisf.c (__floatsisf): Likewise.
41657         * soft-fp/floattidf.c (__floattidf): Likewise.
41658         * soft-fp/floattisf.c (__floattisf): Likewise.
41659         * soft-fp/floattitf.c (__floattitf): Likewise.
41660         * soft-fp/floatundidf.c (__floatundidf): Likewise.
41661         * soft-fp/floatundisf.c (__floatundisf): Likewise.
41662         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
41663         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
41664         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
41665         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
41666         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
41667         * soft-fp/gesf2.c (__gesf2): Likewise.
41668         * soft-fp/getf2.c (__getf2): Likewise.
41669         * soft-fp/ledf2.c (__ledf2): Likewise.
41670         * soft-fp/lesf2.c (__lesf2): Likewise.
41671         * soft-fp/letf2.c (__letf2): Likewise.
41673         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
41674         Undefine and redefine.
41675         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
41676         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
41677         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
41678         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
41679         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41680         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
41681         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41682         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
41683         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41684         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
41685         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41686         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
41687         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41688         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
41689         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41691         [BZ #16032]
41692         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
41693         without decrementing exponent if mantissa >= that for the
41694         denominator, not >.
41695         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
41696         denominator, not >.  Decrement exponent in < case instead of
41697         incrementing in >= case.
41698         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
41699         without decrementing exponent if mantissa >= that for the
41700         denominator, not >.
41702         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
41703         computing saturated result for unsigned overflow.
41705 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41706             Jeff Law  <law@redhat.com>
41708         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
41709         (atan2Mp): Add systemtap probe marker.
41710         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
41711         (__ieee754_log): Add systemtap probe marker.
41712         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
41713         (atanMp): Add systemtap probe marker.
41714         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
41715         (tanMp): Add systemtap probe marker.
41716         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
41717         (__slowexp): Add systemtap probe marker.
41718         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
41719         (__slowpow): Add systemtap probe marker.
41720         * manual/probes.texi: Document probes.
41722 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
41724         [BZ #15362]
41725         * libio/fileops.c (_IO_new_file_write): Return count of bytes
41726         written.
41727         (_IO_new_file_xsputn): Don't return EOF if nothing has been
41728         written.
41729         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
41730         written to buffer but not flushed.
41731         * libio/iofwrite_u.c:  Likewise.
41732         * libio/iopadn.c:  Return bytes returned even if EOF was
41733         encountered.
41734         * libio/iowpadn.c:  Likewise.
41735         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
41736         if _IO_padn does not write the whole buffer.
41737         [!COMPILE_WPRINTF] (PAD): Likewise.
41739 2013-10-10  David S. Miller  <davem@davemloft.net>
41741         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
41742         directory block.
41744 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41746         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
41747         instead of FSF address.
41748         * soft-fp/fixdfti.c: Likewise.
41749         * soft-fp/fixsfti.c: Likewise.
41750         * soft-fp/fixtfti.c: Likewise.
41751         * soft-fp/fixunsdfti.c: Likewise.
41752         * soft-fp/fixunssfti.c: Likewise.
41753         * soft-fp/fixunstfti.c: Likewise.
41754         * soft-fp/floattidf.c: Likewise.
41755         * soft-fp/floattisf.c: Likewise.
41756         * soft-fp/floattitf.c: Likewise.
41757         * soft-fp/floatuntidf.c: Likewise.
41758         * soft-fp/floatuntisf.c: Likewise.
41759         * soft-fp/floatuntitf.c: Likewise.
41760         * soft-fp/trunctfxf2.c: Likewise.
41762         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
41763         * soft-fp/fixdfti.c: Likewise.
41764         * soft-fp/fixsfti.c: Likewise.
41765         * soft-fp/fixtfti.c: Likewise.
41766         * soft-fp/fixunsdfti.c: Likewise.
41767         * soft-fp/fixunssfti.c: Likewise.
41768         * soft-fp/fixunstfti.c: Likewise.
41769         * soft-fp/floattidf.c: Likewise.
41770         * soft-fp/floattisf.c: Likewise.
41771         * soft-fp/floattitf.c: Likewise.
41772         * soft-fp/floatuntidf.c: Likewise.
41773         * soft-fp/floatuntisf.c: Likewise.
41774         * soft-fp/floatuntitf.c: Likewise.
41775         * soft-fp/trunctfxf2.c: Likewise.
41777 2013-10-10  David S. Miller  <davem@davemloft.net>
41779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41781 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
41783         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41784         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
41785         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
41786         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
41787         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
41788         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
41789         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
41791         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
41792         for NaNs before doing comparisons on argument.
41793         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
41794         Likewise.
41796 2013-10-10  Will Newton  <will.newton@linaro.org>
41798         * malloc/hooks.c (memalign_check): Ensure the value of bytes
41799         passed to _int_memalign does not overflow.
41801 2013-10-10  Torvald Riegel  <triegel@redhat.com>
41803         * scripts/bench.pl: Add include-sources directive.
41804         * benchtests/README: Update documentation.
41806 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41808         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
41809         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
41810         instead of FP_INIT_ROUNDMODE.
41811         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
41812         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
41814         [BZ #16034]
41815         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
41816         copy class of input value.
41817         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
41818         not handle exceptions.
41819         * soft-fp/negsf2.c (__negsf2): Likewise.
41820         * soft-fp/negtf2.c (__negtf2): Likewise.
41821         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
41823 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
41825         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
41826         semicolon.  From Linux kernel.
41828 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
41830         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
41832 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
41834         [BZ #156]
41835         * manual/socket.texi: Added statement about buffer
41836         for gethostbyname2_r.
41838 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
41840         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
41841         Use .p2align directive instead, throughout.
41842         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41843         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41844         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
41845         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41846         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41847         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
41848         * sysdeps/x86_64/strchr.S: Likewise.
41849         * sysdeps/x86_64/strrchr.S: Likewise.
41851 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41853         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
41855         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
41857         * sysdeps/generic/math_private.h (__mpsin1): Remove
41858         declaration.
41859         (__mpcos1): Likewise.
41860         (__mpsin): New argument __range_reduce.
41861         (__mpcos): Likewise.
41862         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41863         (slow): Use __mpsin and __mpcos.
41864         (slow1): Likewise.
41865         (slow2): Likewise.
41866         (sloww): Likewise.
41867         (sloww1): Likewise.
41868         (sloww2): Likewise.
41869         (bsloww): Likewise.
41870         (bsloww1): Likewise.
41871         (bsloww2): Likewise.
41872         (cslow2): Likewise.
41873         (csloww): Likewise.
41874         (csloww1): Likewise.
41875         (csloww2): Likewise.
41876         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
41877         range_reduce.  Merge in __mpsin1.
41878         (__mpcos): Likewise.
41879         (__mpsin1): Remove.
41880         (__mpcos1): Likewise.
41882 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
41884         * locale/loadlocale.c (_nl_intern_locale_data): Use
41885         LOCFILE_ALIGNED_P.
41886         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
41887         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
41888         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
41889         obstack data is appropriately aligned.
41890         (obstack_int32_grow_fast): Likewise.
41891         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
41892         * locale/programs/locfile.c (add_locale_uint32): Likewise.
41893         (add_locale_uint32_array): Likewise.
41895 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41897         * benchtests/Makefile: Remove ARGLIST and RET variables.
41898         ($(objpfx)bench-%.c): Pass only function name to the script.
41899         * benchtests/README: Update documentation.
41900         * benchtests/acos-inputs: Add new directives.
41901         * benchtests/acosh-inputs: Likewise.
41902         * benchtests/asin-inputs: Likewise.
41903         * benchtests/asinh-inputs: Likewise.
41904         * benchtests/atan-inputs: Likewise.
41905         * benchtests/atanh-inputs: Likewise.
41906         * benchtests/cos-inputs: Likewise.
41907         * benchtests/cosh-inputs: Likewise.
41908         * benchtests/exp-inputs: Likewise.
41909         * benchtests/log-inputs: Likewise.
41910         * benchtests/pow-inputs: Likewise.
41911         * benchtests/rint-inputs: Likewise.
41912         * benchtests/sin-inputs: Likewise.
41913         * benchtests/sinh-inputs: Likewise.
41914         * benchtests/tan-inputs: Likewise.
41915         * benchtests/tanh-inputs: Likewise.
41916         * scripts/bench.pl: Add support for new directives.
41918 2013-10-07  Alan Modra  <amodra@gmail.com>
41920         * README: Fix careless merge.
41922 2013-10-05  Alan Modra  <amodra@gmail.com>
41924         * NEWS: Mention powerpc64le support and bugs fixed.
41925         * README: Both big-endian and little-endian powerpc64 supported.
41927 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41929         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
41930         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
41931         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
41932         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
41934 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
41936         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
41937         match prototype.
41939 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
41941         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
41942         Move -mhard-float appending from
41943         ports/sysdeps/powerpc/powerpc32/Makefile.
41944         [$(with-fp) = yes] (ASFLAGS): Likewise.
41945         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
41946         * sysdeps/powerpc/nofpu: Move directory from
41947         ports/sysdeps/powerpc/nofpu.
41948         * sysdeps/powerpc/soft-fp: Move directory from
41949         ports/sysdeps/powerpc/soft-fp.
41950         * sysdeps/powerpc/powerpc32/405: Move directory from
41951         ports/sysdeps/powerpc/powerpc32/405.
41952         * sysdeps/powerpc/powerpc32/440: Move directory from
41953         ports/sysdeps/powerpc/powerpc32/440.
41954         * sysdeps/powerpc/powerpc32/464: Move directory from
41955         ports/sysdeps/powerpc/powerpc32/464.
41956         * sysdeps/powerpc/powerpc32/476: Move directory from
41957         ports/sysdeps/powerpc/powerpc32/476.
41958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
41959         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
41960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
41961         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
41962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
41963         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
41964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
41965         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
41966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
41967         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
41968         * README: Update for powerpc-*-linux-gnu software floating point
41969         support in libc.
41971         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
41972         case to powerpc/powerpc32*.
41973         * sysdeps/unix/sysv/linux/configure: Regenerated.
41975         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
41976         (_FPU_MASK_OM): Define as 0x04.
41977         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
41978         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
41979         0x00c10080.
41980         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
41981         0x0000003c.
41982         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
41984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
41985         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41986         getcontext_e500.
41987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
41988         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41989         setcontext_e500.
41990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
41991         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
41992         and setcontext_e500.
41994 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
41996         * locale/iso-3166.def: Update iso-1366.def and related occurrences
41998 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42000         * manual/threads.texi (Default Thread Attributes): Fix typo.
42002 2013-10-04  Will Newton  <will.newton@linaro.org>
42004         * malloc/Makefile: Add tst-memalign.
42005         * malloc/tst-memalign.c: New file.
42007         * malloc/tst-posix_memalign.c: Add comments.
42008         (do_test): Add comments and call free on all potentially
42009         allocated pointers. Add space after cast.
42011         * malloc/tst-pvalloc.c: Add comments.
42012         (do_test): Add comments and call free on all potentially
42013         allocated pointers. Remove duplicate check for NULL pointer.
42014         Add space after cast.
42016         * malloc/tst-valloc.c: Add comments.
42017         (do_test): Add comments and call free on all potentially
42018         allocated pointers. Remove duplicate check for NULL pointer.
42019         Add space after cast.
42021 2013-10-04  Alan Modra  <amodra@gmail.com>
42023         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42024         Use stdint types in rather than __attribute__((mode())).
42025         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42027 2013-10-04  Alan Modra  <amodra@gmail.com>
42029         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42030         Correct handling of unaligned relocs for little-endian.
42031         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42033 2013-10-04  Alan Modra  <amodra@gmail.com>
42035         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
42036         * configure: Regenerate.
42037         * nptl/shlib-versions: Powerpc*le starts at 2.18.
42038         * shlib-versions: Likewise.
42040 2013-10-04  Alan Modra  <amodra@gmail.com>
42042         * string/tester.c (test_memrchr): Increment reported test cycle.
42044 2013-10-04  Alan Modra  <amodra@gmail.com>
42046         * string/test-memcpy.c (do_one_test): When reporting errors, print
42047         string address and don't overrun end of string.
42049 2013-10-04  Alan Modra  <amodra@gmail.com>
42051         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
42052         insrdi.  Make better use of reg selection to speed exit slightly.
42053         Schedule entry path a little better.  Remove useless "are we done"
42054         checks on entry to main loop.  Handle wrapping around zero address.
42055         Correct main loop count.  Handle single left-over word from main
42056         loop inline rather than by using loop_small.  Remove extra word
42057         case in loop_small caused by wrong loop count.  Add little-endian
42058         support.
42059         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42060         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
42061         cache hint.
42062         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42063         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
42064         support.  Avoid rlwimi.
42065         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
42067 2013-10-04  Alan Modra  <amodra@gmail.com>
42069         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
42070         insrdi.  Formatting.
42071         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
42072         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42073         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42074         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42075         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42076         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
42078 2013-10-04  Alan Modra  <amodra@gmail.com>
42080         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
42081         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42082         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42083         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
42084         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42085         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42086         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42087         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42088         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
42089         use of regs.  Use power7 mtocrf.  Tidy function tails.
42091 2013-10-04  Alan Modra  <amodra@gmail.com>
42093         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
42094         Formatting.  Consistently use rXXX register defines or rN defines.
42095         Use early exit labels that avoid restoring unused non-volatile regs.
42096         Make cr field use more consistent with rWORDn compares.  Rename
42097         regs used as shift registers for unaligned loop, using rN defines
42098         for short lifetime/multiple use regs.
42099         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42100         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
42101         addi 1,1,64 to pop stack frame.  Simplify return value code.
42102         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42104 2013-10-04  Alan Modra  <amodra@gmail.com>
42106         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
42107         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
42108         rather than rlwimi.
42109         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
42110         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
42111         little-endian support.  Correct typos.
42112         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
42113         rather than rlwimi.
42114         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
42115         in loop and entry code to keep "and." results.
42116         (strchr): Add little-endian support.  Comment.  Move cntlzd
42117         earlier in tail.
42118         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
42120 2013-10-04  Alan Modra  <amodra@gmail.com>
42122         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
42123         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
42124         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
42125         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
42127 2013-10-04  Alan Modra  <amodra@gmail.com>
42129         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
42130         (rTMP): Define as r11.
42131         (strcmp): Add little-endian support.  Optimise tail.
42132         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
42133         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42134         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42135         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42136         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42137         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42138         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42140 2013-10-04  Alan Modra  <amodra@gmail.com>
42142         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
42143         little-endian support.  Remove unnecessary "are we done" tests.
42144         Handle "s" wrapping around zero and extremely large "size".
42145         Correct main loop count.  Handle single left-over word from main
42146         loop inline rather than by using small_loop.  Correct comments.
42147         Delete "zero" tail, use "end_max" instead.
42148         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
42150 2013-10-04  Alan Modra  <amodra@gmail.com>
42152         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
42153         support.  Don't branch over align.
42154         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
42155         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
42156         support.  Rearrange tmp reg use to suit.  Comment.
42157         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
42159 2013-10-04  Alan Modra  <amodra@gmail.com>
42161         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
42163 2013-10-04  Alan Modra  <amodra@gmail.com>
42165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
42166         conditional form of branch and link when obtaining pc.
42167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42169 2013-10-04  Alan Modra  <amodra@gmail.com>
42171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
42172         HIWORD/LOWORD.
42173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
42174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
42176 2013-10-04  Alan Modra  <amodra@gmail.com>
42178         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
42179         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
42180         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42181         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
42182         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42183         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42184         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
42185         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42186         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42187         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
42189 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42190             Alistair Popple <alistair@ozlabs.au.ibm.com>
42191             Alan Modra <amodra@gmail.com>
42193         [BZ #15723]
42194         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
42195         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
42196         _dl_hwcap access for little-endian.
42197         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
42198         destroy vmx regs when saving unaligned.
42199         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
42200         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
42201         destroy vmx regs when saving unaligned.
42203 2013-10-04  Alan Modra  <amodra@gmail.com>
42205         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
42206         Don't use a union to pack hi/low value.
42208 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42210         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
42211         for little-endian.
42212         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42213         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
42214         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42215         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42216         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42218 2013-10-04  Alan Modra  <amodra@gmail.com>
42220         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
42221         constants to usual value for .cst8 section, and remove redundant
42222         high address load.
42223         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
42224         constant for 0x1p52.  Load little-endian words of double from
42225         correct stack offsets.
42227 2013-10-04  Alan Modra  <amodra@gmail.com>
42229         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
42230         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
42231         words of double from correct stack offsets.
42232         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42233         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
42234         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42235         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42236         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42237         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42238         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42239         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42240         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42241         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42242         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42243         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42244         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42245         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42246         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42247         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
42248         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42250 2013-10-04  Alan Modra  <amodra@gmail.com>
42252         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
42253         64-bit int/double union.
42254         (_FPU_SETCW): Likewise.
42255         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
42256         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
42258 2013-10-04  Alan Modra  <amodra@gmail.com>
42260         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
42261         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
42263 2013-10-04  Alan Modra  <amodra@gmail.com>
42265         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
42266         use vector int constants.
42267         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
42269 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42271         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
42272         array with long long.
42273         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
42274         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
42275         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
42276         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
42277         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
42278         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
42279         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
42280         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
42281         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
42282         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
42283         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
42284         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
42285         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
42287 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42289         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
42290         (__signbit): Likewise.  Correct for little-endian.
42291         (__signbitl): Call __signbit.
42292         (lrint): Correct for little-endian.
42293         (lrintf): Call lrint.
42295 2013-10-04  Alan Modra  <amodra@gmail.com>
42297         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
42298         union 32-bit int array member with 64-bit int array.
42299         (t515, tm256): Double rather than long double.
42300         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
42302 2013-10-04  Alan Modra  <amodra@gmail.com>
42304         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
42305         Delete.
42306         (IEEE854_LONG_DOUBLE_BIAS): Delete.
42307         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
42308         version of math_ldbl.h.
42310 2013-10-04  Alan Modra  <amodra@gmail.com>
42312         [BZ #15734], [BZ #15735]
42313         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
42314         all uses of ieee875 long double macros and unions.  Simplify test
42315         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
42316         ldbl_extract_mantissa value for ix,iy exponents.  Properly
42317         normalize after ldbl_extract_mantissa, and don't add hidden bit
42318         already handled.  Don't treat low word of ieee854 mantissa like
42319         low word of IBM long double and mask off bit when testing for
42320         zero.
42321         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
42322         all uses of ieee875 long double macros and unions.  Simplify tests
42323         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
42324         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
42325         two1022, instead use their values.  Recognise that tests for large
42326         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
42327         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
42328         Rewrite all uses of ieee875 long double macros and unions.  Simplify
42329         test for 0.0L and nan.  Correct negation.
42330         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
42331         ieee875 long double macros and unions.  Correct output for large
42332         magnitude x.  Correct absolute value calculation.
42333         (__erfcl): Likewise.
42334         * math/libm-test.inc: Add tests for errors discovered in IBM long
42335         double versions of fmodl, remainderl, erfl and erfcl.
42337 2013-10-04  Alan Modra  <amodra@gmail.com>
42339         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
42340         all uses of ieee854 long double macros and unions.  Simplify tests
42341         for long doubles that are fully specified by the high double.
42342         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
42343         Likewise.
42344         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
42345         Remove dead code too.
42346         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
42347         (__ieee754_ynl): Likewise.
42348         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
42349         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
42350         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
42351         Remove dead code too.
42352         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
42353         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
42354         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
42355         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
42356         Simplify.
42357         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
42358         Simplify.
42359         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
42360         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
42361         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
42362         Comment on variable precision.
42363         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
42364         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42365         Likewise.
42366         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
42367         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42368         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42369         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
42370         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
42372 2013-10-04  Alan Modra  <amodra@gmail.com>
42374         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
42375         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
42376         all uses of ieee854 long double macros and unions.
42377         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
42378         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42379         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
42380         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
42381         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
42382         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42383         Likewise.
42384         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
42385         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42386         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
42387         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42388         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
42389         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
42390         Simplify sign and nan test too.
42391         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
42392         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
42393         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
42394         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
42395         Likewise.
42396         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42397         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
42398         Likewise.
42399         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42400         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
42401         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
42402         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
42403         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
42404         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
42406 2013-10-04  Alan Modra  <amodra@gmail.com>
42408         * stdio-common/printf_size.c (__printf_size): Don't use
42409         union ieee854_long_double in fpnum union.
42410         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
42411         signbit macro to retrieve sign from long double.
42412         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
42413         retrieve sign from long double.
42414         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
42415         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
42416         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
42417         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42418         * math/test-misc.c (main): Don't use union ieee854_long_double.
42420 2013-10-04  Alan Modra  <amodra@gmail.com>
42422         [BZ #15680]
42423         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
42424         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
42425         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
42426         calculation.  Remove unnecessary test for denormal exponent.
42427         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
42428         Correct handling of denormals.  Avoid undefined shift behaviour.
42429         Correct normalisation of low mantissa when low double is denormal.
42430         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
42431         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
42432         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
42433         Correct normalisation of low mantissa.  Test for overflow of high
42434         mantissa and normalise.
42435         (ldbl_nearbyint): Use more readable constant for two52.
42436         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
42437         (__mpn_construct_long_double): Fix test for overflow of high
42438         mantissa and correct normalisation.  Avoid undefined shift.
42440 2013-10-04  Alan Modra  <amodra@gmail.com>
42442         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42443         (union ibm_extended_long_double): Define as an array of ieee754_double.
42444         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
42445         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
42446         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
42447         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42448         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42449         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
42450         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42451         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42452         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42453         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
42454         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42456 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
42458         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
42459         page size instead of calling getpagesize.
42461         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
42462         (LOCFILE_ALIGN_MASK): Likewise.
42463         (LOCFILE_ALIGN_UP): Likewise.
42464         (LOCFILE_ALIGNED_P): Likewise.
42465         * locale/programs/ld-collate.c (collate_output): Use the new
42466         macros instead of __alignof__ (int32_t).
42467         * locale/weight.h (findidx): Likewise.
42469 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
42471         [BZ #431]
42472         * manual/string.texi: Fix strncat and wcsncat.
42474 2013-10-03  Brooks Moses  <bmoses@google.com>
42476         [BZ #15915]
42477         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
42478         * Makerules: ...here, and adjust associated comments.
42480 2013-10-02  Will Newton  <will.newton@linaro.org>
42482         * malloc/Makefile: Add tst-pvalloc.
42483         * malloc/tst-pvalloc.c: New file.
42485 2013-10-02  Will Newton  <will.newton@linaro.org>
42487         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
42488         improve test coverage.
42490 2013-10-02  Will Newton  <will.newton@linaro.org>
42492         * malloc/Makefile: Add tst-posix_memalign.
42493         * malloc/tst-posix_memalign.c: New file.
42495 2013-10-01  Eric Blake  <eblake@redhat.com>
42497         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
42498         Use __THROWNL rather than __THROW on static functions.
42500 2013-09-30  Petr Machata  <pmachata@redhat.com>
42502         * elf/elf.h (R_AARCH64_ABS16): New macro.
42503         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
42504         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
42505         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
42506         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
42507         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
42508         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
42509         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
42510         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
42511         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
42512         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
42513         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
42514         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
42515         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
42516         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
42517         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
42518         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
42519         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
42520         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
42521         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
42522         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
42523         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
42524         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
42525         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
42526         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
42527         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
42528         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
42529         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
42530         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
42531         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
42532         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
42533         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
42534         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
42535         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
42536         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
42537         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
42538         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
42539         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
42540         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
42541         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
42542         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
42543         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
42544         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
42545         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
42546         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
42547         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
42548         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
42549         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
42550         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
42551         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
42552         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
42553         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
42554         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
42555         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
42556         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
42557         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
42558         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
42559         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
42560         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
42561         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
42562         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
42563         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
42564         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
42565         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
42566         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
42567         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
42568         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
42569         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
42570         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
42571         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
42572         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
42573         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
42574         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
42575         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
42576         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
42577         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
42578         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
42579         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
42580         (R_AARCH64_TLSDESC_LDR): Likewise.
42581         (R_AARCH64_TLSDESC_ADD): Likewise.
42582         (R_AARCH64_TLSDESC_CALL): Likewise.
42584 2013-09-30  Andreas Schwab  <schwab@suse.de>
42586         [BZ #15048]
42587         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
42588         the nss database lookup.
42589         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42592 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
42594         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
42596 2013-09-28  P. J. McDermott  <pj@pehjota.net>
42598         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
42599         ${Bash-specific parameter/pattern/string} parameter expansion.
42600         * sysdeps/unix/make-syscalls.sh: Likewise.
42602 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42604         * sysdeps/sh/stackguard-macros.h: New file.
42606 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
42608         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42609         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
42610         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
42611         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
42612         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42613         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
42615 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42617         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
42618         Fix thread ID register.
42620 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
42622         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
42623         [POSIX || UNIX98]: Require rather than permitting all symbols from
42624         <time.h>.
42625         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
42626         element of struct sched_param.
42627         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
42628         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
42629         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
42630         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
42631         constant.
42633 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
42635         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
42636         argument calculation.
42638 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42640         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
42641         Expect macro.
42642         [POSIX] (pthread_attr_t): Do not require type.
42643         [POSIX] (pthread_cond_t): Likewise.
42644         [POSIX] (pthread_condattr_t): Likewise.
42645         [POSIX] (pthread_key_t): Likewise.
42646         [POSIX] (pthread_mutex_t): Likewise.
42647         [POSIX] (pthread_mutexattr_t): Likewise.
42648         [POSIX] (pthread_once_t): Likewise.
42649         [POSIX] (pthread_t): Likewise.
42650         [POSIX-based standards] (pthread_atfork): Expect function.
42652 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42653             Richard Sandiford  <richard@codesourcery.com>
42655         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
42656         (swap_endianness_p): New extern variable.
42657         (set_big_endian): New inline function.
42658         (maybe_swap_uint32): Likewise.
42659         (maybe_swap_uint32_array): Likewise.
42660         (maybe_swap_uint32_obstack): Likewise.
42661         * locale/programs/locfile.c: Include <stdbool.h>.
42662         (swap_endianness_p): New variable.
42663         (add_locale_uint32): Call maybe_swap_uint32.
42664         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
42665         (write_locale_data): Call maybe_swap_uint32_array.
42666         * locale/programs/ld-collate.c (obstack_int32_grow): Call
42667         maybe_swap_uint32.
42668         (obstack_int32_grow_fast): Likewise.
42669         (output_weightwc): Call maybe_swap_uint32_obstack.
42670         (collate_output): Likewise.
42671         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
42672         (OPT_LITTLE_ENDIAN): Likewise.
42673         (options): Add --little-endian and --big-endian options.
42674         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
42675         * locale/programs/locarchive.c: Include "locfile.h".
42676         (GET): New macro.
42677         (SET): Likewise.
42678         (INC): Likewise.
42679         (create_archive): Use the new macros to access fields of
42680         structures directly mapped from or written to locale archives.
42681         (oldlocrecentcmp): Likewise.
42682         (enlarge_archive): Likewise.
42683         (insert_name): Likewise.
42684         (add_alias): Likewise.
42685         (add_locale): Likewise.
42686         (delete_locales_from_archive): Likewise.
42687         (show_archive_content): Likewise.
42688         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
42689         locale data.
42691 2013-09-24  Roland McGrath  <roland@hack.frob.com>
42693         * manual/freemanuals.texi: Updated from (newly) canonical copy at
42694         http://www.gnu.org/doc/freemanuals.texi.
42695         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
42697 2013-09-24  Will Newton  <will.newton@linaro.org>
42699         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
42700         macro.
42702 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
42704         * locale/hashval.h (compute_hashval): Interpret bytes of key as
42705         unsigned char.
42707 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
42709         * manual/threads.texi (POSIX Threads): Fix a typo.
42711 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42713         [BZ #14547]
42714         * string/tst-strcoll-overflow.c: New test case.
42715         * string/Makefile (xtests): Add tst-strcoll-overflow.
42716         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
42717         cache if string sizes may cause integer overflow.
42719         [BZ #14547]
42720         * string/strcoll_l.c (coll_seq): New members rule, idx,
42721         save_idx and back_us.
42722         (get_next_seq_nocache): New function.
42723         (do_compare_nocache): New function.
42724         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
42725         when malloc fails.
42727 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
42729         [BZ #15754]
42730         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
42731         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
42732         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
42734         [BZ #15754]
42735         * elf/Makefile (tests): Add tst-ptrguard1.
42736         (tests-static): Add tst-ptrguard1-static.
42737         (tst-ptrguard1-ARGS): Define.
42738         (tst-ptrguard1-static-ARGS): Define.
42739         * elf/tst-ptrguard1.c: New file.
42740         * elf/tst-ptrguard1-static.c: New file.
42741         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
42742         * sysdeps/i386/stackguard-macros.h: Likewise.
42743         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42744         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42745         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42746         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42747         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42748         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42750 2013-09-23  Hector Marco  <hecmargi@upv.es>
42751             Ismael Ripoll  <iripoll@disca.upv.es>
42752             Carlos O'Donell  <carlos@redhat.com>
42754         [BZ #15754]
42755         * sysdeps/generic/stackguard-macros.h: Define
42756         __pointer_chk_guard_local and POINTER_CHK_GUARD.
42757         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
42758         Define __pointer_chk_guard_local.
42759         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
42760         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
42762 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
42764         [BZ #15859]
42765         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
42767 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
42769         * include/string.h (__ffs): Declare as hidden.
42770         * string/ffs.c (__ffs): Define as hidden.
42771         * sysdeps/i386/ffs.c (__ffs): Likewise.
42772         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
42773         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
42774         * sysdeps/s390/ffs.c (__ffs): Likewise.
42775         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
42777 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
42779         * NEWS: Mention malloc probes.
42781         * malloc/arena.c (new_heap): New memory_heap_new probe.
42782         (grow_heap): New memory_heap_more probe.
42783         (shrink_heap): New memory_heap_less probe.
42784         (heap_trim): New memory_heap_free probe.
42785         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
42786         (systrim): New memory_sbrk_less probe.
42787         * manual/probes.texi: Document them.
42789         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
42790         * manual/probes.texi: Document it.
42792         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
42793         (__libc_realloc): Add memory_realloc_retry probe.
42794         (__libc_memalign): Add memory_memalign_retry probe.
42795         (__libc_valloc): Add memory_valloc_retry probe.
42796         (__libc_pvalloc): Add memory_pvalloc_retry probe.
42797         (__libc_calloc): Add memory_calloc_retry probe.
42798         * manual/probes.texi: Document them.
42800         * malloc/arena.c (get_free_list): Add probe
42801         memory_arena_reuse_free_list.
42802         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
42803         and memory_arena_reuse.
42804         (arena_get2) [!PER_THREAD]: Likewise.
42805         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
42806         memory_arena_reuse_realloc.
42807         * manual/probes.texi: Document them.
42809         * malloc/malloc.c (__libc_free): Add
42810         memory_mallopt_free_dyn_thresholds probe.
42811         (__libc_mallopt): Add multiple memory_mallopt probes.
42812         * manual/probes.texi: Document them.
42814         * malloc/malloc.c: Include stap-probe.h.
42815         (__libc_mallopt): Add memory_mallopt probe.
42816         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
42817         * manual/probes.texi: New.
42818         * manual/Makefile (chapters): Add probes.
42819         * manual/threads.texi: Set next node.
42821 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
42823         [BZ #15963, #13985]
42824         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
42825         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
42826         Add `Chinese' to `nan' entry name.
42828 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42830         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
42831         (POLYNOMIAL): Likewise.
42832         (TAYLOR_SINCOS): Likewise.
42833         (TAYLOR_SLOW): Likewise.
42834         (__sin): Use TAYLOR_SINCOS.
42835         (__cos): Likewise.
42836         (slow): Use TAYLOR_SLOW.
42837         (sloww): Likewise.
42838         (bsloww): Likewise.
42839         (csloww): Likewise.
42841 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42843         * stdlib/strtod_l.c: Fix buffer overrun.
42845 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42847         * benchtests/Makefile (bench): Add sincos.
42848         * benchtests/bench-sincos.c: New file.
42850         * math/libm-test.inc (cos_test_data): New test inputs.
42851         (sin_test_data): Likewise.
42853         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
42854         macro.
42855         (__sin): Use it.
42856         (__cos): Likewise.
42857         (slow1): Likewise.
42858         (slow2): Likewise.
42859         (sloww1): Likewise.
42860         (sloww2): Likewise.
42861         (bsloww1): Likewise.
42862         (bsloww2): Likewise.
42863         (cslow2): Likewise.
42864         (csloww1): Likewise.
42865         (csloww2): Likewise.
42867         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
42868         function.
42869         (__sin): Use it.
42870         (__cos): Likewise.
42872         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
42873         gotos.
42874         (__cos): Likewise.
42876 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
42878         * config.h.in (HAVE_MIPS_NAN2008): New macro.
42879         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
42880         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
42881         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
42882         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
42883         * elf/cache.c (print_entry): Handle the new cache flags.
42885 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42886             Aldy Hernandez  <aldyh@redhat.com>
42888         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
42889         Change condition to [_SOFT_FLOAT].
42890         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
42891         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
42892         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
42893         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
42894         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
42895         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
42896         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
42897         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
42898         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
42899         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
42900         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
42901         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
42902         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
42903         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
42904         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
42905         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
42906         declaration.
42908 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42910         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
42911         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42912         (__longjmp): Use LOAD_GP to load saved GPRs.
42913         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
42914         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42915         (__sigsetjmp): Use SAVE_GP to save GPRs.
42917         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
42918         Do not append -msoft-float.
42919         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
42921 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42923         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
42925 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
42927         [BZ #15966]
42928         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
42929         (_FPU_GETCW): Use initial "__" on variable and field names but not
42930         on macro parameter name.
42931         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
42932         parentheses around reference to macro parameter.
42934 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
42936         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
42937         prototype.
42938         (ctype_startup): Use uint32_t in cast and sizeof for
42939         ctype->charnames.
42941 2013-09-11  Jia Liu  <proljc@gmail.com>
42943         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
42944         __daddr_t_defined.
42945         [__FreeBSD__]: Likewise.
42947 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
42949         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
42950         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
42951         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
42952         (strchr): Remove __strchr_sse42 ifunc selection.
42953         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
42954         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
42956 2013-09-11  Will Newton  <will.newton@linaro.org>
42958         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
42959         parameter to RES. Remove hardcoded 1000 value.
42960         * benchtests/bench-skeleton.c (main): Pass RES parameter
42961         to TIMING_INIT and multiply result by 1000.
42963 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42967 2013-09-11  Andreas Schwab  <schwab@suse.de>
42969         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
42970         if not defined.
42971         (O_TMPFILE) [__USE_GNU]: Define.
42972         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
42973         Define.
42975 2013-09-11  Will Newton  <will.newton@linaro.org>
42977         [BZ #15857]
42978         * malloc/malloc.c (__libc_memalign): Check the value of bytes
42979         does not overflow.
42981 2013-09-11  Will Newton  <will.newton@linaro.org>
42983         [BZ #15856]
42984         * malloc/malloc.c (__libc_valloc): Check the value of bytes
42985         does not overflow.
42987 2013-09-11  Will Newton  <will.newton@linaro.org>
42989         [BZ #15855]
42990         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
42991         does not overflow.
42993 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
42995         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
42996         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42997         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42998         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42999         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43001 2013-09-10  Allan McRae  <allan@archlinux.org>
43003         [BZ #15748]
43004         * manual/arith.texi (Parsing of Floats): Clarify
43005         cross-reference.
43007         [BZ #15849]
43008         * manual/install.texi (Running make install): Mention
43009         --enable-pt-chown.
43010         * INSTALL: Regenerated.
43012 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
43014         * csu/init-first.c (_init): Remove the !SHARED condition around
43015         FPU control word initialization.
43016         * elf/dl-support.c (_dl_fpu_control): New variable.
43017         (_dl_aux_init) <AT_FPUCW>: Initialize it.
43018         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
43019         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
43020         * math/test-fpucw-static.c: New file.
43021         * math/test-fpucw-ieee.c: New file.
43022         * math/test-fpucw-ieee-static.c: New file.
43023         * math/Makefile (tests): Add `test-fpucw-ieee' and
43024         `$(tests-static)'.
43025         (tests-static): New variable.
43026         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
43027         dependency to...
43028         [($(build-shared),yes)]
43029         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43030         ... this.
43031         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
43032         New dependency.
43034 2013-09-09  Allan McRae  <allan@archlinux.org>
43036         [BZ #15939]
43037         * manual/string.texi (Collation Functions): Fix typo in
43038         strcoll example.
43039         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
43041         [BZ #15893]
43042         * stdlib/isomac.c (get_null_defines): Fix memory leak.
43044         [BZ #15892]
43045         * libio/memstream.c (open_memstream): Fix memory leak.
43046         * libio/wmemstream.c (open_wmemstream): Likewise.
43048         [BZ #15895]
43049         * nscd/netgroupcache.c: Fix nesting of ifdefs.
43051 2013-09-09  Will Newton  <will.newton@linaro.org>
43053         * malloc/Makefile: Add tst-realloc to tests.
43054         * malloc/tst-realloc.c: New file.
43056 2013-09-09  Allan McRae  <allan@archlinux.org>
43058         [BZ #15844]
43059         * COPYING: Update from GNU website to fix FSF address.
43060         * COPYING.LIB: Likewise.
43062 2013-09-06  David S. Miller  <davem@davemloft.net>
43064         * po/zh_TW.po: Update Chinese (traditional) translation from
43065         translation project.
43067 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
43068             Joseph Myers  <joseph@codesourcery.com>
43070         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
43071         "localeinfo.h".
43072         (obstack_chunk_alloc): New macro.
43073         (obstack_chunk_free): Likewise.
43074         (record_offset): New function.
43075         (init_locale_data): Likewise.
43076         (align_locale_data): Likewise.
43077         (add_locale_empty): Likewise.
43078         (add_locale_raw_data): Likewise.
43079         (add_locale_raw_obstack): Likewise.
43080         (add_locale_string): Likewise.
43081         (add_locale_wstring): Likewise.
43082         (add_locale_uint32): Likewise.
43083         (add_locale_uint32_array): Likewise.
43084         (add_locale_char): Likewise.
43085         (start_locale_structure): Likewise.
43086         (end_locale_structure): Likewise.
43087         (start_locale_prelude): Likewise.
43088         (end_locale_prelude): Likewise.
43089         (write_locale_data): Take locale_file structure rather than an
43090         iovec.
43091         * locale/programs/locfile.h: Include "obstack.h".
43092         (struct locale_file): Change to store locale file contents instead
43093         of header.
43094         (init_locale_data): New prototype.
43095         (align_locale_data): Likewise.
43096         (add_locale_empty): Likewise.
43097         (add_locale_raw_data): Likewise.
43098         (add_locale_raw_obstack): Likewise.
43099         (add_locale_string): Likewise.
43100         (add_locale_wstring): Likewise.
43101         (add_locale_uint32): Likewise.
43102         (add_locale_uint32_array): Likewise.
43103         (add_locale_char): Likewise.
43104         (start_locale_structure): Likewise.
43105         (end_locale_structure): Likewise.
43106         (start_locale_prelude): Likewise.
43107         (end_locale_prelude): Likewise.
43108         (write_locale_data): Update prototype.
43109         * locale/programs/3level.h (struct TABLE): Remove result field.
43110         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
43111         Use new locale_file interface.
43112         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
43113         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
43114         * locale/programs/ld-address.c (address_output): Use new
43115         locale_file interface.
43116         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
43117         NO_ADD_LOCALE.
43118         (collate_finish): Don't call collseq_table_finalize.
43119         (collate_output): Use new locale_file interface.
43120         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
43121         in file.
43122         (NO_FINALIZE): Change to NO_ADD_LOCALE.
43123         (TABLE): Move defines earlier in file.
43124         (ELEMENT): Likewise.
43125         (DEFAULT): Likewise.
43126         (wctrans_table_add): Move macro and inline function earlier in
43127         file.
43128         (struct wctype_table): Move type earlier in file.
43129         (add_locale_wctype_table): New static prototype.
43130         (struct locale_ctype_t): Use logical types instead of struct iovec
43131         pointers for members.
43132         (ctype_output): Use new locale_file interface.
43133         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
43134         new locale_file interface.
43135         (allocate_arrays): Update for use of new locale_file interface.
43136         * locale/programs/ld-identification.c (identification_output): Use
43137         new locale_file interface.
43138         * locale/programs/ld-measurement.c (measurement_output): Likewise.
43139         * locale/programs/ld-messages.c (messages_output): Likewise.
43140         * locale/programs/ld-monetary.c (monetary_output): Likewise.
43141         * locale/programs/ld-name.c (name_output): Likewise.
43142         * locale/programs/ld-numeric.c (numeric_output): Likewise.
43143         * locale/programs/ld-paper.c (paper_output): Likewise.
43144         * locale/programs/ld-telephone.c (telephone_output): Likewise.
43145         * locale/programs/ld-time.c (time_output): Likewise.
43147 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43149         * benchtests/Makefile: Add memrchr benchmark.
43150         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
43151         benchmark as memrchr.
43152         * benchtests/bench-memrchr-ifunc.c: New file.
43153         * benchtests/bench-memrchr.c: New file.
43155 2013-09-06   Will Newton  <will.newton@linaro.org>
43157         * benchtests/Makefile (string-bench): Add memcpy.
43159 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
43160             Cong Wang  <amwang@redhat.com>
43162         [BZ #15850]
43163         * sysdeps/unix/sysv/linux/bits/in.h
43164         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
43165         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
43166         before __USE_KERNEL_IPV6_DEFS uses.
43167         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
43168         IPPROTO_BEETPH.
43169         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
43170         sockaddr_in6, or ipv6_mreq.
43172 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43174         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
43175         memory access for final bytes in some large inputs.
43176         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
43178 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43180         * string/test-memrchr.c: New file.
43181         * string/test-memrchr-ifunc.c: New file.
43182         * string/Makefile: Add new memrchr testcase.
43184 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
43186         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
43187         fanotify_init returns EPERM.
43189 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43191         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
43192         errors.
43193         (top level): Treat second token from macro or constant entries for
43194         allowed headers as allowed.
43195         * include/complex.h: Condition internal declarations on
43196         [!_ISOMAC].
43197         * include/fenv.h: Condition include of <stdbool.h> and internal
43198         declarations on [!_ISOMAC].
43200 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
43202         [BZ #15923]
43203         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
43205 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43207         * configure.in (--enable-versioning): Remove configure option.
43208         (libc_cv_asm_symver_directive): Remove configure test.
43209         (libc_cv_ld_version_script_option): Likewise.
43210         (VERSIONING): Remove variable and AC_SUBST.
43211         (DO_VERSIONING): Remove AC_DEFINE.
43212         * configure: Regenerated.
43213         * config.h.in (DO_VERSIONING): Remove macro.
43214         * Makerules [$(versioning) = yes]: Change conditionals to
43215         [$(build-shared) = yes].
43216         * config.make.in (versioning): Remove variable.
43217         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
43218         [$(build-shared) = yes].
43219         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
43220         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
43221         * elf/Makefile [$(versioning) = yes]: Change conditionals to
43222         [$(build-shared) = yes].
43223         * extra-lib.mk [$(versioning) = yes]: Likewise.
43224         * hurd/Makefile [$(versioning) = yes]: Likewise.
43225         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
43226         [SHARED].
43227         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
43228         [SHARED].
43229         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43230         [SHARED && !NO_HIDDEN].
43231         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
43232         [SHARED].
43233         [SHARED && DO_VERSIONING]: Likewise..
43234         * libio/Makefile [$(versioning) = yes]: Change conditionals to
43235         [$(build-shared) = yes].
43236         * manual/install.texi (--disable-versioning): Remove
43237         documentation.
43238         * INSTALL: Regenerated.
43239         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
43240         to [SHARED].
43241         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
43242         [$(build-shared) = yes].
43243         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
43244         * sysdeps/i386/i686/multiarch/strstr-c.c
43245         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43246         [SHARED && !NO_HIDDEN].
43247         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
43248         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
43249         * sysdeps/powerpc/powerpc32/dl-machine.c
43250         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
43251         * sysdeps/powerpc/powerpc32/sysdep.h
43252         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
43253         to [SHARED && PIC && !NO_HIDDEN].
43254         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
43255         conditional to [SHARED].
43257 2013-09-04   Will Newton  <will.newton@linaro.org>
43259         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
43260         * benchtests/bench-string.h: Include bench-timing.h instead
43261         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
43262         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
43263         call to HP_TIMING_DIFF_INIT.
43264         * benchtests/bench-memccpy.c: Use bench-timing.h macros
43265         instead of hp-timing.h macros.
43266         * benchtests/bench-memchr.c: Likewise.
43267         * benchtests/bench-memcmp.c: Likewise.
43268         * benchtests/bench-memcpy.c: Likewise.
43269         * benchtests/bench-memmem.c: Likewise.
43270         * benchtests/bench-memmove.c: Likewise.
43271         * benchtests/bench-memset.c: Likewise.
43272         * benchtests/bench-rawmemchr.c: Likewise.
43273         * benchtests/bench-strcasecmp.c: Likewise.
43274         * benchtests/bench-strcasestr.c: Likewise.
43275         * benchtests/bench-strcat.c: Likewise.
43276         * benchtests/bench-strchr.c: Likewise.
43277         * benchtests/bench-strcmp.c: Likewise.
43278         * benchtests/bench-strcpy.c: Likewise.
43279         * benchtests/bench-strcpy_chk.c: Likewise.
43280         * benchtests/bench-strlen.c: Likewise.
43281         * benchtests/bench-strncasecmp.c: Likewise.
43282         * benchtests/bench-strncat.c: Likewise.
43283         * benchtests/bench-strncmp.c: Likewise.
43284         * benchtests/bench-strncpy.c: Likewise.
43285         * benchtests/bench-strnlen.c: Likewise.
43286         * benchtests/bench-strpbrk.c: Likewise.
43287         * benchtests/bench-strrchr.c: Likewise.
43288         * benchtests/bench-strspn.c: Likewise.
43289         * benchtests/bench-strstr.c: Likewise.
43291 2013-09-04  Will Newton  <will.newton@linaro.org>
43293         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
43295 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
43297         [BZ #15427]
43298         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
43299         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
43300         * math/libm-test.inc (lgamma_test_data): Add more tests.
43301         * sysdeps/i386/fpu/libm-test-ulps: Update.
43302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43304 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
43306         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
43307         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43308         Add ifunc.
43309         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43310         Add strcmp-sse2-unaligned
43311         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
43313 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43315         * Versions.def (libc): Add GLIBC_2.19.
43317 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43319         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
43320         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
43322 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
43324         [BZ #14155]
43325         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
43326         intermediate calculations in recurrence.
43327         (__ieee754_ynf): Likewise.
43328         * math/libm-test.inc (jn_test_data): Do not allow spurious
43329         underflow exception.  Add more tests.
43330         (yn_test_data): Add more tests.
43331         * sysdeps/i386/fpu/libm-test-ulps: Update.
43332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43334 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
43336         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
43338 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43340         * csu/init-first.c: Fix then/than typos.
43341         * locale/programs/ld-collate.c: Likewise.
43342         * locale/programs/linereader.h: Likewise.
43343         * manual/charset.texi: Likewise.
43344         * manual/filesys.texi: Likewise.
43345         * manual/stdio.texi: Likewise.
43346         * manual/string.texi: Likewise.
43347         * stdlib/fmtmsg.c: Likewise.
43348         * sysdeps/i386/stpncpy.S: Likewise.
43349         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43350         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43351         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43352         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43354 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43356         * elf/dl-open.c: Fix typos.
43357         * iconvdata/gbbig5.c: Likewise.
43358         * iconvdata/iso-2022-jp.c: Likewise.
43359         * iconv/gconv_int.h: Likewise.
43360         * iconv/loop.c: Likewise.
43361         * nis/rpcsvc/nis.h: Likewise.
43362         * resolv/ns_name.c: Likewise.
43363         * stdio-common/vfscanf.c: Likewise.
43364         * streams/stropts.h: Likewise.
43365         * sunrpc/rpc_thread.c: Likewise.
43366         * sysdeps/i386/strpbrk.S: Likewise.
43367         * sysdeps/ieee754/k_standard.c: Likewise.
43368         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43369         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43370         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
43371         * sysdeps/mach/hurd/profil.c: Likewise.
43372         * sysdeps/s390/dl-procinfo.h: Likewise.
43373         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
43374         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43375         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
43376         * sysdeps/x86_64/dl-trampoline.S: Likewise.
43377         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43379 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
43381         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
43382         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
43384 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
43386         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
43387         aix specific files.
43388         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
43389         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
43390         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
43391         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
43392         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
43393         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
43394         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
43395         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
43397 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43398             Roland McGrath  <roland@hack.frob.com>
43400         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
43401         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
43403 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43405         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
43406         __executable_start symbol instead of _start.
43408 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43410         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
43411         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
43412         Move macros to...
43413         * sysdeps/gnu/ldsodefs.h: ... this new file.
43415         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
43416         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
43417         instead of ELFOSABI_LINUX.
43419         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
43420         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
43421         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
43422         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
43423         Likewise.
43424         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
43425         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
43426         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
43427         Likewise.
43428         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43429         (ibm_extended_long_double): Add ieee_nan member.
43430         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
43431         (do_test): New function.
43433         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
43434         TEST_TRUNC.
43435         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
43436         functions, renamed from truncdfsf_test, trunctfsf_test,
43437         trunctfdf_test.
43438         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
43439         functions.
43440         (do_test): Run all these.
43442 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
43444         * argp/argp-help.c: Fix typos.
43445         * argp/argp-parse.c: Likewise.
43446         * debug/backtracesyms.c: Likewise.
43447         * elf/elf.h: Likewise.
43448         * malloc/malloc.c: Likewise.
43449         * nis/nis_print.c: Likewise.
43450         * resolv/res_comp.c: Likewise.
43451         * stdlib/stdlib.h: Likewise.
43452         * sunrpc/clnt_tcp.c: Likewise.
43453         * sunrpc/clnt_udp.c: Likewise.
43454         * sunrpc/clnt_unix.c: Likewise.
43455         * sysdeps/unix/bsd/ptsname.c: Likewise.
43456         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43457         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
43458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
43459         Likewise.
43460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
43461         Likewise.
43462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
43463         Likewise.
43464         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43466 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43468         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
43469         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43471 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
43473         [BZ #15897]
43474         * dlfcn/Makefile (tests): Add bug-dl-leaf.
43475         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
43476         ($(objpfx)bug-dl-leaf): New rule.
43477         ($(objpfx)bug-dl-leaf.so): Likewise.
43478         ($(objpfx)bug-dl-leaf.out): Likewise.
43479         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
43480         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
43481         * dlfcn/bug-dl-leaf.c: New test.
43482         * dlfcn/bug-dl-leaf-lib.c: Likewise.
43483         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
43484         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
43485         (dlclose): Likewise.
43486         (dlmopen): Likewise.
43488 2013-08-27  Roland McGrath  <roland@hack.frob.com>
43490         * include/netdb.h [!_ISOMAC]:
43491         Don't include <tls.h>.
43492         (h_errno, __libc_h_errno): Move declaration and macros out of
43493         [_LIBC_REENTRANT].
43495         * include/resolv.h [_RESOLV_H_]:
43496         Don't include <tls.h>.
43497         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
43498         * resolv/res_libc.c: Don't include <tls.h>.
43499         (_res): Use __attribute__ ((nocommon)) in place of
43500         __attribute__ ((section (".bss"))).
43502         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
43503         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
43505         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
43507         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
43508         only under [SIOCGIFCONF && SIOCGIFNETMASK].
43510         * resolv/res_mkquery.c: Include <sys/time.h>.
43512         * inet/ifreq.c: Moved to ...
43513         * sysdeps/unix/ifreq.c: ... here.
43514         * inet/ifreq.c: New file, true stub version.
43516         * socket/sa_len.c: New file.
43517         * socket/Makefile (aux): Add it.
43518         * sysdeps/unix/sysv/linux/Makefile
43519         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
43520         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
43521         and #include <socket/sa_len.c>.
43522         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
43523         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
43525         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
43526         * bits/socket.h: ... here.
43528         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
43529         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
43530         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
43532 2013-08-27  Andreas Schwab  <schwab@suse.de>
43534         [BZ #15736]
43535         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
43536         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
43537         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
43538         * string/test-strcasecmp.c (test_main): Run tests in several
43539         locales.
43540         * string/test-strncasecmp.c (test_main): Likewise.
43542         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
43543         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
43544         to __strcasecmp_nonascii and __strncasecmp_nonascii.
43545         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
43546         (__strncasecmp_ssse3) [PIC]: Likewise.
43548 2013-08-26  Roland McGrath  <roland@hack.frob.com>
43550         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
43552         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
43553         instead of explicitly declaring xdecrypt.
43554         * nis/nss_nis/nis-publickey.c: Likewise.
43556 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43558         [BZ #15890]
43559         * nscd/aicache.c: Include res_hconf.h.
43560         (addhstaiX): Initialize res_hconf.
43562 2013-08-26  Andreas Schwab  <schwab@suse.de>
43564         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
43565         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
43567 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43569         * nscd/aicache.c (addhstaiX): Fix indentation.
43571 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
43573         * configure.ac: Quote $build_pt_chown test.
43574         * configure: Regenerated.
43576 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
43578         [BZ #15532]
43579         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
43580         * math/s_cexpf.c (__cexpf): Likewise.
43581         * math/s_cexpl.c (__cexpl): Likewise.
43582         * math/libm-test.inc (cexp_test_data): Correct expected return
43583         value for NaN + i0.  Add another test.
43585 2013-08-22  David S. Miller  <davem@davemloft.net>
43587         * po/ca.po: Update Catalan translation from translation project.
43588         * po/uk.po: Add Ukrainian translations from translation project.
43590 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
43592         [BZ #15797]
43593         * math/s_fdim.c (__fdim): Check for infinite arguments if result
43594         is infinite, not alongside NaN test.
43595         * math/s_fdimf.c (__fdimf): Likewise.
43596         * math/s_fdiml.c (__fdiml): Likewise.
43597         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
43598         errno is unchanged.
43600 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
43602         * argp/argp-help.c: Fix typos.
43603         * crypt/speeds.c: Likewise.
43604         * csu/check_fds.c: Likewise.
43605         * elf/dl-load.c: Likewise.
43606         * elf/dl-open.c: Likewise.
43607         * elf/reldep3.c: Likewise.
43608         * elf/reldep.c: Likewise.
43609         * elf/sprof.c: Likewise.
43610         * iconv/iconv_charmap.c: Likewise.
43611         * iconv/skeleton.c: Likewise.
43612         * iconv/strtab.c: Likewise.
43613         * io/lockf64.c: Likewise.
43614         * libio/libioP.h: Likewise.
43615         * resolv/gai_notify.c: Likewise.
43616         * resolv/ns_name.c: Likewise.
43617         * resolv/ns_samedomain.c: Likewise.
43618         * resolv/res_send.c: Likewise.
43619         * stdlib/random.c: Likewise.
43620         * sunrpc/rpc/xdr.h: Likewise.
43621         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
43622         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43623         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43624         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43625         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43626         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43627         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43628         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43629         * sysdeps/mach/hurd/check_fds.c: Likewise.
43630         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
43631         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43632         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43633         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
43634         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43635         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
43636         * sysdeps/pthread/aio_notify.c: Likewise.
43637         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
43638         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
43639         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
43640         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43641         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43643 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43645         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
43646         version if bit_Slow_SSE4_2 is set.
43647         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43648         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43650 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43652         [BZ #15867]
43653         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
43654         trampoline stack frame information.
43655         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
43656         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
43657         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
43658         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
43659         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
43660         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43661         (_libc_vdso_platform_setup): Initialize the signal trampolines.
43662         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
43663         sa_flags value.
43664         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
43665         interrupting a syscall and set with option SA_SIGINFO.
43667 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43669         [BZ #15531]
43670         * math/s_cproj.c (__cproj): Only return an infinity if one part of
43671         argument is infinite.
43672         * math/s_cprojf.c (__cprojf): Likewise.
43673         * math/s_cprojl.c (__cprojl): Likewise.
43674         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
43675         * math/libm-test.inc (cproj_test_data): Add more tests.
43677         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
43679         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
43680         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
43681         size.  Use __ffs to determine corresponding shift.
43683 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43684             Roland McGrath  <roland@hack.frob.com>
43686         * Makefile (INSTALL): Remove trailing blank lines from output of
43687         makeinfo.
43689 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43691         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
43692         Align 32 bit compat elf_greg to 8 bytes.
43694 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
43696         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
43698 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43700         * string/strcoll_l.c (coll_seq): New structure.
43701         (get_next_seq_cached): New function.
43702         (get_next_seq): New function.
43703         (do_compare): New function.
43704         (STRCOLL): Use GNU style definition.  Simplify implementation
43705         by using get_next_seq, get_next_seq_cached and do_compare.
43707 2013-08-16  Florian Weimer  <fweimer@redhat.com>
43709         [BZ #14699]
43710         CVE-2013-4237
43711         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
43712         member.
43713         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
43714         member.
43715         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
43716         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
43717         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
43718         conditional.
43719         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
43720         GETDENTS_64BIT_ALIGNED.
43721         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43722         * manual/filesys.texi (Reading/Closing Directory): Document
43723         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
43724         strongly.
43725         * manual/conf.texi (Limits for Files): Add portability note to
43726         NAME_MAX, PATH_MAX.
43727         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
43729 2013-08-13  Andreas Schwab  <schwab@suse.de>
43731         [BZ #15749]
43732         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
43733         of fabs.
43734         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
43735         LDBL_MAX_EXP >= 16384]: Add tests for it.
43737 2013-08-12  David S. Miller  <davem@davemloft.net>
43739         * version.h (RELEASE): Set to "development".
43740         (VERSION): Set to "2.18.90".
43741         * NEWS: Add 2.19 section.
43743 2013-08-03  David S. Miller  <davem@davemloft.net>
43745         * po/ko.po: Update Korean translation from translation project.
43747 2013-08-01  David S. Miller  <davem@davemloft.net>
43749         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
43750         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
43751         Bilka.
43753 2013-07-30  David S. Miller  <davem@davemloft.net>
43755         * po/fr.po: Update French translation from translation project.
43757 2013-07-28  David S. Miller  <davem@davemloft.net>
43759         * po/cs.po: Update Czech translation from translation project.
43761         * po/sv.po: Update Swedish translation from translation project.
43763 2013-07-27  David S. Miller  <davem@davemloft.net>
43765         * po/eo.po: Update Esperanto translation from translation project.
43767         * po/vi.po: Update Vietnamese translation from translation project.
43769         * po/de.po: Update German translation from translation project.
43771 2013-07-26  David S. Miller  <davem@davemloft.net>
43773         * po/bg.po: Update Bulgarian translation from translation project.
43775         * po/nl.po: Update Dutch translation from translation project.
43776         * po/pl.po: Update Polish translation from translation project.
43777         * po/ru.po: Update Russian translation from translation project.
43779 2013-07-24  David S. Miller  <davem@davemloft.net>
43781         * po/libc.pot: Update.
43783 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43785         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
43786         variable page size.
43787         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
43788         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
43789         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
43791 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43793         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
43795 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43796             Andreas Schwab  <schwab@suse.de>
43797             Roland McGrath  <roland@hack.frob.com>
43798             Joseph Myers  <joseph@codesourcery.com>
43799             Carlos O'Donell  <carlos@redhat.com>
43801         [BZ #15755]
43802         * config.h.in: Define HAVE_PT_CHOWN.
43803         * config.make.in (build-pt-chown): New variable.
43804         * configure.in (--enable-pt_chown): New configure option.
43805         * configure: Regenerate.
43806         * login/Makefile: Include Makeconfig.  Build pt_chown only if
43807         build-pt-chown is enabled.
43808         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
43809         pt_chown to fix pty ownership.
43810         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
43811         CLOSE_ALL_FDS.
43812         * manual/install.texi (Configuring and compiling): Mention
43813         --enable-pt_chown. Add @findex for grantpt.
43814         * INSTALL: Regenerate.
43816 2013-07-20  David S. Miller  <davem@davemloft.net>
43818         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
43819         difference between 32-bit and 64-bit.
43821 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
43823         [BZ #15711]
43824         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
43825         Avoid system header dependency with -ffreestanding.
43826         ($(objpfx)bits/syscall%d): Likewise.
43828 2013-07-13  David S. Miller  <davem@davemloft.net>
43830         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
43831         underflows from atanl/atan2l due to bug 15319.
43832         (casinh_test_data): Likewise.
43834 2013-07-07  David S. Miller  <davem@davemloft.net>
43836         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
43838 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
43840         * sysdeps/i386/fpu/libm-test-ulps: Update.
43841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43843 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43845         * configure.in (--enable-lock-elision): Fix message text.
43846         * INSTALL: Regenerate.
43847         * configure: Regenerate.
43849 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43853 2013-07-03  Andreas Jaeger  <aj@suse.de>
43855         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
43856         define.
43857         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
43858         (ptrace_peeksiginfo_args): Add.
43859         (__ptrace_peeksiginfo_flags): Add.
43860         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43861         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43862         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43864 2013-07-03  Allan McRae  <allan@archlinux.org>
43866         * sysdeps/i386/fpu/libm-test-ulps: Update.
43868 2013-07-02  David S. Miller  <davem@davemloft.net>
43870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43872 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
43874         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43876 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43878         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43881 2013-07-02  Andi Kleen <ak@linux.intel.com>
43883         * config.h.in (ENABLE_LOCK_ELISION): Add.
43884         * configure.in (--enable-lock-elision): Add option.
43885         * manual/install.texi: Document --enable lock elision.
43886         * configure: Regenerate
43887         * INSTALL: Regenerate.
43889 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
43891         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
43892         SSE4.2 strcasecmp for libc.a.
43893         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43895 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43897         [BZ #13304]
43898         * soft-fp/op-common.h (_FP_FMA): New macro.
43899         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
43900         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
43901         (_FP_MUL_MEAT_1_imm): ... here.
43902         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
43903         (_FP_MUL_MEAT_1_wide): ... here.
43904         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
43905         (_FP_MUL_MEAT_1_hard): ... here.
43906         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
43907         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
43908         (_FP_MUL_MEAT_2_wide): ... here.
43909         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
43910         (_FP_MUL_MEAT_2_wide_3mul): ... here.
43911         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
43912         (_FP_MUL_MEAT_2_gmp): ... here.
43913         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
43914         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
43915         (_FP_MUL_MEAT_4_wide): ... here.
43916         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
43917         (_FP_MUL_MEAT_4_gmp): ... here.
43918         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
43919         (_FP_WFRACBITS_DW_S): Likewise.
43920         (_FP_WFRACXBITS_DW_S): Likewise.
43921         (_FP_HIGHBIT_DW_S): Likewise.
43922         (FP_FMA_S): Likewise.
43923         (_FP_FRAC_HIGH_DW_S): Likewise.
43924         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
43925         (_FP_WFRACBITS_DW_D): Likewise.
43926         (_FP_WFRACXBITS_DW_D): Likewise.
43927         (_FP_HIGHBIT_DW_D): Likewise.
43928         (FP_FMA_D): Likewise.
43929         (_FP_FRAC_HIGH_DW_D): Likewise.
43930         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
43931         (_FP_WFRACBITS_DW_E): Likewise.
43932         (_FP_WFRACXBITS_DW_E): Likewise.
43933         (_FP_HIGHBIT_DW_E): Likewise.
43934         (FP_FMA_E): Likewise.
43935         (_FP_FRAC_HIGH_DW_E): Likewise.
43936         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
43937         (_FP_WFRACBITS_DW_Q): Likewise.
43938         (_FP_WFRACXBITS_DW_Q): Likewise.
43939         (_FP_HIGHBIT_DW_Q): Likewise.
43940         (FP_FMA_Q): Likewise.
43941         (_FP_FRAC_HIGH_DW_Q): Likewise.
43942         * soft-fp/fmasf4.c: New file.
43943         * soft-fp/fmadf4.c: Likewise.
43944         * soft-fp/fmatf4.c: Likewise.
43946 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43948         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43949         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
43950         Silvermont.
43951         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
43952         macro.
43953         (index_Slow_SSE4_2): Likewise.
43954         (index_Prefer_PMINUB_for_stringop): Likewise.
43955         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
43956         bit_Slow_SSE4_2 is set.
43957         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43958         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43960 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43962         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
43963         rtld_global._dl_hwcap2.
43964         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
43965         POWER8.
43966         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
43967         POWER8 feature descriptions defined in _dl_hwcap2.
43968         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
43969         string handling for POWER8 feature bits.
43970         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
43971         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
43972         _dl_powerpc_cap_flags.
43973         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
43974         * sysdeps/powerpc/rtld-global-offsets.sym
43975         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
43976         _dl_hwcap2 in the rtld_global_ro structure.
43978 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43980         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
43981         hardware capabilities in support of AT_HWCAP2.
43982         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
43983         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
43984         GLRO(dl_hwcap2).
43985         (_dl_show_auxv): Add support for calling _dl_procinfo to display
43986         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
43987         explicitly the unknown a_type display mechanism is used.
43988         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
43989         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
43990         struct member.
43991         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
43992         to macro prototype for AT_HWCAP2 support.
43993         * sysdeps/i386/dl-procinfo.h: Likewise.
43994         * sysdeps/s390/dl-procinfo.h: Likewise.
43995         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
43996         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
43997         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
43998         return -1 for unknown a_type display fallback.
43999         * sysdeps/sparc/dl-procinfo.h: Likewise.
44000         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
44001         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
44003 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
44005         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
44006         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
44008 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
44010         [BZ #12492]
44011         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
44012         mprotect making __stack_prot writable.
44014 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
44015             Joseph Myers  <joseph@codesourcery.com>
44017         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
44018         as being properly aligned.
44020 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
44022         * dlfcn/modstatic5.c: New file.
44023         * dlfcn/tststatic5.c: New file.
44024         * dlfcn/Makefile (tests): Add tststatic5.
44025         (tests-static): Likewise.
44026         (modules-names): Add modstatic5.
44027         (tststatic5-ENV): New variable.
44028         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
44030         [BZ #15022]
44031         * elf/dl-support.c (_dl_main_map): New variable.
44032         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
44033         (_dl_nns, _dl_load_adds): Set to 1.
44034         (_dl_initial_searchlist): Refer to _dl_main_map.
44035         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
44036         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
44037         call to _dl_get_origin.
44038         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
44039         around call_map.
44040         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
44041         * dlfcn/modstatic3.c: New file.
44042         * dlfcn/tststatic3.c: New file.
44043         * dlfcn/tststatic4.c: New file.
44044         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
44045         (tests-static): Likewise.
44046         (modules-names): Add modstatic3.
44047         (tststatic3-ENV, tststatic4-ENV): New variables.
44048         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
44049         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
44051 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
44053         * configure.in (CC): Require GCC version 4.4 or later.
44054         * configure: Regenerated.
44055         * manual/install.texi (Tools for Compilation): Update GCC version
44056         requirement.
44057         * INSTALL: Regenerated.
44059 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44061         [BZ #15674]
44062         * string/test-memcmp.c (check2): New.
44063         (main): Call check2.
44065         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
44067 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
44069         [BZ #15022]
44070         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
44071         over to...
44072         (dl_open_worker) [!SHARED]: ... here.
44074 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44076         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
44078 2013-06-25  Richard Henderson  <rth@redhat.com>
44080         * locale/programs/locarchive.c: Include <libc-internal.h>
44082 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
44084         * manual/texinfo.tex: Update to version 2013-06-21.17, with
44085         trailing whitespace removed.
44087 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44089         [BZ #10283]
44090         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
44091         * locale/programs/locarchive.c: Include libc-mmap.h.
44092         (prepare_address_space): Take two new outputs (the mmap base and len).
44093         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
44094         values.
44095         (create_archive): Declare new mmap base and len values for
44096         prepare_address_space, and store the result in ah.
44097         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
44098         (enlarge_archive): If ah->mmap_base is not NULL, use that and
44099         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44100         Declare new mmap base and len values for
44101         prepare_address_space, and store the result in new_ah.
44102         (open_archive): Declare new mmap base and len values for
44103         prepare_address_space, and store the result in ah.
44104         (close_archive): If ah->mmap_base is not NULL, use that and
44105         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44106         * sysdeps/generic/libc-mmap.h: New file.
44108 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44110         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
44111         (ALIGN_UP): Likewise.
44112         (PTR_ALIGN_DOWN): Likewise.
44113         (PTR_ALIGN_UP): Likewise.
44115 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44117         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
44118         entry mapped to PPC_PLATFORM_POWER8.
44119         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
44120         POWER8.
44121         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
44122         (_dl_string_platform): Add case for exporting platform position for
44123         POWER8.
44124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
44125         search path to sysdeps/powerpc/powerpc32/power8 directory.
44126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
44127         search path to sysdeps/powerpc/powerpc64/power8 directory.
44128         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
44129         power7 directories.
44130         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
44131         power7 directories.
44133 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44135         * INSTALL: Regenerate.
44137         * nscd/connections.c (nscd_init): Fix comment.
44139 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
44141         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
44143         [BZ #15667]
44144         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
44145         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
44147 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44149         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
44150         DL_DST_REQ_STATIC.
44151         (DL_DST_REQ_STATIC): Remove macro.
44153 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
44155         [BZ #7006]
44156         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
44157         with a shift of 0 bits.
44159 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44161         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
44162         $(tststatic-ENV).
44164 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44166         [BZ #15655]
44167         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
44169 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44171         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
44172         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
44173         accepts -fno-tree-loop-distribute-patterns.
44174         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
44175         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
44176         recursive call.
44177         * string/memset.c (memset): Likewise.
44178         * string/test-memmove.c (simple_memmove): Disable loop transformation
44179         to library calls.
44180         * string/test-memset.c (simple_memset): Likewise.
44181         * benchtests/bench-memmove.c (simple_memmove): Likewise.
44182         * benchtests/bench-memset.c (simple_memset): Likewise.
44183         * configure: Regenerated.
44185 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
44187         * math/test-misc.c (main): Ignore fesetround failure when failures
44188         of subsequent rounding tests would be ignored.
44190         [BZ #15654]
44191         * math/fedisblxcpt.c (fedisableexcept): Return 0.
44192         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
44193         * math/fegetenv.c (__fegetenv): Return 0.
44194         * math/fegetexcept.c (fegetexcept): Return 0.
44195         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
44196         FE_TONEAREST.
44197         * math/feholdexcpt.c (feholdexcept): Return 0.
44198         * math/fesetenv.c (__fesetenv): Return 0.
44199         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
44200         argument FE_TONEAREST.
44201         * math/feupdateenv.c (__feupdateenv): Return 0.
44202         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
44204 2013-06-18  Roland McGrath  <roland@hack.frob.com>
44206         * elf/rtld-Rules (rtld-compile-command.S): New variable.
44207         (rtld-compile-command.s, rtld-compile-command.c): New variables.
44208         ($(objpfx)rtld-%.os rules): Use them.
44210 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44212         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
44213         fields.
44215 2013-06-17  Roland McGrath  <roland@hack.frob.com>
44217         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
44218         length of target pattern, then descending length of dependency pattern.
44219         * configure.in (AWK): Require gawk 3.1.2 or newer.
44220         * manual/install.texi (Tools for Compilation): Say that we do.
44221         * configure: Regenerated.
44223         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
44224         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
44225         * scripts/sysd-rules.awk: ... this new script.
44226         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
44227         than a glob-style pattern.
44229 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
44231         * math/test-misc.c (main): Do not treat incorrectly rounded
44232         conversions as failure unless ROUNDING_TESTS passes.
44234 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
44236         [BZ #15631]
44237         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
44238         restore exception state around main square root computation, then
44239         check for inexactness explicitly.
44241         * math/libm-test.inc (fma_test_data): Add another test.
44243 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44245         * manual/threads.texi (Non-POSIX Extensions): New document
44246         node.  Document pthread_getattr_default_np and
44247         pthread_setattr_default_np.
44249         * Versions.def (libpthread): Add GLIBC_2.18.
44250         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
44251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44252         Likewise.
44253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44254         Likewise.
44255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44256         Likewise.
44257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44258         Likewise.
44259         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
44260         Likewise.
44261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44262         Likewise.
44263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44264         Likewise.
44265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44266         Likewise.
44267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44268         Likewise.
44270 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44272         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44273         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
44275 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44276             H.J. Lu  <hjl.tools@gmail.com>
44278         [BZ #15627]
44279         * sysdeps/x86_64/rtld-memset.c: Remove file.
44280         * sysdeps/x86_64/rtld-memset.S: New file.
44282 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
44284         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
44285         (test_in_one_mode): Take arguments for whether the rounding mode
44286         is supported for each floating-point type.
44287         (do_test): Pass new arguments to test_in_one_mode using
44288         ROUNDING_TESTS.
44290 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44292         * posix/tst-waitid.c (do_test): Distinguish different instances of
44293         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
44294         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
44295         before entering the kernel for waitpid.
44297 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44299         * NEWS: Fix note on clock function precision.  Text by Roland
44300         McGrath.
44302 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44304         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
44305         it into place only when and if the sanity check passes.
44307 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
44309         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
44310         output for whether conversion result is exact.  Take argument
44311         indicating whether type is IBM long double.
44312         (round_for_all): Change need_exact field to ibm_ld.
44313         * stdlib/tst-strtod-round.c (struct exactness): New type.
44314         (struct test): Change bool ld_ok field to struct exactness exact.
44315         (TEST): Update all definitions for change to field.
44316         (tests): Regenerate array contents.
44317         (test_in_one_mode): Take pointer to new field instead of old ld_ok
44318         field value.  Check for IBM long double here.
44319         (do_test): Update calls to test_in_one_mode.
44321 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44323         [BZ #12515]
44324         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
44325         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
44327 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44329         [BZ #15605]
44330         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
44331         generated by the compiler on loop optimizations.
44332         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
44333         general definitions.
44335 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
44337         * math/bug-nextafter.c: Include <math-tests.h>.
44338         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44339         the relevant type.
44340         * math/bug-nexttoward.c: Include <math-tests.h>.
44341         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44342         the relevant type.
44343         * math/test-misc.c: Include <math-tests.h>.
44344         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44345         the relevant type.
44347 2013-06-12  Andreas Jaeger  <aj@suse.de>
44349         * po/ia.po: Update Interlingua translation from translation
44350         project.
44352 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44354         * include/fenv.h: Include stdbool.h.
44355         (struct rm_ctx): New structure.
44356         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
44357         Define macro.
44358         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
44359         (SET_RESTORE_ROUNDF): Likewise.
44360         (SET_RESTORE_ROUNDL): Likewise.
44361         (SET_RESTORE_ROUND_NOEX): Likewise.
44362         (SET_RESTORE_ROUND_NOEXF): Likewise.
44363         (SET_RESTORE_ROUND_NOEXL): Likewise.
44364         (SET_RESTORE_ROUND_53BIT): Likewise.
44365         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
44366         (libc_feresetround_noexf_ctx): Likewise.
44367         (libc_feresetround_noexl_ctx): Likewise.
44368         (libc_feholdsetround_53bit_ctx): Likewise.
44369         (libc_feresetround_53bit_ctx): Likewise.
44370         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
44371         (libc_feholdexcept_setround_sse_ctx): New function.
44372         (libc_fesetenv_sse_ctx): Likewise.
44373         (libc_feupdateenv_sse_ctx): Likewise.
44374         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
44375         (libc_feholdexcept_setround_387_ctx): Likewise.
44376         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
44377         (libc_feholdsetround_387_prec_ctx): Likewise.
44378         (libc_feholdsetround_387_ctx): Likewise.
44379         (libc_feholdsetround_387_53bit_ctx): Likewise.
44380         (libc_feholdsetround_sse_ctx): Likewise.
44381         (libc_feresetround_sse_ctx): Likewise.
44382         (libc_feresetround_387_ctx): Likewise.
44383         (libc_feupdateenv_387_ctx): Likewise.
44384         (libc_feholdexcept_setroundf_ctx): Define macro.
44385         (libc_fesetenvf_ctx): Likewise.
44386         (libc_feupdateenvf_ctx): Likewise.
44387         (libc_feholdsetroundf_ctx): Likewise.
44388         (libc_feresetroundf_ctx): Likewise.
44389         (libc_feholdexcept_setround_ctx): Likewise.
44390         (libc_fesetenv_ctx): Likewise.
44391         (libc_feupdateenv_ctx): Likewise.
44392         (libc_feholdsetround_ctx): Likewise.
44393         (libc_feresetround_ctx): Likewise.
44394         (libc_feholdexcept_setroundl_ctx): Likewise.
44395         (libc_feupdateenvl_ctx): Likewise.
44396         (libc_feholdsetroundl_ctx): Likewise.
44397         (libc_feresetroundl_ctx): Likewise.
44398         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
44399         (libc_feresetround_53bit_ctx): Likewise.
44401 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44403         * locale/iso-639.def: Convert to UTF-8.
44405 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
44407         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
44408         (EXCEPTION_TESTS_double): Likewise.
44409         (EXCEPTION_TESTS_long_double): Likewise.
44410         (EXCEPTION_TESTS): Likewise.
44411         * math/libm-test.inc (test_exceptions): Only test exceptions if
44412         EXCEPTION_TESTS (FLOAT).
44414 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44416         * benchtests/Makefile (string-bench): Add strcpy_chk and
44417         stpcpy_chk.
44418         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
44419         * benchtests/bench-stpcpy_chk.c: New file.
44420         * benchtests/bench-strcpy_chk-ifunc.c: New file.
44421         * benchtests/bench-strcpy_chk.c: New file.
44422         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
44423         code.
44424         (do_test): Likewise.
44426 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44428         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
44429         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
44430         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
44431         with tabs where appropriate.
44432         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
44433         dl-procinfo.h.
44434         [PPC_PLATFORM_PPC440]: Likewise.
44435         [PPC_PLATFORM_PPC464]: Likewise.
44436         [PPC_PLATFORM_PPC476]: Likewise.
44437         (_dl_string_platform): Add support for detecting ppc405, ppc440,
44438         ppc464, and ppc476 platform strings merging from ports/
44439         dl-procinfo.h.
44441 2013-06-11  Andreas Schwab  <schwab@suse.de>
44443         [BZ #14991]
44444         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
44445         (from_ucs4_idx): Regenerate.
44446         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
44447         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
44448         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
44449         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
44450         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
44451         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
44452         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
44453         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
44454         from FROM_LOOP and TO_LOOP specific macros.
44455         (BODY): Handle combining characters.
44456         * iconvdata/BIG5HKSCS.irreversible: Update.
44457         * iconvdata/BIG5HKSCS.precomposed: New file.
44458         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
44459         characters.
44460         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
44462 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44464         * include/sys/time.h: Fix indentation and add copyright header.
44466         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
44467         (do_test): Likewise.
44468         * string/test-memchr.c (do_one_test): Likewise.
44469         (do_test): Likewise.
44470         * string/test-memcmp.c (do_one_test): Likewise.
44471         (do_test): Likewise.
44472         * string/test-memcpy.c (do_one_test): Likewise.
44473         (do_test): Likewise.
44474         * string/test-memmem.c (do_one_test): Likewise.
44475         (do_test): Likewise.
44476         (do_random_tests): Likewise.
44477         * string/test-memmove.c (do_one_test): Likewise.
44478         (do_test): Likewise.
44479         * string/test-memset.c (do_one_test): Likewise.
44480         (do_test): Likewise.
44481         * string/test-rawmemchr.c (do_one_test): Likewise.
44482         (do_test): Likewise.
44483         * string/test-strcasecmp.c (do_one_test): Likewise.
44484         (do_test): Likewise.
44485         * string/test-strcasestr.c (do_one_test): Likewise.
44486         (do_test): Likewise.
44487         * string/test-strcat.c (do_one_test): Likewise.
44488         (do_test): Likewise.
44489         * string/test-strchr.c (do_one_test): Likewise.
44490         (do_test): Likewise.
44491         * string/test-strcmp.c (do_one_test): Likewise.
44492         (do_test): Likewise.
44493         * string/test-strcpy.c (do_one_test): Likewise.
44494         (do_test): Likewise.
44495         * string/test-string.h: Likewise.
44496         (test_init): Likewise.
44497         * string/test-strlen.c (do_one_test): Likewise.
44498         (do_test): Likewise.
44499         * string/test-strncasecmp.c (do_one_test): Likewise.
44500         (do_test): Likewise.
44501         * string/test-strncat.c (do_one_test): Likewise.
44502         (do_test): Likewise.
44503         * string/test-strncmp.c (do_one_test): Likewise.
44504         (do_test_limit): Likewise.
44505         (do_test): Likewise.
44506         * string/test-strncpy.c (do_one_test): Likewise.
44507         (do_test): Likewise.
44508         * string/test-strnlen.c (do_one_test): Likewise.
44509         (do_test): Likewise.
44510         * string/test-strpbrk.c (do_one_test): Likewise.
44511         (do_test): Likewise.
44512         * string/test-strrchr.c (do_one_test): Likewise.
44513         (do_test): Likewise.
44514         * string/test-strspn.c (do_one_test): Likewise.
44515         (do_test): Likewise.
44516         * string/test-strstr.c (do_one_test): Likewise.
44517         (do_test): Likewise.
44519         * benchtests/Makefile (string-bench): Add string benchmarks.
44520         * benchtests/bench-bcopy-ifunc.c: New file.
44521         * benchtests/bench-bcopy.c: New file.
44522         * benchtests/bench-bzero-ifunc.c: New file.
44523         * benchtests/bench-bzero.c: New file.
44524         * benchtests/bench-memccpy-ifunc.c: New file.
44525         * benchtests/bench-memccpy.c: New file.
44526         * benchtests/bench-memchr-ifunc.c: New file.
44527         * benchtests/bench-memchr.c: New file.
44528         * benchtests/bench-memcmp-ifunc.c: New file.
44529         * benchtests/bench-memcmp.c: New file.
44530         * benchtests/bench-memmem-ifunc.c: New file.
44531         * benchtests/bench-memmem.c: New file.
44532         * benchtests/bench-memmove-ifunc.c: New file.
44533         * benchtests/bench-memmove.c: New file.
44534         * benchtests/bench-mempcpy-ifunc.c: New file.
44535         * benchtests/bench-mempcpy.c: New file.
44536         * benchtests/bench-memset-ifunc.c: New file.
44537         * benchtests/bench-memset.c: New file.
44538         * benchtests/bench-rawmemchr-ifunc.c: New file.
44539         * benchtests/bench-rawmemchr.c: New file.
44540         * benchtests/bench-stpcpy-ifunc.c: New file.
44541         * benchtests/bench-stpcpy.c: New file.
44542         * benchtests/bench-stpncpy-ifunc.c: New file.
44543         * benchtests/bench-stpncpy.c: New file.
44544         * benchtests/bench-strcasecmp-ifunc.c: New file.
44545         * benchtests/bench-strcasecmp.c: New file.
44546         * benchtests/bench-strcasestr-ifunc.c: New file.
44547         * benchtests/bench-strcasestr.c: New file.
44548         * benchtests/bench-strcat-ifunc.c: New file.
44549         * benchtests/bench-strcat.c: New file.
44550         * benchtests/bench-strchr-ifunc.c: New file.
44551         * benchtests/bench-strchr.c: New file.
44552         * benchtests/bench-strchrnul-ifunc.c: New file.
44553         * benchtests/bench-strchrnul.c: New file.
44554         * benchtests/bench-strcmp-ifunc.c: New file.
44555         * benchtests/bench-strcmp.c: New file.
44556         * benchtests/bench-strcpy-ifunc.c: New file.
44557         * benchtests/bench-strcpy.c: New file.
44558         * benchtests/bench-strcspn-ifunc.c: New file.
44559         * benchtests/bench-strcspn.c: New file.
44560         * benchtests/bench-strlen-ifunc.c: New file.
44561         * benchtests/bench-strlen.c: New file.
44562         * benchtests/bench-strncasecmp-ifunc.c: New file.
44563         * benchtests/bench-strncasecmp.c: New file.
44564         * benchtests/bench-strncat-ifunc.c: New file.
44565         * benchtests/bench-strncat.c: New file.
44566         * benchtests/bench-strncmp-ifunc.c: New file.
44567         * benchtests/bench-strncmp.c: New file.
44568         * benchtests/bench-strncpy-ifunc.c: New file.
44569         * benchtests/bench-strncpy.c: New file.
44570         * benchtests/bench-strnlen-ifunc.c: New file.
44571         * benchtests/bench-strnlen.c: New file.
44572         * benchtests/bench-strpbrk-ifunc.c: New file.
44573         * benchtests/bench-strpbrk.c: New file.
44574         * benchtests/bench-strrchr-ifunc.c: New file.
44575         * benchtests/bench-strrchr.c: New file.
44576         * benchtests/bench-strspn-ifunc.c: New file.
44577         * benchtests/bench-strspn.c: New file.
44578         * benchtests/bench-strstr-ifunc.c: New file.
44579         * benchtests/bench-strstr.c: New file.
44581         * benchtests/Makefile: Disable parallel execution of targets.
44582         (string-bench): Add memcpy.
44583         (benchset): New variable to store a list of benchmark sets.
44584         (bench-func): Renamed from bench.
44585         (bench-set): New target.
44586         (bench): Depend on bench-func and bench-set.
44587         * benchtests/README: Add section on benchmark sets.
44588         * benchtests/bench-memcpy-ifunc.c: New file.
44589         * benchtests/bench-memcpy.c: New file.
44590         * benchtests/bench-string.h: New file.
44592 2013-06-11  Andreas Schwab  <schwab@suse.de>
44594         [BZ #15577]
44595         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
44596         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
44597         values in the triple.
44598         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
44599         terminator in the group key.
44601 2013-06-11  Andreas Jaeger  <aj@suse.de>
44603         * po/zh_TW.po: Update Chinese (traditional) translation from
44604         translation project.
44606 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44608         * include/time.h (__clock_gettime): Add libc_hidden_proto.
44609         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
44610         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
44611         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44612         (clock_getcpuclockid): Likewise.
44613         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
44614         Add weak_alias and libc_hidden_def.
44615         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
44616         * rt/clock_gettime.c (clock_gettime): Rename to
44617         __clock_gettime.  Add weak_alias and libc_hidden_def.
44618         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
44619         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
44620         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
44621         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
44622         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
44623         Likewise.
44624         * rt/clock_settime.c (clock_settime): Rename to
44625         __clock_settime.  Add weak_alias and libc_hidden_def.
44626         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
44628 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
44630         * mach/err_boot.sub: Remove trailing whitespace.
44631         * mach/err_ipc.sub: Likewise.
44632         * mach/err_mach.sub: Likewise.
44634         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
44635         (ROUNDING_TESTS_double): Likewise.
44636         (ROUNDING_TESTS_long_double): Likewise.
44637         (ROUNDING_TESTS): Likewise.
44638         * math/libm-test.inc: Include <math-tests.h>.
44639         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
44640         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44641         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44642         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44644 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44646         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
44647         of assigning.
44649 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
44651         * sysdeps/gnu/errlist.awk: Do not generate space at end of
44652         otherwise empty TRANS lines.
44653         * sysdeps/gnu/errlist.c: Regenerated.
44655         * catgets/gencat.c (error_print): Use (void) in function
44656         definition.
44657         * crypt/crypt_util.c (__init_des): Likewise.
44658         * crypt/speeds.c (Stop): Likewise.
44659         (main): Likewise.
44660         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
44661         * inet/ruserpass.c (token): Likewise.
44662         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
44663         * intl/localealias.c (extend_alias_table): Likewise.
44664         * intl/plural-exp.c (init_germanic_plural): Likewise.
44665         * libio/fcloseall.c (__fcloseall): Likewise.
44666         * libio/genops.c (_IO_flush_all): Likewise.
44667         (_IO_flush_all_linebuffered): Likewise.
44668         (_IO_cleanup): Likewise.
44669         (_IO_iter_begin): Likewise.
44670         (_IO_iter_end): Likewise.
44671         (_IO_list_lock): Likewise.
44672         (_IO_list_unlock): Likewise.
44673         (_IO_list_resetlock): Likewise.
44674         * libio/getchar.c (getchar): Likewise.
44675         * libio/getchar_u.c (getchar_unlocked): Likewise.
44676         * libio/getwchar.c (getwchar): Likewise.
44677         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
44678         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
44679         * login/getpt.c (__getpt): Likewise.
44680         * login/tst-utmp.c (main): Likewise.
44681         * malloc/hooks.c (__malloc_check_init): Likewise.
44682         * malloc/malloc.c (__malloc_stats): Likewise.
44683         * malloc/mtrace.c (tr_break): Likewise.
44684         (mtrace): Likewise.
44685         (muntrace): Likewise.
44686         * misc/fstab.c (endfsent): Likewise.
44687         * misc/getclktck.c (__getclktck): Likewise.
44688         * misc/getdtsz.c (__getdtablesize): Likewise.
44689         * misc/gethostid.c (gethostid): Likewise.
44690         * misc/getpagesize.c (__getpagesize): Likewise.
44691         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
44692         (__get_nprocs): Likewise.
44693         (__get_phys_pages): Likewise.
44694         (__get_avphys_pages): Likewise.
44695         * misc/getttyent.c (getttyent): Likewise.
44696         (setttyent): Likewise.
44697         (endttyent): Likewise.
44698         * misc/getusershell.c (getusershell): Likewise.
44699         (endusershell): Likewise.
44700         (setusershell): Likewise.
44701         (initshells): Likewise.
44702         * misc/hsearch.c (__hdestroy): Likewise.
44703         * misc/sync.c (sync): Likewise.
44704         * misc/syslog.c (closelog_internal): Likewise.
44705         (closelog): Likewise.
44706         * misc/ttyslot.c (ttyslot): Likewise.
44707         * misc/vhangup.c (vhangup): Likewise.
44708         * posix/fork.c (__fork): Likewise.
44709         * posix/getegid.c (__getegid): Likewise.
44710         * posix/geteuid.c (__geteuid): Likewise.
44711         * posix/getgid.c (__getgid): Likewise.
44712         * posix/getpid.c (__getpid): Likewise.
44713         * posix/getppid.c (__getppid): Likewise.
44714         * posix/getuid.c (__getuid): Likewise.
44715         * posix/pause.c (pause): Likewise.
44716         * posix/setpgrp.c (setpgrp): Likewise.
44717         * posix/setsid.c (__setsid): Likewise.
44718         * posix/test-vfork.c (noop): Likewise.
44719         * resolv/gethnamaddr.c (_endhtent): Likewise.
44720         (_gethtent): Likewise.
44721         (ht_endhostent): Likewise.
44722         (gethostent): Likewise.
44723         (dns_service): Likewise.
44724         * stdlib/drand48.c (drand48): Likewise.
44725         * stdlib/lrand48.c (lrand48): Likewise.
44726         * stdlib/mrand48.c (mrand48): Likewise.
44727         * stdlib/rand.c (rand): Likewise.
44728         * stdlib/random.c (__random): Likewise.
44729         * stdlib/setenv.c (clearenv): Likewise.
44730         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
44731         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
44732         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
44733         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
44734         (__get_nprocs): Likewise.
44735         (__get_phys_pages): Likewise.
44736         (__get_avphys_pages): Likewise.
44737         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
44738         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
44739         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
44740         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
44741         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
44742         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
44743         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
44744         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
44745         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
44746         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
44747         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
44748         * sysdeps/mach/hurd/sync.c (sync): Likewise.
44749         * sysdeps/posix/clock.c (clock): Likewise.
44750         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
44751         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
44752         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
44753         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
44754         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
44755         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
44756         (__get_nprocs_conf): Likewise.
44757         (__get_phys_pages): Likewise.
44758         (__get_avphys_pages): Likewise.
44759         * time/clock.c (clock): Likewise.
44760         * time/tzset.c (__tzname_max): Likewise.
44762 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
44764         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
44765         (__bswap_32): Do not use "register".
44766         * crypt/crypt.c (_ufc_doit_r): Likewise.
44767         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44768         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44769         * gmon/gmon.c (__monstartup): Likewise.
44770         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
44771         * hurd/hurdmalloc.c (more_memory): Likewise.
44772         (malloc): Likewise.
44773         (free): Likewise.
44774         (realloc): Likewise.
44775         (malloc_fork_prepare): Likewise.
44776         (malloc_fork_parent): Likewise.
44777         (malloc_fork_child): Likewise.
44778         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
44779         (_svcauth_des): Likewise.
44780         * inet/inet_lnaof.c (inet_lnaof): Likewise.
44781         * inet/inet_net.c (inet_network): Likewise.
44782         * inet/inet_netof.c (inet_netof): Likewise.
44783         * inet/rcmd.c (__validuser2_sa): Likewise.
44784         * io/fts.c (fts_open): Likewise.
44785         (fts_load): Likewise.
44786         (fts_close): Likewise.
44787         (fts_read): Likewise.
44788         (fts_children): Likewise.
44789         (fts_build): Likewise.
44790         (fts_stat): Likewise.
44791         (fts_sort): Likewise.
44792         (fts_alloc): Likewise.
44793         (fts_lfree): Likewise.
44794         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
44795         (_IO_file_xsgetn): Likewise.
44796         (_IO_file_xsgetn_mmap): Likewise.
44797         * libio/iofopncook.c (_IO_cookie_read): Likewise.
44798         (_IO_cookie_write): Likewise.
44799         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
44800         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
44801         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
44802         * malloc/obstack.c (_obstack_begin): Likewise.
44803         (_obstack_begin_1): Likewise.
44804         (_obstack_newchunk): Likewise.
44805         (_obstack_allocated_p): Likewise.
44806         (obstack_free): Likewise.
44807         (_obstack_memory_used): Likewise.
44808         * misc/getttyent.c (getttynam): Likewise.
44809         (getttyent): Likewise.
44810         (skip): Likewise.
44811         (value): Likewise.
44812         * misc/getusershell.c (initshells): Likewise.
44813         * misc/syslog.c (__vsyslog_chk): Likewise.
44814         * misc/ttyslot.c (ttyslot): Likewise.
44815         * nis/nis_hash.c (__nis_hash): Likewise.
44816         * posix/fnmatch_loop.c (FCT): Likewise.
44817         * posix/getconf.c (print_all): Likewise.
44818         (main): Likewise.
44819         * posix/getopt.c (exchange): Likewise.
44820         * posix/glob.c (globfree): Likewise.
44821         (prefix_array): Likewise.
44822         (__glob_pattern_type): Likewise.
44823         * resolv/arpa/nameser.h (NS_GET16): Likewise.
44824         (NS_GET32): Likewise.
44825         (NS_PUT16): Likewise.
44826         (NS_PUT32): Likewise.
44827         * resolv/gethnamaddr.c (getanswer): Likewise.
44828         (gethostbyname2): Likewise.
44829         (gethostbyaddr): Likewise.
44830         (_gethtent): Likewise.
44831         (_gethtbyname2): Likewise.
44832         (_gethtbyaddr): Likewise.
44833         * resolv/ns_print.c (dst_s_get_int16): Likewise.
44834         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
44835         * resolv/res_init.c (__res_vinit): Likewise.
44836         (net_mask): Likewise.
44837         * resolv/res_mkquery.c (outchar): Likewise.
44838         (PRINT): Likewise.
44839         * stdio-common/printf_fp.c (outchar): Likewise.
44840         (PRINT): Likewise.
44841         * stdio-common/printf_fphex.c (outchar): Likewise.
44842         (PRINT): Likewise.
44843         * stdio-common/printf_size.c (outchar): Likewise.
44844         (PRINT): Likewise.
44845         * stdio-common/test_rdwr.c (main): Likewise.
44846         * stdio-common/tfformat.c (matches): Likewise.
44847         * stdio-common/vfprintf.c (outchar): Likewise.
44848         (printf_unknown): Likewise.
44849         (buffered_vfprintf): Likewise.
44850         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44851         * stdio-common/xbug.c (AppendToBuffer): Likewise.
44852         (ReadFile): Likewise.
44853         * stdlib/qsort.c (SWAP): Likewise.
44854         (_quicksort): Likewise.
44855         * stdlib/setenv.c (__add_to_environ): Likewise.
44856         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44857         * stdlib/strtol_l.c (__strtol_l): Likewise.
44858         * stdlib/tst-strtod.c (main): Likewise.
44859         * stdlib/tst-strtol.c (main): Likewise.
44860         * stdlib/tst-strtoll.c (main): Likewise.
44861         * string/bits/string2.h (__strcmp_cc): Likewise.
44862         (__strcmp_cg): Likewise.
44863         (__strcspn_c1): Likewise.
44864         (__strcspn_c2): Likewise.
44865         (__strcspn_c3): Likewise.
44866         (__strspn_c1): Likewise.
44867         (__strspn_c2): Likewise.
44868         (__strspn_c3): Likewise.
44869         (__strsep_1c): Likewise.
44870         (__strsep_2c): Likewise.
44871         (__strsep_3c): Likewise.
44872         * string/memccpy.c (__memccpy): Likewise.
44873         * string/stpcpy.c (__stpcpy): Likewise.
44874         * string/strcmp.c (strcmp): Likewise.
44875         * string/strrchr.c (strrchr): Likewise.
44876         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
44877         Likewise.
44878         * sysdeps/mach/hurd/getcwd.c
44879         (_hurd_canonicalize_directory_name_internal): Likewise.
44880         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
44881         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
44882         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
44883         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
44884         Likewise, in both definitions.
44885         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
44886         definitions.
44887         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
44888         64] (__bswap_64): Likewise.
44889         * time/test_time.c (main): Likewise.
44890         * time/tzfile.c (__tzfile_read): Likewise.
44891         (__tzfile_compute): Likewise.
44892         * time/tzset.c (__tzset_parse_tz): Likewise.
44893         (tzset_internal): Likewise.
44894         (compute_change): Likewise.
44895         * wcsmbs/wcscat.c (__wcscat): Likewise.
44896         * wcsmbs/wcschr.c (wcschr): Likewise.
44897         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
44898         * wcsmbs/wcscspn.c (wcscspn): Likewise.
44899         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
44900         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
44901         * wcsmbs/wcsspn.c (wcsspn): Likewise.
44902         * wcsmbs/wcsstr.c (wcsstr): Likewise.
44903         * wcsmbs/wmemchr.c (wmemchr): Likewise.
44904         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44905         * wcsmbs/wmemset.c (wmemset): Likewise.
44907 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
44909         * scripts/config.guess: Update to version 2013-05-16.
44910         * scripts/config.sub: Update to version 2013-04-24.
44911         * scripts/install-sh: Update to version 2011-11-20.07.
44912         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
44913         * scripts/move-if-change: Update to version 2012-01-06 07:23.
44915 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
44917         * debug/fgetws_u_chk.c: Fix leading whitespaces.
44918         * elf/sln.c: Likewise.
44919         * hurd/hurd/ioctl.h: Likewise.
44920         * hurd/hurdmalloc.c: Likewise.
44921         * hurd/xattr.c: Likewise.
44922         * include/shlib-compat.h: Likewise.
44923         * inet/ruserpass.c: Likewise.
44924         * libio/iofgets_u.c: Likewise.
44925         * libio/iofgetws_u.c: Likewise.
44926         * locale/programs/ld-identification.c: Likewise.
44927         * locale/programs/ld-time.c: Likewise.
44928         * mach/msg-destroy.c: Likewise.
44929         * nss/nss_files/files-netgrp.c: Likewise.
44930         * resolv/res_data.c: Likewise.
44931         * soft-fp/op-1.h: Likewise.
44932         * soft-fp/op-2.h: Likewise.
44933         * soft-fp/op-4.h: Likewise.
44934         * soft-fp/op-common.h: Likewise.
44935         * stdio-common/printf_fphex.c: Likewise.
44936         * stdlib/strtod_l.c: Likewise.
44937         * sunrpc/rpc/clnt.h: Likewise.
44938         * sysdeps/generic/framestate.c: Likewise.
44939         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44940         * sysdeps/i386/bsd-setjmp.S: Likewise.
44941         * sysdeps/i386/__longjmp.S: Likewise.
44942         * sysdeps/i386/setjmp.S: Likewise.
44943         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44944         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44945         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44946         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44947         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44948         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44949         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44950         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44951         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44952         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
44953         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44954         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44955         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44956         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44957         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44958         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44959         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44960         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
44961         * sysdeps/ieee754/support.c: Likewise.
44962         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44963         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
44964         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
44965         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
44966         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
44967         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
44968         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
44969         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
44970         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
44971         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
44972         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
44973         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
44974         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
44975         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
44976         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
44977         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
44978         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44981 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
44983         * posix/transbug.c: Remove executable mode.
44985 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
44987         * crypt/speeds.c: Remove trailing whitespace.
44988         * dlfcn/default.c: Likewise.
44989         * elf/ifuncdep2.c: Likewise.
44990         * elf/ifuncmain1.c: Likewise.
44991         * elf/ifuncmain1vis.c: Likewise.
44992         * elf/testobj.h: Likewise.
44993         * elf/tst-stackguard1.c: Likewise.
44994         * gmon/sys/gmon.h: Likewise.
44995         * hurd/hurdmsg.c: Likewise.
44996         * hurd/new-fd.c: Likewise.
44997         * hurd/ports-get.c: Likewise.
44998         * iconvdata/ibm1008_420.c: Likewise.
44999         * inet/tst-getni1.c: Likewise.
45000         * inet/tst-getni2.c: Likewise.
45001         * libio/ioungetc.c: Likewise.
45002         * libio/wfiledoalloc.c: Likewise.
45003         * manual/libm-err-tab.pl: Likewise.
45004         * math/w_dremf.c: Likewise.
45005         * misc/ftruncate.c: Likewise.
45006         * posix/bug-glob2.c: Likewise.
45007         * posix/tst-pcre.c: Likewise.
45008         * posix/wait4.c: Likewise.
45009         * resolv/README: Likewise.
45010         * resolv/res_debug.h: Likewise.
45011         * resolv/tst-inet_ntop.c: Likewise.
45012         * setjmp/bug269-setjmp.c: Likewise.
45013         * soft-fp/extended.h: Likewise.
45014         * soft-fp/op-1.h: Likewise.
45015         * soft-fp/op-2.h: Likewise.
45016         * soft-fp/op-4.h: Likewise.
45017         * soft-fp/op-8.h: Likewise.
45018         * soft-fp/testit.c: Likewise.
45019         * stdio-common/bug16.c: Likewise.
45020         * stdlib/random.c: Likewise.
45021         * sunrpc/rpcsvc/rquota.x: Likewise.
45022         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
45023         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45024         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45025         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45026         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45027         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45028         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45029         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45030         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45031         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45032         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45033         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45034         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45035         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45036         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45037         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45038         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45039         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45040         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45041         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45042         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45043         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45044         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
45045         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45046         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45047         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45048         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45049         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45050         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45051         * sysdeps/ieee754/s_lib_version.c: Likewise.
45052         * sysdeps/mach/hurd/check_fds.c: Likewise.
45053         * sysdeps/mach/hurd/getsockname.c: Likewise.
45054         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
45055         * sysdeps/mach/hurd/recvfrom.c: Likewise.
45056         * sysdeps/powerpc/bits/link.h: Likewise.
45057         * sysdeps/powerpc/dl-procinfo.c: Likewise.
45058         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
45059         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
45060         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
45061         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45062         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45063         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
45064         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45065         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
45066         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45067         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
45068         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45069         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
45070         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45071         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45072         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45073         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45074         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45075         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45076         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45077         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45078         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
45079         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45080         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45081         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
45082         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45083         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45084         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45085         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45086         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45087         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45088         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45089         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45090         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45091         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
45092         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45093         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
45094         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45095         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
45096         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
45097         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
45098         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
45099         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
45100         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
45101         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45102         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
45103         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
45104         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45105         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
45106         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
45107         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45108         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45109         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45110         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45111         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
45112         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
45113         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
45114         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45115         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
45116         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
45117         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
45118         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
45119         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
45120         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45121         * sysdeps/powerpc/sysdep.h: Likewise.
45122         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45123         * sysdeps/s390/s390-64/sub_n.S: Likewise.
45124         * sysdeps/sh/dl-trampoline.S: Likewise.
45125         * sysdeps/sh/memset.S: Likewise.
45126         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
45127         * sysdeps/sh/strlen.S: Likewise.
45128         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
45129         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
45130         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
45131         * sysdeps/sparc/sparc32/rem.S: Likewise.
45132         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
45133         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
45134         * sysdeps/sparc/sparc32/strchr.S: Likewise.
45135         * sysdeps/sparc/sparc32/udiv.S: Likewise.
45136         * sysdeps/sparc/sparc32/urem.S: Likewise.
45137         * sysdeps/sparc/sparc64/add_n.S: Likewise.
45138         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45139         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
45140         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
45141         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
45142         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
45143         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
45144         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
45145         * sysdeps/unix/bsd/times.c: Likewise.
45146         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
45147         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
45148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45151         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
45152         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45153         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
45154         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
45155         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
45156         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
45157         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45158         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
45159         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45160         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45161         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
45162         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45163         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
45164         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
45165         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
45166         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
45167         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
45168         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45169         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
45170         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
45171         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
45172         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
45173         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45174         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
45175         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
45176         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
45177         * sysdeps/x86_64/strcspn.S: Likewise.
45179 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45181         * locale/C-translit.h: Revert #include <stdint.h> because this is a
45182         generated file.  Regenerate properly from gen-translit.pl.
45183         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
45184         locale/C-translit.h.
45186 2013-06-05  Andreas Schwab  <schwab@suse.de>
45188         [BZ #15100]
45189         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
45190         week as 6 instead of -1.
45191         * time/tst-strptime.c (day_tests): Add test case.
45193 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45195         * sysdeps/generic/math_private.h
45196         (libc_feholdexcept_setround_53bit): Replace with
45197         libc_feholdsetround_53bit.
45198         (libc_feupdateenv_53bit): Replace with
45199         libc_feresetround_53bit.
45200         (SET_RESTORE_ROUND_53BIT): Adjust.
45202 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45204         * string/test-strchrnul.c: Add copyright header.
45206         * posix/tst-getaddrinfo4.c: Increase test timeout.
45208 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
45210         [BZ #15536]
45211         * math/libm-test.inc (MAX_EXP): Remove
45212         (MIN_EXP): Define.
45213         (ulp): Use MIN_EXP - MANT_DIG.
45214         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
45216 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
45218         * po/be.po: Revert last change.
45219         * po/zh_CN.po: Likewise.
45220         * po/header.pot: Likewise.
45222 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
45224         * Makefile ($(common-objpfx)linkobj/libc.so): Define
45225         link-libc-deps to empty as target-specific variable.
45226         * Makerules (link-libc-args): New variable.
45227         (libc-for-link): Likewise.
45228         (link-libc-deps): Likewise.
45229         (lib%.so): Depend on $(link-libc-deps).  Link with
45230         $(link-libc-args).
45231         (build-module): Link with $(link-libc-args).
45232         (build-module-asneeded): Likewise.
45233         (build-module-helper-objlist): Filter out $(link-libc-deps) from
45234         list of objects.
45235         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
45236         target-specific variable.
45237         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
45238         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
45239         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
45240         libc.
45241         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
45242         libc and ld.so.
45243         ($(objpfx)libpcprofile.so): Likewise.
45244         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
45245         libc_nonshared.a.
45246         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
45247         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
45248         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
45249         $(link-libc-deps).
45250         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
45251         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
45252         * login/Makefile ($(objpfx)libutil.so): Likewise.
45253         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
45254         * math/Makefile ($(objpfx)libm.so): Likewise.
45255         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
45256         $(objpfx)libnsl.so): Define libc-for-link as target-specific
45257         variable instead of depending directly on libc.
45258         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
45259         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45260         $(link-libc-deps).
45261         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
45262         libc.
45263         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
45264         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
45265         ($(objpfx)libanl.so): Likewise.
45266         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
45267         ld.so.
45268         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
45269         $(link-libc-deps).
45270         * sysdeps/i386/fpu/Makefile: Remove file.
45271         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
45272         ($(objpfx)libm.so): Remove dependency on ld.so.
45274 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
45276         [BZ # 15553]
45277         * nis/yp_xdr.c (XDRMAXNAME): Define.
45278         (XDRMAXRECORD): Define.
45279         (xdr_domainname): Use XDRMAXNAME.
45280         (xdr_mapname): Likewise.
45281         (xdr_peername): Likewise.
45282         (xdr_keydat): Use XDRMAXRECORD.
45283         (xdr_valdat): Likewise.
45285 2013-05-30  Jeff Law  <law@redhat.com>
45287         [BZ #14256]
45288         * manual/errno.texi (ESTALE): Update to account for more than
45289         just NFS file systems.
45290         * sysdeps/gnu/errlist.c: Regenerated.
45292 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45294         [BZ #15465]
45295         * elf/Makefile (tests): Add tst-null-argv.
45296         (modules-names):  Add tst-null-argv-lib.
45297         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
45298         (tst-null-argv-ENV): Set environment for tst-null-argv.
45299         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
45300         (RTLD_PROGNAME): New macro.
45301         * elf/tst-null-argv.c: New test case.
45302         * elf/tst-null-argv-lib.c: Library for test case.
45303         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
45304         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
45305         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
45306         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
45307         * elf/dl-init.c (call_init): Likewise.
45308         (_dl_init): Likewise.
45309         * elf/dl-load.c (print_search_path): Likewise.
45310         (_dl_map_object): Likewise.
45311         * elf/dl-lookup.c (do_lookup_x): Likewise.
45312         (add_dependency): Likewise.
45313         (_dl_lookup_symbol_x): Likewise.
45314         (_dl_debug_bindings): Likewise.
45315         * elf/dl-open.c (_dl_show_scope): Likewise.
45316         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45317         * elf/dl-version.c (match_symbol): Likewise.
45318         (_dl_check_map_versions): Likewise.
45319         * elf/rtld.c (dl_main): Likewise.
45320         (print_unresolved): Use RTLD_PROGNAME.
45321         (print_missing_version): Likewise.
45322         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
45323         (elf_machine_rela): Likewise.
45324         * sysdeps/powerpc/powerpc32/dl-machine.c
45325         (__process_machine_rela): Likewise.
45326         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45327         Likewise.
45328         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45329         Likewise.
45330         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
45331         Likewise.
45332         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45333         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
45334         Likewise.
45335         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
45336         Likewise.
45337         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45339 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
45341         * po/be.po: Add descriptive title.
45342         * po/zh_CN.po: Likewise.
45343         * po/header.pot: Likewise.
45345 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
45347         * locale/programs/locarchive.c (create_archive): Inlucde fname in
45348         error message.
45349         (enlarge_archive): Likewise.
45351 2013-05-28  Ben North  <ben@redfrontdoor.org>
45353         * manual/arith.texi (frexp): It is the magnitude of the return
45354         value which lies in [0.5, 1), not the return value itself.
45356 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45360 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
45362         * stdio-common/bug26.c (main): Correct fscanf template.
45364         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
45365         declare _dl_skip_args.
45367         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
45368         Don't declare.
45370         * manual/platform.texi: Add missing @end deftypefun.
45372 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45374         [BZ #15529]
45375         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
45376         bit of mantissa of 2^16382.
45377         * math/libm-test.inc (hypot_test_data): Add more tests.
45379         * math/libm-test.inc: Add drem and pow10 to list of tested
45380         functions.
45381         (pow10_test): New function.
45382         (drem_test): Likewise.
45383         (drem_test_tonearest): Likewise.
45384         (drem_test_towardzero): Likewise.
45385         (drem_test_downward): Likewise.
45386         (drem_test_upward): Likewise.
45387         (main): Call the new functions.
45389         * math/libm-test.inc (finite_test_data): Remove.
45390         (finite_test): Run tests from isfinite_test_data.
45391         (gamma_test_data): Remove.
45392         (gamma_test): Run tests from lgamma_test_data.
45393         * sysdeps/i386/fpu/libm-test-ulps: Update.
45394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45396 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45398         * manual/platform.texi: Add PowerPC PPR function set documentation.
45399         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
45400         implementation.
45402 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
45404         * math/libm-test.inc (MAX_EXP): Define.
45405         (ULPDIFF): Define.
45406         (ulp): New function.
45407         (check_float_internal): Use ULPDIFF.
45408         (cpow_test): Disable failing test.
45409         (check_ulp): Test ulp() implemetnation.
45410         (main): Call check_ulp before starting tests.
45412 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45414         * math/gen-libm-test.pl (generate_testfile): Do not handle
45415         START_DATA and END_DATA.
45416         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
45417         END_DATA.
45418         (acos_tonearest_test_data): Likewise.
45419         (acos_towardzero_test_data): Likewise.
45420         (acos_downward_test_data): Likewise.
45421         (acos_upward_test_data): Likewise.
45422         (acosh_test_data): Likewise.
45423         (asin_test_data): Likewise.
45424         (asin_tonearest_test_data): Likewise.
45425         (asin_towardzero_test_data): Likewise.
45426         (asin_downward_test_data): Likewise.
45427         (asin_upward_test_data): Likewise.
45428         (asinh_test_data): Likewise.
45429         (atan_test_data): Likewise.
45430         (atanh_test_data): Likewise.
45431         (atan2_test_data): Likewise.
45432         (cabs_test_data): Likewise.
45433         (cacos_test_data): Likewise.
45434         (cacosh_test_data): Likewise.
45435         (carg_test_data): Likewise.
45436         (casin_test_data): Likewise.
45437         (casinh_test_data): Likewise.
45438         (catan_test_data): Likewise.
45439         (catanh_test_data): Likewise.
45440         (cbrt_test_data): Likewise.
45441         (ccos_test_data): Likewise.
45442         (ccosh_test_data): Likewise.
45443         (ceil_test_data): Likewise.
45444         (cexp_test_data): Likewise.
45445         (cimag_test_data): Likewise.
45446         (clog_test_data): Likewise.
45447         (clog10_test_data): Likewise.
45448         (conj_test_data): Likewise.
45449         (copysign_test_data): Likewise.
45450         (cos_test_data): Likewise.
45451         (cos_tonearest_test_data): Likewise.
45452         (cos_towardzero_test_data): Likewise.
45453         (cos_downward_test_data): Likewise.
45454         (cos_upward_test_data): Likewise.
45455         (cosh_test_data): Likewise.
45456         (cosh_tonearest_test_data): Likewise.
45457         (cosh_towardzero_test_data): Likewise.
45458         (cosh_downward_test_data): Likewise.
45459         (cosh_upward_test_data): Likewise.
45460         (cpow_test_data): Likewise.
45461         (cproj_test_data): Likewise.
45462         (creal_test_data): Likewise.
45463         (csin_test_data): Likewise.
45464         (csinh_test_data): Likewise.
45465         (csqrt_test_data): Likewise.
45466         (ctan_test_data): Likewise.
45467         (ctan_tonearest_test_data): Likewise.
45468         (ctan_towardzero_test_data): Likewise.
45469         (ctan_downward_test_data): Likewise.
45470         (ctan_upward_test_data): Likewise.
45471         (ctanh_test_data): Likewise.
45472         (ctanh_tonearest_test_data): Likewise.
45473         (ctanh_towardzero_test_data): Likewise.
45474         (ctanh_downward_test_data): Likewise.
45475         (ctanh_upward_test_data): Likewise.
45476         (erf_test_data): Likewise.
45477         (erfc_test_data): Likewise.
45478         (exp_test_data): Likewise.
45479         (exp_tonearest_test_data): Likewise.
45480         (exp_towardzero_test_data): Likewise.
45481         (exp_downward_test_data): Likewise.
45482         (exp_upward_test_data): Likewise.
45483         (exp10_test_data): Likewise.
45484         (exp2_test_data): Likewise.
45485         (expm1_test_data): Likewise.
45486         (fabs_test_data): Likewise.
45487         (fdim_test_data): Likewise.
45488         (finite_test_data): Likewise.
45489         (floor_test_data): Likewise.
45490         (fma_test_data): Likewise.
45491         (fma_towardzero_test_data): Likewise.
45492         (fma_downward_test_data): Likewise.
45493         (fma_upward_test_data): Likewise.
45494         (fmax_test_data): Likewise.
45495         (fmin_test_data): Likewise.
45496         (fmod_test_data): Likewise.
45497         (fpclassify_test_data): Likewise.
45498         (frexp_test_data): Likewise.
45499         (gamma_test_data): Likewise.
45500         (hypot_test_data): Likewise.
45501         (ilogb_test_data): Likewise.
45502         (isfinite_test_data): Likewise.
45503         (isgreater_test_data): Likewise.
45504         (isgreaterequal_test_data): Likewise.
45505         (isinf_test_data): Likewise.
45506         (isless_test_data): Likewise.
45507         (islessequal_test_data): Likewise.
45508         (islessgreater_test_data): Likewise.
45509         (isnan_test_data): Likewise.
45510         (isnormal_test_data): Likewise.
45511         (issignaling_test_data): Likewise.
45512         (isunordered_test_data): Likewise.
45513         (j0_test_data): Likewise.
45514         (j1_test_data): Likewise.
45515         (jn_test_data): Likewise.
45516         (ldexp_test_data): Likewise.
45517         (lgamma_test_data): Likewise.
45518         (lrint_test_data): Likewise.
45519         (lrint_tonearest_test_data): Likewise.
45520         (lrint_towardzero_test_data): Likewise.
45521         (lrint_downward_test_data): Likewise.
45522         (lrint_upward_test_data): Likewise.
45523         (llrint_test_data): Likewise.
45524         (llrint_tonearest_test_data): Likewise.
45525         (llrint_towardzero_test_data): Likewise.
45526         (llrint_downward_test_data): Likewise.
45527         (llrint_upward_test_data): Likewise.
45528         (log_test_data): Likewise.
45529         (log10_test_data): Likewise.
45530         (log1p_test_data): Likewise.
45531         (log2_test_data): Likewise.
45532         (logb_test_data): Likewise.
45533         (logb_downward_test_data): Likewise.
45534         (lround_test_data): Likewise.
45535         (llround_test_data): Likewise.
45536         (modf_test_data): Likewise.
45537         (nearbyint_test_data): Likewise.
45538         (nextafter_test_data): Likewise.
45539         (nexttoward_test_data): Likewise.
45540         (pow_test_data): Likewise.
45541         (pow_tonearest_test_data): Likewise.
45542         (pow_towardzero_test_data): Likewise.
45543         (pow_downward_test_data): Likewise.
45544         (pow_upward_test_data): Likewise.
45545         (remainder_test_data): Likewise.
45546         (remainder_tonearest_test_data): Likewise.
45547         (remainder_towardzero_test_data): Likewise.
45548         (remainder_downward_test_data): Likewise.
45549         (remainder_upward_test_data): Likewise.
45550         (remquo_test_data): Likewise.
45551         (rint_test_data): Likewise.
45552         (rint_tonearest_test_data): Likewise.
45553         (rint_towardzero_test_data): Likewise.
45554         (rint_downward_test_data): Likewise.
45555         (rint_upward_test_data): Likewise.
45556         (round_test_data): Likewise.
45557         (scalb_test_data): Likewise.
45558         (scalbn_test_data): Likewise.
45559         (scalbln_test_data): Likewise.
45560         (signbit_test_data): Likewise.
45561         (sin_test_data): Likewise.
45562         (sin_tonearest_test_data): Likewise.
45563         (sin_towardzero_test_data): Likewise.
45564         (sin_downward_test_data): Likewise.
45565         (sin_upward_test_data): Likewise.
45566         (sincos_test_data): Likewise.
45567         (sinh_test_data): Likewise.
45568         (sinh_tonearest_test_data): Likewise.
45569         (sinh_towardzero_test_data): Likewise.
45570         (sinh_downward_test_data): Likewise.
45571         (sinh_upward_test_data): Likewise.
45572         (sqrt_test_data): Likewise.
45573         (tan_test_data): Likewise.
45574         (tan_tonearest_test_data): Likewise.
45575         (tan_towardzero_test_data): Likewise.
45576         (tan_downward_test_data): Likewise.
45577         (tan_upward_test_data): Likewise.
45578         (tanh_test_data): Likewise.
45579         (tgamma_test_data): Likewise.
45580         (trunc_test_data): Likewise.
45581         (y0_test_data): Likewise.
45582         (y1_test_data): Likewise.
45583         (yn_test_data): Likewise.
45584         (significand_test_data): Likewise.
45586         * math/gen-libm-test.pl (@functions): Remove variable.
45587         (generate_testfile): Don't handle START and END lines.
45588         * math/libm-test.inc (START): New macro.
45589         (END): Likewise.
45590         (END_COMPLEX): Likewise.
45591         (acos_test): Use END macro without arguments.
45592         (acos_test_tonearest): Likewise.
45593         (acos_test_towardzero): Likewise.
45594         (acos_test_downward): Likewise.
45595         (acos_test_upward): Likewise.
45596         (acosh_test): Likewise.
45597         (asin_test): Likewise.
45598         (asin_test_tonearest): Likewise.
45599         (asin_test_towardzero): Likewise.
45600         (asin_test_downward): Likewise.
45601         (asin_test_upward): Likewise.
45602         (asinh_test): Likewise.
45603         (atan_test): Likewise.
45604         (atanh_test): Likewise.
45605         (atan2_test): Likewise.
45606         (cabs_test): Likewise.
45607         (cacos_test): Use END_COMPLEX macro without arguments.
45608         (cacosh_test): Likewise.
45609         (carg_test): Use END macro without arguments.
45610         (casin_test): Use END_COMPLEX macro without arguments.
45611         (casinh_test): Likewise.
45612         (catan_test): Likewise.
45613         (catanh_test): Likewise.
45614         (cbrt_test): Use END macro without arguments.
45615         (ccos_test): Use END_COMPLEX macro without arguments.
45616         (ccosh_test): Likewise.
45617         (ceil_test): Use END macro without arguments.
45618         (cexp_test): Use END_COMPLEX macro without arguments.
45619         (cimag_test): Use END macro without arguments.
45620         (clog_test): Use END_COMPLEX macro without arguments.
45621         (clog10_test): Likewise.
45622         (conj_test): Likewise.
45623         (copysign_test): Use END macro without arguments.
45624         (cos_test): Likewise.
45625         (cos_test_tonearest): Likewise.
45626         (cos_test_towardzero): Likewise.
45627         (cos_test_downward): Likewise.
45628         (cos_test_upward): Likewise.
45629         (cosh_test): Likewise.
45630         (cosh_test_tonearest): Likewise.
45631         (cosh_test_towardzero): Likewise.
45632         (cosh_test_downward): Likewise.
45633         (cosh_test_upward): Likewise.
45634         (cpow_test): Use END_COMPLEX macro without arguments.
45635         (cproj_test): Likewise.
45636         (creal_test): Use END macro without arguments.
45637         (csin_test): Use END_COMPLEX macro without arguments.
45638         (csinh_test): Likewise.
45639         (csqrt_test): Likewise.
45640         (ctan_test): Likewise.
45641         (ctan_test_tonearest): Likewise.
45642         (ctan_test_towardzero): Likewise.
45643         (ctan_test_downward): Likewise.
45644         (ctan_test_upward): Likewise.
45645         (ctanh_test): Likewise.
45646         (ctanh_test_tonearest): Likewise.
45647         (ctanh_test_towardzero): Likewise.
45648         (ctanh_test_downward): Likewise.
45649         (ctanh_test_upward): Likewise.
45650         (erf_test): Use END macro without arguments.
45651         (erfc_test): Likewise.
45652         (exp_test): Likewise.
45653         (exp_test_tonearest): Likewise.
45654         (exp_test_towardzero): Likewise.
45655         (exp_test_downward): Likewise.
45656         (exp_test_upward): Likewise.
45657         (exp10_test): Likewise.
45658         (exp2_test): Likewise.
45659         (expm1_test): Likewise.
45660         (fabs_test): Likewise.
45661         (fdim_test): Likewise.
45662         (finite_test): Likewise.
45663         (floor_test): Likewise.
45664         (fma_test): Likewise.
45665         (fma_test_towardzero): Likewise.
45666         (fma_test_downward): Likewise.
45667         (fma_test_upward): Likewise.
45668         (fmax_test): Likewise.
45669         (fmin_test): Likewise.
45670         (fmod_test): Likewise.
45671         (fpclassify_test): Likewise.
45672         (frexp_test): Likewise.
45673         (gamma_test): Likewise.
45674         (hypot_test): Likewise.
45675         (ilogb_test): Likewise.
45676         (isfinite_test): Likewise.
45677         (isgreater_test): Likewise.
45678         (isgreaterequal_test): Likewise.
45679         (isinf_test): Likewise.
45680         (isless_test): Likewise.
45681         (islessequal_test): Likewise.
45682         (islessgreater_test): Likewise.
45683         (isnan_test): Likewise.
45684         (isnormal_test): Likewise.
45685         (issignaling_test): Likewise.
45686         (isunordered_test): Likewise.
45687         (j0_test): Likewise.
45688         (j1_test): Likewise.
45689         (jn_test): Likewise.
45690         (ldexp_test): Likewise.
45691         (lgamma_test): Likewise.
45692         (lrint_test): Likewise.
45693         (lrint_test_tonearest): Likewise.
45694         (lrint_test_towardzero): Likewise.
45695         (lrint_test_downward): Likewise.
45696         (lrint_test_upward): Likewise.
45697         (llrint_test): Likewise.
45698         (llrint_test_tonearest): Likewise.
45699         (llrint_test_towardzero): Likewise.
45700         (llrint_test_downward): Likewise.
45701         (llrint_test_upward): Likewise.
45702         (log_test): Likewise.
45703         (log10_test): Likewise.
45704         (log1p_test): Likewise.
45705         (log2_test): Likewise.
45706         (logb_test): Likewise.
45707         (logb_test_downward): Likewise.
45708         (lround_test): Likewise.
45709         (llround_test): Likewise.
45710         (modf_test): Likewise.
45711         (nearbyint_test): Likewise.
45712         (nextafter_test): Likewise.
45713         (nexttoward_test): Likewise.
45714         (pow_test): Likewise.
45715         (pow_test_tonearest): Likewise.
45716         (pow_test_towardzero): Likewise.
45717         (pow_test_downward): Likewise.
45718         (pow_test_upward): Likewise.
45719         (remainder_test): Likewise.
45720         (remainder_test_tonearest): Likewise.
45721         (remainder_test_towardzero): Likewise.
45722         (remainder_test_downward): Likewise.
45723         (remainder_test_upward): Likewise.
45724         (remquo_test): Likewise.
45725         (rint_test): Likewise.
45726         (rint_test_tonearest): Likewise.
45727         (rint_test_towardzero): Likewise.
45728         (rint_test_downward): Likewise.
45729         (rint_test_upward): Likewise.
45730         (round_test): Likewise.
45731         (scalb_test): Likewise.
45732         (scalbn_test): Likewise.
45733         (scalbln_test): Likewise.
45734         (signbit_test): Likewise.
45735         (sin_test): Likewise.
45736         (sin_test_tonearest): Likewise.
45737         (sin_test_towardzero): Likewise.
45738         (sin_test_downward): Likewise.
45739         (sin_test_upward): Likewise.
45740         (sincos_test): Likewise.
45741         (sinh_test): Likewise.
45742         (sinh_test_tonearest): Likewise.
45743         (sinh_test_towardzero): Likewise.
45744         (sinh_test_downward): Likewise.
45745         (sinh_test_upward): Likewise.
45746         (sqrt_test): Likewise.
45747         (tan_test): Likewise.
45748         (tan_test_tonearest): Likewise.
45749         (tan_test_towardzero): Likewise.
45750         (tan_test_downward): Likewise.
45751         (tan_test_upward): Likewise.
45752         (tanh_test): Likewise.
45753         (tgamma_test): Likewise.
45754         (trunc_test): Likewise.
45755         (y0_test): Likewise.
45756         (y1_test): Likewise.
45757         (yn_test): Likewise.
45758         (significand_test): Likewise.
45760 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
45762         [BZ #15381]
45763         * libio/genops.c (_IO_no_init): Initialize wide struct info.
45765 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45767         [BZ #14894]
45768         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
45769         __ppc_mdoio and __ppc_mdoom.
45770         * manual/platform.texi: Document new functions __ppc_yield,
45771         __ppc_mdoio and __ppc_mdoom.
45773 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
45775         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
45776         (main): Mention "tls" pseudo-hwcap is legacy.
45777         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
45779 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45781         * math/gen-libm-test.pl (parse_args): Output only string of
45782         arguments as text for test name, not full call or descriptions of
45783         tests for extra outputs.
45784         (generate_testfile): Do not pass function name to parse_args.
45785         Generate this_func variable from START.
45786         * math/libm-test.inc (struct test_f_f_data): Rename test_name
45787         field to arg_str.
45788         (struct test_ff_f_data): Likewise.
45789         (test_ff_f_data_nexttoward): Likewise.
45790         (struct test_fi_f_data): Likewise.
45791         (struct test_fl_f_data): Likewise.
45792         (struct test_if_f_data): Likewise.
45793         (struct test_fff_f_data): Likewise.
45794         (struct test_c_f_data): Likewise.
45795         (struct test_f_f1_data): Likewise.  Remove field extra_name.
45796         (struct test_fF_f1_data): Likewise.
45797         (struct test_ffI_f1_data): Likewise.
45798         (struct test_c_c_data): Rename test_name field to arg_str.
45799         (struct test_cc_c_data): Likewise.
45800         (struct test_f_i_data): Likewise.
45801         (struct test_ff_i_data): Likewise.
45802         (struct test_f_l_data): Likewise.
45803         (struct test_f_L_data): Likewise.
45804         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
45805         and extra2_name.
45806         (COMMON_TEST_SETUP): New macro.
45807         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
45808         (COMMON_TEST_CLEANUP): Likewise.
45809         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
45810         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
45811         macros.
45812         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
45813         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
45814         macros.
45815         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
45816         (RUN_TEST_fff_f): Take argument string.  Call new setup and
45817         cleanup macros.
45818         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
45819         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
45820         macros.
45821         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
45822         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
45823         macros.
45824         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45825         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
45826         cleanup macros.
45827         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45828         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
45829         cleanup macros.
45830         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45831         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
45832         cleanup macros.
45833         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45834         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
45835         macros.
45836         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
45837         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
45838         macros.
45839         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
45840         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
45841         macros.
45842         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
45843         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
45844         cleanup macros.
45845         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
45846         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
45847         cleanup macros.
45848         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
45849         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
45850         macros.
45851         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
45852         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
45853         cleanup macros.
45854         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
45855         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
45856         macros.
45857         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
45858         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
45859         macros.
45860         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
45861         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
45862         cleanup macros.
45863         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
45865 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
45867         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
45868         to _sifields.sigfault.
45869         (si_addr_lsb): Define new macro.
45870         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45871         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45872         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
45874 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
45876         [BZ #15441]
45877         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
45878         returns -1.
45879         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
45880         null return -1.
45881         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
45882         loading the domain.
45884 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45886         * math/gen-libm-test.pl (parse_args): Do not include expected
45887         result in test name.
45888         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
45889         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45890         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45891         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45892         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45895 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45897         * benchtests/Makefile: Sort function entries.
45899         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
45900         tanh, asinh, acosh, atanh.
45901         * benchtests/acos-inputs: New file.
45902         * benchtests/acosh-inputs: New file.
45903         * benchtests/asin-inputs: New file.
45904         * benchtests/asinh-inputs: New file.
45905         * benchtests/atanh-inputs: New file.
45906         * benchtests/cosh-inputs: New file.
45907         * benchtests/log-inputs: New file.
45908         * benchtests/sinh-inputs: New file.
45909         * benchtests/tanh-inputs: New file.
45911 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
45913         [BZ #15339]
45914         * posix/tst-getaddrinfo4.c: New test.
45915         * posix/Makefile (tests): Add it.
45917 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45919         [BZ #15339]
45920         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
45921         when no services were used.
45922         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
45923         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
45925 2013-05-21  Andreas Schwab  <schwab@suse.de>
45927         [BZ #15014]
45928         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
45929         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
45930         successful.
45931         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
45932         redundant variable declarations and reallocation of buffer when
45933         parsing as IPv6 address.  Always set NSS status when called from
45934         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
45935         buffer too small.  Correct computation of needed size.
45936         * nss/Makefile (tests): Add test-digits-dots.
45937         * nss/test-digits-dots.c: New test.
45939 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45941         * benchtests/Makefile: Remove instructions for adding
45942         benchmark tests.
45943         * benchtests/README: New file to explain how to execute and
45944         enhance the benchmark tests.
45946 2013-05-21  Andreas Schwab  <schwab@suse.de>
45948         [BZ #15493]
45949         * setjmp/Makefile (tests): Add tst-sigsetjmp.
45950         * setjmp/tst-sigsetjmp.c: New test.
45952 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45954         * sysdeps/x86_64/memset.S (memset): New implementation.
45955         (__bzero): Likewise.
45956         (__memset_tail): New function.
45958 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45960         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
45961         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
45962         __memcpy_sse2_unaligned ifunc selection.
45963         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45964         Add memcpy-sse2-unaligned.S.
45965         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45966         Add: __memcpy_sse2_unaligned.
45968 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
45970         [BZ #15490]
45971         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45972         math_force_eval before restoring floating-point envrionment.
45973         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
45974         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
45975         Likewise.
45976         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
45977         <math_private.h>.
45978         (__nearbyintl): Use math_force_eval before restoring
45979         floating-point environment.
45980         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
45982         * math/gen-libm-test.pl (special_functions): Remove.
45983         (parse_args): Don't handle TEST_extra.  Handle functions with no
45984         return value.
45985         * math/libm-test.inc (struct test_sincos_data): Replace with
45986         struct test_fFF_11_data.
45987         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
45988         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
45989         (sincos_test_data): Change element type to struct
45990         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
45991         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
45992         RUN_TEST_LOOP_sincos.
45993         * math/README.libm-test: Don't mention special handling of
45994         individual functions.
45995         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
45996         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45997         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45998         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45999         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46002         * math/gen-libm-test.pl (get_variable): Remove function.
46003         (parse_args): Don't show pointer parameters to call in test
46004         names.  Use "extra output N" in test names for extra outputs
46005         rather than naming variables.
46007 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
46009         [BZ #15488]
46010         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
46011         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
46012         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
46013         double tests.
46014         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
46015         disable.
46016         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
46017         check_long_double.
46019         * math/gen-libm-test.pl (@tests): Remove variable.
46020         ($count): Likewise.
46021         (new_test): Remove function.
46022         (show_exceptions): New function.
46023         (special_functions): Use show_exceptions instead of new_test.
46024         (parse_args): Likewise.
46025         (generate_testfile): Pass only function name in generated call to
46026         print_max_error or print_complex_max_error.
46027         (get_ulps): Do not handle complex tests specially.
46028         (output_test): Rename to ...
46029         (get_all_ulps_for_test): ... this.  Return a string rather than
46030         printing to a file.  Require ulps to be present.
46031         (output_ulps): Generate arrays rather than #defines.
46032         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
46033         (struct ulp_data): New type.
46034         (BUILD_COMPLEX_ULP): Remove macro.
46035         (compare_ulp_data): New function.
46036         (find_ulps): Likewise.
46037         (find_test_ulps): Likewise.
46038         (find_function_ulps): Likewise.
46039         (find_complex_function_ulps): Likewise.
46040         (print_max_error): Determine allowed ulps using
46041         find_function_ulps.
46042         (print_complex_max_error): Determine allowed ulps using
46043         find_complex_function_ulps.
46044         (check_float_internal): Determine max ulps using find_test_ulps.
46045         (check_float): Do not take max_ulp parameter.  Update call to
46046         check_float_internal.
46047         (check_complex): Likewise.
46048         (check_int): Do not take max_ulp parameter.
46049         (check_long): Likewise.
46050         (check_bool): Likewise.
46051         (check_longlong): Likewise.
46052         (struct test_f_f_data): Remove max_ulp field.
46053         (struct test_ff_f_data): Likewise.
46054         (struct test_ff_f_data_nexttoward): Likewise.
46055         (struct test_fi_f_data): Likewise.
46056         (struct test_fl_f_data): Likewise.
46057         (struct test_if_f_data): Likewise.
46058         (struct test_fff_f_data): Likewise.
46059         (struct test_c_f_data): Likewise.
46060         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
46061         (struct test_fF_f1_data): Likewise.
46062         (struct test_ffI_f1_data): Likewise.
46063         (struct test_c_c_data): Remove max_ulp field.
46064         (struct test_cc_c_data): Likewise.
46065         (struct test_f_i_data): Likewise.
46066         (struct test_ff_i_data): Likewise.
46067         (struct test_f_l_data): Likewise.
46068         (struct test_f_L_data): Likewise.
46069         (struct test_sincos_data): Likewise.
46070         (RUN_TEST_f_f): Do not handle ulps.
46071         (RUN_TEST_LOOP_f_f): Likewise.
46072         (RUN_TEST_2_f): Likewise.
46073         (RUN_TEST_LOOP_2_f): Likewise.
46074         (RUN_TEST_fff_f): Likewise.
46075         (RUN_TEST_LOOP_fff_f): Likewise.
46076         (RUN_TEST_c_f): Likewise.
46077         (RUN_TEST_LOOP_c_f): Likewise.
46078         (RUN_TEST_f_f1): Likewise.
46079         (RUN_TEST_LOOP_f_f1): Likewise.
46080         (RUN_TEST_fF_f1): Likewise.
46081         (RUN_TEST_LOOP_fF_f1): Likewise.
46082         (RUN_TEST_fI_f1): Likewise.
46083         (RUN_TEST_LOOP_fI_f1): Likewise.
46084         (RUN_TEST_ffI_f1): Likewise.
46085         (RUN_TEST_LOOP_ffI_f1): Likewise.
46086         (RUN_TEST_c_c): Likewise.
46087         (RUN_TEST_LOOP_c_c): Likewise.
46088         (RUN_TEST_cc_c): Likewise.
46089         (RUN_TEST_LOOP_cc_c): Likewise.
46090         (RUN_TEST_f_i): Likewise.
46091         (RUN_TEST_LOOP_f_i): Likewise.
46092         (RUN_TEST_f_i_tg): Likewise.
46093         (RUN_TEST_LOOP_f_i_tg): Likewise.
46094         (RUN_TEST_ff_i_tg): Likewise.
46095         (RUN_TEST_LOOP_ff_i_tg): Likewise.
46096         (RUN_TEST_f_b): Likewise.
46097         (RUN_TEST_LOOP_f_b): Likewise.
46098         (RUN_TEST_f_b_tg): Likewise.
46099         (RUN_TEST_LOOP_f_b_tg): Likewise.
46100         (RUN_TEST_f_l): Likewise.
46101         (RUN_TEST_LOOP_f_l): Likewise.
46102         (RUN_TEST_f_L): Likewise.
46103         (RUN_TEST_LOOP_f_L): Likewise.
46104         (RUN_TEST_sincos): Likewise.
46105         (RUN_TEST_LOOP_sincos): Likewise.
46107 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
46109         [BZ #15480]
46110         [BZ #15485]
46111         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
46112         main case of finite arguments, set rounding mode to FE_TONEAREST
46113         and discard exceptions.
46114         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
46115         exceptions.
46116         (remainder_tonearest_test_data): New variable.
46117         (remainder_test_tonearest): New function.
46118         (remainder_towardzero_test_data): New variable.
46119         (remainder_test_towardzero): New function.
46120         (remainder_downward_test_data): New variable.
46121         (remainder_test_downward): New function.
46122         (remainder_upward_test_data): New variable.
46123         (remainder_test_upward): New function.
46124         (main): Call the new test functions.
46126         * math/libm-test.inc (struct test_f_f1_data): Remove field
46127         extra_init.
46128         (struct test_fF_f1_data): Likewise.
46129         (struct test_ffI_f1_data): Likewise.
46130         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
46131         based on value of EXTRA_EXPECTED.
46132         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46133         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
46134         EXTRA_VAR based on value of EXTRA_EXPECTED.
46135         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46136         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
46137         EXTRA_VAR based on value of EXTRA_EXPECTED.
46138         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46139         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
46140         EXTRA_VAR based on value of EXTRA_EXPECTED.
46141         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46142         * math/gen-libm-test.pl (parse_args): Don't output initializers
46143         for extra output values.
46145         * math/libm-test.inc (check_int): Expect result to be exactly
46146         equal to expected value and do not handle ulps.
46147         (check_long): Likewise.
46148         (check_longlong): Likewise.
46150         * math/libm-test.inc (ceil_test_data): Test for "inexact"
46151         exceptions.
46152         (cimag_test_data): Likewise.
46153         (conj_test_data): Likewise.
46154         (copysign_test_data): Likewise.
46155         (cproj_test_data): Likewise.
46156         (creal_test_data): Likewise.
46157         (fabs_test_data): Likewise.
46158         (fdim_test_data): Likewise.
46159         (finite_test_data): Likewise.
46160         (floor_test_data): Likewise.
46161         (fmax_test_data): Likewise.
46162         (fmin_test_data): Likewise.
46163         (fmod_test_data): Likewise.
46164         (fpclassify_test_data): Likewise.
46165         (frexp_test_data): Likewise.
46166         (ilogb_test_data): Likewise.
46167         (isfinite_test_data): Likewise.
46168         (isgreater_test_data): Likewise.
46169         (isgreaterequal_test_data): Likewise.
46170         (isinf_test_data): Likewise.
46171         (isless_test_data): Likewise.
46172         (islessequal_test_data): Likewise.
46173         (islessgreater_test_data): Likewise.
46174         (isnan_test_data): Likewise.
46175         (isnormal_test_data): Likewise.
46176         (issignaling_test_data): Likewise.
46177         (isunordered_test_data): Likewise.
46178         (ldexp_test_data): Likewise.
46179         (lrint_test_data): Likewise.
46180         (lrint_test_data) [TEST_FLOAT]: Disable one test.
46181         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
46182         (lrint_tonearest_test_data): Test for "inexact" exceptions.
46183         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46184         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
46185         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46186         test input.
46187         (lrint_towardzero_test_data): Test for "inexact" exceptions.
46188         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46189         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
46190         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
46191         that test input.
46192         (lrint_downward_test_data): Test for "inexact" exceptions.
46193         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46194         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
46195         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46196         test input.
46197         (lrint_upward_test_data): Test for "inexact" exceptions.
46198         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
46199         test input.
46200         (llrint_test_data): Test for "inexact" exceptions.
46201         (llrint_test_data) [TEST_FLOAT]: Disable one test.
46202         (llrint_tonearest_test_data): Test for "inexact" exceptions.
46203         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46204         (llrint_towardzero_test_data): Test for "inexact" exceptions.
46205         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46206         (llrint_downward_test_data): Test for "inexact" exceptions.
46207         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46208         (llrint_upward_test_data): Test for "inexact" exceptions.
46209         (logb_test_data): Likewise.
46210         (logb_downward_test_data): Likewise.
46211         (nextafter_test_data): Likewise.
46212         (nexttoward_test_data): Likewise.
46213         (remainder_test_data): Likewise.
46214         (remquo_test_data): Likewise.
46215         (scalbn_test_data): Likewise.
46216         (scalbln_test_data): Likewise.
46217         (signbit_test_data): Likewise.
46218         (sqrt_test_data): Likewise.
46219         (significand_test_data): Likewise.
46221 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46223         [BZ #15424]
46224         * benchtests/bench-modf.c (struct args): Mark arg0 as
46225         volatile.
46226         * scripts/bench.pl: Mark members of struct args as volatile.
46228 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46230         [BZ # 15497]
46231         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
46232         negative infinity on POWER6 or lower.
46233         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
46235 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46237         [BZ #15442]
46238         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
46239         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
46240         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
46241         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
46242         (_FP_SETQNAN): New macro.
46243         (_FP_SETQNAN_SEMIRAW): Likewise.
46244         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
46245         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
46246         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
46247         (FP_EXTEND): Use _FP_FRAC_SNANP.
46248         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
46249         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
46250         into account.
46251         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46252         New macro.
46253         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46254         Likewise.
46256 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46258         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
46259         with DIVIDE_BY_ZERO_EXCEPTION.
46260         (gamma_test_data): Likewise.
46261         (lgamma_test_data): Likewise.
46262         (log_test_data): Likewise.
46263         (log10_test_data): Likewise.
46264         (log2_test_data): Likewise.
46265         (tgamma_test_data): Likewise.
46267         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
46268         (acos_test_tonearest): Likewise.
46269         (acos_test_towardzero): Likewise.
46270         (acos_test_downward): Likewise.
46271         (acos_test_upward): Likewise.
46272         (acosh_test): Likewise.
46273         (asin_test): Likewise.
46274         (asin_test_tonearest): Likewise.
46275         (asin_test_towardzero): Likewise.
46276         (asin_test_downward): Likewise.
46277         (asin_test_upward): Likewise.
46278         (asinh_test): Likewise.
46279         (atan_test): Likewise.
46280         (atanh_test): Likewise.
46281         (atan2_test): Likewise.
46282         (cabs_test): Likewise.
46283         (cacos_test): Likewise.
46284         (cacosh_test): Likewise.
46285         (casin_test): Likewise.
46286         (casinh_test): Likewise.
46287         (catan_test): Likewise.
46288         (catanh_test): Likewise.
46289         (cbrt_test): Likewise.
46290         (ccos_test): Likewise.
46291         (ccosh_test): Likewise.
46292         (cexp_test): Likewise.
46293         (clog_test): Likewise.
46294         (clog10_test): Likewise.
46295         (cos_test): Likewise.
46296         (cos_test_tonearest): Likewise.
46297         (cos_test_towardzero): Likewise.
46298         (cos_test_downward): Likewise.
46299         (cos_test_upward): Likewise.
46300         (cosh_test): Likewise.
46301         (cosh_test_tonearest): Likewise.
46302         (cosh_test_towardzero): Likewise.
46303         (cosh_test_downward): Likewise.
46304         (cosh_test_upward): Likewise.
46305         (cpow_test): Likewise.
46306         (csin_test): Likewise.
46307         (csinh_test): Likewise.
46308         (csqrt_test): Likewise.
46309         (ctan_test): Likewise.
46310         (ctan_test_tonearest): Likewise.
46311         (ctan_test_towardzero): Likewise.
46312         (ctan_test_downward): Likewise.
46313         (ctan_test_upward): Likewise.
46314         (ctanh_test): Likewise.
46315         (ctanh_test_tonearest): Likewise.
46316         (ctanh_test_towardzero): Likewise.
46317         (ctanh_test_downward): Likewise.
46318         (ctanh_test_upward): Likewise.
46319         (erf_test): Likewise.
46320         (erfc_test): Likewise.
46321         (exp_test): Likewise.
46322         (exp_test_tonearest): Likewise.
46323         (exp_test_towardzero): Likewise.
46324         (exp_test_downward): Likewise.
46325         (exp_test_upward): Likewise.
46326         (exp10_test): Likewise.
46327         (exp2_test): Likewise.
46328         (expm1_test): Likewise.
46329         (fmod_test): Likewise.
46330         (gamma_test): Likewise.
46331         (hypot_test): Likewise.
46332         (j0_test): Likewise.
46333         (j1_test): Likewise.
46334         (jn_test): Likewise.
46335         (lgamma_test): Likewise.
46336         (log_test): Likewise.
46337         (log10_test): Likewise.
46338         (log1p_test): Likewise.
46339         (log2_test): Likewise.
46340         (logb_test_downward): Likewise.
46341         (pow_test): Likewise.
46342         (pow_test_tonearest): Likewise.
46343         (pow_test_towardzero): Likewise.
46344         (pow_test_downward): Likewise.
46345         (pow_test_upward): Likewise.
46346         (remainder_test): Likewise.
46347         (remquo_test): Likewise.
46348         (sin_test): Likewise.
46349         (sin_test_tonearest): Likewise.
46350         (sin_test_towardzero): Likewise.
46351         (sin_test_downward): Likewise.
46352         (sin_test_upward): Likewise.
46353         (sincos_test): Likewise.
46354         (sinh_test): Likewise.
46355         (sinh_test_tonearest): Likewise.
46356         (sinh_test_towardzero): Likewise.
46357         (sinh_test_downward): Likewise.
46358         (sinh_test_upward): Likewise.
46359         (sqrt_test): Likewise.
46360         (tan_test): Likewise.
46361         (tan_test_tonearest): Likewise.
46362         (tan_test_towardzero): Likewise.
46363         (tan_test_downward): Likewise.
46364         (tan_test_upward): Likewise.
46365         (tanh_test): Likewise.
46366         (tgamma_test): Likewise.
46367         (y0_test): Likewise.
46368         (y1_test): Likewise.
46369         (yn_test): Likewise.
46371         * math/gen-libm-test.pl (adjust_arg): Remove function.
46372         (special_function): Remove argument $in_func.  Only handle
46373         generating output for tables of tests, not inside functions.
46374         (parse_args): Likewise.
46375         (generate_testfile): Remove variable $in_func.  Update call to
46376         parse_args.
46377         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
46378         (MINUS_ZERO_INIT): Rename macro to minus_zero.
46379         (PLUS_INFTY_INIT): Rename macro to plus_infty.
46380         (MINUS_INFTY_INIT): Rename macro to minus_infty.
46381         (QNAN_VALUE_INIT): Rename macro to qnan_value.
46382         (MAX_VALUE_INIT): Rename macro to max_value.
46383         (MIN_VALUE_INIT): Rename macro to min_value.
46384         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
46385         (plus_zero): Remove variable.
46386         (minus_zero): Likewise.
46387         (plus_infty): Likewise.
46388         (minus_infty): Likewise.
46389         (qnan_value): Likewise.
46390         (max_value): Likewise.
46391         (min_value): Likewise.
46392         (min_subnorm_value): Likewise.
46394 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46396         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
46397         uint64_t or uint32_t usage.
46398         * crypt/sha256-block.c: Likewise.
46399         * crypt/sha256-crypt.c: Likewise.
46400         * crypt/sha256.c: Likewise.
46401         * crypt/sha512-block.c: Likewise.
46402         * crypt/sha512-crypt.c: Likewise.
46403         * crypt/sha512.c: Likewise.
46404         * debug/backtrace-tst.c: Likewise.
46405         * debug/pcprofiledump.c: Likewise.
46406         * elf/cache.c: Likewise.
46407         * elf/dl-cache.c: Likewise.
46408         * elf/dl-misc.c: Likewise.
46409         * elf/dl-profile.c: Likewise.
46410         * elf/dl-support.c: Likewise.
46411         * elf/ldconfig.c: Likewise.
46412         * elf/sprof.c: Likewise.
46413         * iconv/dummy-repertoire.c: Likewise.
46414         * iconv/iconv_charmap.c: Likewise.
46415         * iconv/skeleton.c: Likewise.
46416         * iconvdata/8bit-generic.c: Likewise.
46417         * iconvdata/cp737.h: Likewise.
46418         * iconvdata/cp775.h: Likewise.
46419         * iconvdata/ibm1008.h: Likewise.
46420         * iconvdata/ibm1025.h: Likewise.
46421         * iconvdata/ibm1046.h: Likewise.
46422         * iconvdata/ibm1097.h: Likewise.
46423         * iconvdata/ibm1112.h: Likewise.
46424         * iconvdata/ibm1122.h: Likewise.
46425         * iconvdata/ibm1123.h: Likewise.
46426         * iconvdata/ibm1124.h: Likewise.
46427         * iconvdata/ibm1129.h: Likewise.
46428         * iconvdata/ibm1130.h: Likewise.
46429         * iconvdata/ibm1132.h: Likewise.
46430         * iconvdata/ibm1133.h: Likewise.
46431         * iconvdata/ibm1137.h: Likewise.
46432         * iconvdata/ibm1140.h: Likewise.
46433         * iconvdata/ibm1141.h: Likewise.
46434         * iconvdata/ibm1142.h: Likewise.
46435         * iconvdata/ibm1143.h: Likewise.
46436         * iconvdata/ibm1144.h: Likewise.
46437         * iconvdata/ibm1145.h: Likewise.
46438         * iconvdata/ibm1146.h: Likewise.
46439         * iconvdata/ibm1147.h: Likewise.
46440         * iconvdata/ibm1148.h: Likewise.
46441         * iconvdata/ibm1149.h: Likewise.
46442         * iconvdata/ibm1153.h: Likewise.
46443         * iconvdata/ibm1154.h: Likewise.
46444         * iconvdata/ibm1155.h: Likewise.
46445         * iconvdata/ibm1156.h: Likewise.
46446         * iconvdata/ibm1157.h: Likewise.
46447         * iconvdata/ibm1158.h: Likewise.
46448         * iconvdata/ibm1160.h: Likewise.
46449         * iconvdata/ibm1161.h: Likewise.
46450         * iconvdata/ibm1162.h: Likewise.
46451         * iconvdata/ibm1163.h: Likewise.
46452         * iconvdata/ibm1164.h: Likewise.
46453         * iconvdata/ibm1166.h: Likewise.
46454         * iconvdata/ibm1167.h: Likewise.
46455         * iconvdata/ibm12712.h: Likewise.
46456         * iconvdata/ibm1390.h: Likewise.
46457         * iconvdata/ibm1399.h: Likewise.
46458         * iconvdata/ibm16804.h: Likewise.
46459         * iconvdata/ibm4517.h: Likewise.
46460         * iconvdata/ibm4899.h: Likewise.
46461         * iconvdata/ibm4909.h: Likewise.
46462         * iconvdata/ibm4971.h: Likewise.
46463         * iconvdata/ibm5347.h: Likewise.
46464         * iconvdata/ibm803.h: Likewise.
46465         * iconvdata/ibm856.h: Likewise.
46466         * iconvdata/ibm901.h: Likewise.
46467         * iconvdata/ibm902.h: Likewise.
46468         * iconvdata/ibm9030.h: Likewise.
46469         * iconvdata/ibm9066.h: Likewise.
46470         * iconvdata/ibm921.h: Likewise.
46471         * iconvdata/ibm922.h: Likewise.
46472         * iconvdata/ibm9448.h: Likewise.
46473         * iconvdata/isiri-3342.h: Likewise.
46474         * iconvdata/jis0201.h: Likewise.
46475         * include/link.h: Likewise.
46476         * include/netdb.h: Likewise.
46477         * inet/check_native.c: Likewise.
46478         * inet/check_pf.c: Likewise.
46479         * inet/getipv4sourcefilter.c: Likewise.
46480         * inet/getnameinfo.c: Likewise.
46481         * inet/getsourcefilter.c: Likewise.
46482         * inet/htonl.c: Likewise.
46483         * inet/setipv4sourcefilter.c: Likewise.
46484         * inet/setsourcefilter.c: Likewise.
46485         * inet/test-inet6_opt.c: Likewise.
46486         * inet/tst-network.c: Likewise.
46487         * locale/C-collate.c: Likewise.
46488         * locale/C-ctype.c: Likewise.
46489         * locale/C-time.c: Likewise.
46490         * locale/C-translit.h: Likewise.
46491         * locale/loadarchive.c: Likewise.
46492         * locale/programs/3level.h: Likewise.
46493         * locale/programs/charmap.c: Likewise.
46494         * locale/programs/charmap.h: Likewise.
46495         * locale/programs/ld-address.c: Likewise.
46496         * locale/programs/ld-collate.c: Likewise.
46497         * locale/programs/ld-ctype.c: Likewise.
46498         * locale/programs/ld-identification.c: Likewise.
46499         * locale/programs/ld-measurement.c: Likewise.
46500         * locale/programs/ld-messages.c: Likewise.
46501         * locale/programs/ld-monetary.c: Likewise.
46502         * locale/programs/ld-name.c: Likewise.
46503         * locale/programs/ld-numeric.c: Likewise.
46504         * locale/programs/ld-paper.c: Likewise.
46505         * locale/programs/ld-telephone.c: Likewise.
46506         * locale/programs/ld-time.c: Likewise.
46507         * locale/programs/linereader.c: Likewise.
46508         * locale/programs/locale.c: Likewise.
46509         * locale/programs/locarchive.c: Likewise.
46510         * locale/programs/locfile.h: Likewise.
46511         * locale/programs/repertoire.c: Likewise.
46512         * locale/programs/simple-hash.c: Likewise.
46513         * locale/programs/simple-hash.h: Likewise.
46514         * malloc/memusage.c: Likewise.
46515         * malloc/memusagestat.c: Likewise.
46516         * nis/nis_defaults.c: Likewise.
46517         * nis/nis_hash.c: Likewise.
46518         * nis/nis_print.c: Likewise.
46519         * nis/nis_xdr.c: Likewise.
46520         * nscd/connections.c: Likewise.
46521         * nscd/hstcache.c: Likewise.
46522         * nscd/nscd_gethst_r.c: Likewise.
46523         * nscd/nscd_getserv_r.c: Likewise.
46524         * nscd/nscd_helper.c: Likewise.
46525         * nscd/servicescache.c: Likewise.
46526         * nss/makedb.c: Likewise.
46527         * nss/nss_db/db-XXX.c: Likewise.
46528         * nss/nss_db/db-initgroups.c: Likewise.
46529         * nss/nss_db/db-netgrp.c: Likewise.
46530         * nss/nss_files/files-network.c: Likewise.
46531         * nss/nss_files/files-parse.c: Likewise.
46532         * posix/bug-regex5.c: Likewise.
46533         * posix/fnmatch_loop.c: Likewise.
46534         * posix/regcomp.c: Likewise.
46535         * posix/regexec.c: Likewise.
46536         * posix/tst-rfc3484-2.c: Likewise.
46537         * posix/tst-rfc3484-3.c: Likewise.
46538         * posix/tst-rfc3484.c: Likewise.
46539         * resolv/nss_dns/dns-canon.c: Likewise.
46540         * resolv/nss_dns/dns-network.c: Likewise.
46541         * resolv/res_init.c: Likewise.
46542         * resolv/res_mkquery.c: Likewise.
46543         * resolv/tst-aton.c: Likewise.
46544         * stdlib/cxa_atexit.c: Likewise.
46545         * stdlib/cxa_finalize.c: Likewise.
46546         * stdlib/gen-fpioconst.c: Likewise.
46547         * stdlib/strtol_l.c: Likewise.
46548         * string/tst-endian.c: Likewise.
46549         * sunrpc/auth_des.c: Likewise.
46550         * sunrpc/clnt_udp.c: Likewise.
46551         * sunrpc/rtime.c: Likewise.
46552         * sunrpc/svcauth_des.c: Likewise.
46553         * sunrpc/xdr.c: Likewise.
46554         * sunrpc/xdr_intXX_t.c: Likewise.
46555         * sunrpc/xdr_rec.c: Likewise.
46556         * sysdeps/generic/ldconfig.h: Likewise.
46557         * sysdeps/generic/ldsodefs.h: Likewise.
46558         * sysdeps/generic/memusage.h: Likewise.
46559         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46560         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
46561         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
46562         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46563         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46564         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46565         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46566         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46567         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46568         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46569         * sysdeps/posix/getaddrinfo.c: Likewise.
46570         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46571         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46572         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46573         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46574         * sysdeps/powerpc/test-gettimebase.c: Likewise.
46575         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46576         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
46577         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
46578         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46579         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
46580         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46581         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46582         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
46583         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
46584         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
46585         * sysdeps/x86_64/dl-tls.h: Likewise.
46586         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
46587         * time/alt_digit.c: Likewise.
46588         * time/era.c: Likewise.
46589         * wcsmbs/tst-c16c32-1.c: Likewise.
46591 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46593         * math/libm-test.inc (struct test_sincos_data): New type.
46594         (RUN_TEST_LOOP_sincos): New macro.
46595         (sincos_test_data): New variable.
46596         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
46598 2013-05-16  Richard Henderson  <rth@redhat.com>
46600         * math/atest-exp2.c (LIMB64): New macro.
46601         (CONSTSZ): New macro.
46602         (mp_exp1, mp_exp_m1, mp_log2): New variables.
46603         (hexdig): Move ...
46604         (print_mpn_fp): ... to function scope.
46605         (read_mpn_hex): Remove.
46606         (get_log2): Remove.
46607         (exp2_mpn): Use mp_log2.
46608         (main): Use mp_exp1.
46610 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46612         * math/libm-test.inc: Remove comment about not testing "inexact"
46613         exceptions.
46614         (INEXACT_EXCEPTION): New macro.
46615         (NO_INEXACT_EXCEPTION): Likewise.
46616         (INVALID_EXCEPTION_OK): Update value.
46617         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46618         (OVERFLOW_EXCEPTION_OK): Likewise.
46619         (UNDERFLOW_EXCEPTION_OK): Likewise.
46620         (IGNORE_ZERO_INF_SIGN): Likewise.
46621         (ERRNO_UNCHANGED): Likewise.
46622         (ERRNO_EDOM): Likewise.
46623         (ERRNO_ERANGE): Likewise.
46624         (test_exceptions): Handle testing "inexact" exceptions.
46625         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
46626         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
46627         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
46628         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
46629         INEXACT_EXCEPTION.
46630         (rint_towardzero_test_data): Likewise.
46631         (rint_downward_test_data): Likewise.
46632         (rint_upward_test_data): Likewise.
46634         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
46635         with OVERFLOW_EXCEPTION.
46636         (exp10_test_data): Likewise.
46637         (exp2_test_data): Likewise.
46638         (expm1_test_data): Likewise.
46639         (lgamma_test_data): Likewise.
46640         (pow_test_data): Likewise.
46641         (tgamma_test_data): Likewise.
46642         (yn_test_data): Remove duplicate test of overflow.
46644         * math/libm-test.inc (struct test_cc_c_data): New type.
46645         (RUN_TEST_LOOP_cc_c): New macro.
46646         (cpow_test_data): New variable.
46647         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
46649         * math/libm-test.inc (struct test_f_L_data): New type.
46650         (RUN_TEST_LOOP_f_L): New macro.
46651         (llrint_test_data): New variable.
46652         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
46653         (llrint_tonearest_test_data): New variable.
46654         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
46655         (llrint_towardzero_test_data): New variable.
46656         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
46657         (llrint_downward_test_data): New variable.
46658         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
46659         (llrint_upward_test_data): New variable.
46660         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
46661         (llround_test_data): New variable.
46662         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
46664 2013-05-13  Peter Collingbourne  <pcc@google.com>
46666         * math/atest-exp2.c (get_log2): Remove const attribute.
46668 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46670         * math/libm-test.inc (struct test_f_l_data): New type.
46671         (RUN_TEST_LOOP_f_l): New macro.
46672         (lrint_test_data): New variable.
46673         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
46674         (lrint_tonearest_test_data): New variable.
46675         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
46676         (lrint_towardzero_test_data): New variable.
46677         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
46678         (lrint_downward_test_data): New variable.
46679         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
46680         (lrint_upward_test_data): New variable.
46681         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
46682         (lround_test_data): New variable.
46683         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
46685 2013-05-15  Peter Collingbourne  <pcc@google.com>
46687         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
46688         (EXTRACT_WORDS64) Use where appropriate.
46689         (INSERT_WORDS64) Likewise.
46691         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
46692         constraints with x constraints.
46693         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
46695         * malloc/obstack.c (_obstack_compat): Add initializer.
46697 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46699         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
46700         si_trapno and add si_addr_lsb to _sifields.sigfault.
46701         (si_trapno): Remove macro.
46702         (si_addr_lsb): Define new macro.
46703         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46705 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46707         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
46708         instead of TEST_f_l.
46709         (llrint_test_tonearest): Likewise.
46710         (llrint_test_towardzero): Likewise.
46711         (llrint_test_downward): Likewise.
46712         (llrint_test_upward): Likewise.
46713         (llround_test): Likewise.
46715         * math/libm-test.inc (struct test_f_i_data): Add comment.
46716         (RUN_TEST_LOOP_f_b): New macro.
46717         (RUN_TEST_LOOP_f_b_tg): Likewise.
46718         (finite_test_data): New variable.
46719         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
46720         (isfinite_test_data): New variable.
46721         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46722         (isinf_test_data): New variable.
46723         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46724         (isnan_test_data): New variable.
46725         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46726         (isnormal_test_data): New variable.
46727         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46728         (issignaling_test_data): New variable.
46729         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46730         (signbit_test_data): New variable.
46731         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46733         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
46734         with INVALID_EXCEPTION.
46735         (acosh_test_data): Likewise.
46736         (asin_test_data): Likewise.
46737         (atanh_test_data): Likewise.
46738         (fmod_test_data): Likewise.
46739         (log_test_data): Likewise.
46740         (log10_test_data): Likewise.
46741         (log2_test_data): Likewise.
46742         (pow_test_data): Likewise.
46743         (sqrt_test_data): Likewise.
46744         (y0_test_data): Likewise.
46745         (y1_test_data): Likewise.
46746         (yn_test_data): Likewise.
46748         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
46749         function contents.
46751         * math/libm-test.inc (struct test_ff_i_data): New type.
46752         (RUN_TEST_LOOP_ff_i_tg): New macro.
46753         (isgreater_test_data): New variable.
46754         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46755         (isgreaterequal_test_data): New variable.
46756         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46757         (isless_test_data): New variable.
46758         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46759         (islessequal_test_data): New variable.
46760         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46761         (islessgreater_test_data): New variable.
46762         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46763         (isunordered_test_data): New variable.
46764         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46766 2013-05-14  David S. Miller  <davem@davemloft.net>
46768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46770 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
46772         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
46774         * math/libm-test.inc (struct test_fF_f1_data): Change type of
46775         extra_test to int.
46776         (struct test_f_i_data): Change type of max_ulp to int.
46778         * math/libm-test.inc (test_ffI_f1_data): New type.
46779         (RUN_TEST_LOOP_ffI_f1): New macro.
46780         (remquo_test_data): New variable.
46781         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
46783         * setjmp/tst-setjmp-fp.c: New file.
46784         * setjmp/Makefile (tests): Add tst-setjmp-fp.
46785         (link-libm): New variable.
46786         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
46788         * math/libm-test.inc (struct test_f_i_data): New type.
46789         (RUN_TEST_LOOP_f_i): New macro.
46790         (RUN_TEST_LOOP_f_i_tg): Likewise.
46791         (fpclassify_test_data): New variable.
46792         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
46793         (ilogb_test_data): New variable.
46794         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
46796         * math/libm-test.inc (scalbln_test): Correct function name in END
46797         call.
46799         * math/libm-test.inc (struct test_f_f1_data): Add comment.
46800         (RUN_TEST_LOOP_fI_f1): New macro.
46801         (frexp_test_data): New variable.
46802         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
46804         * math/libm-test.inc (struct test_fF_f1_data): New type.
46805         (RUN_TEST_LOOP_fF_f1): New macro.
46806         (modf_test_data): New variable.
46807         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
46809         * math/libm-test.inc (struct test_f_f1_data): New type.
46810         (RUN_TEST_LOOP_f_f1): New macro.
46811         (gamma_test_data): New variable.
46812         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46813         (lgamma_test_data): New variable.
46814         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46816 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
46818         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
46819         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
46820         (main): Comment "tls" pseudo-hwcap.
46822 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
46824         * math/libm-test.inc (struct test_fl_f_data): New type.
46825         (RUN_TEST_LOOP_fl_f): New variable.
46826         (scalbln_test_data): New variable.
46827         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
46829         * math/libm-test.inc (struct test_fi_f_data): New type.
46830         (RUN_TEST_LOOP_fi_f): New macro.
46831         (ldexp_test_data): New variable.
46832         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
46833         (scalbn_test_data): New variable.
46834         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
46836         * math/libm-test.inc (struct test_c_f_data): New type.
46837         (RUN_TEST_LOOP_c_f): New macro.
46838         (cabs_test_data): New variable.
46839         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
46840         (carg_test_data): New variable.
46841         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
46842         (cimag_test_data): New variable.
46843         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
46844         (creal_test_data): New variable.
46845         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
46847         * math/libm-test.inc (struct test_if_f_data): New type.
46848         (RUN_TEST_LOOP_if_f): New macro.
46849         (jn_test_data): New variable.
46850         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
46851         (yn_test_data): New variable.
46852         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
46854         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
46856 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46858         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
46859         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
46861 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46863         * benchtests/Makefile (CPPFLAGS-nonlib): Add
46864         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
46865         (bench-deps): Add bench-timing.h.
46866         * benchtests-bench-skeleton.c: Include bench-timing.h.
46867         (main): Use TIMING_* macros instead of clock_gettime.
46868         * benchtests/bench-timing.h: New file.
46870         [BZ #14582]
46871         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
46872         Renamed from _LIB_VERSION.
46873         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
46875 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
46877         * math/libm-test.inc (struct test_fff_f_data): New type.
46878         (RUN_TEST_LOOP_fff_f): New macro.
46879         (fma_test_data): New variable.
46880         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
46881         (fma_towardzero_test_data): New variable.
46882         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
46883         (fma_downward_test_data): New variable.
46884         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
46885         (fma_upward_test_data): New variable.
46886         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
46888         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
46889         (struct test_c_c_data): New type.
46890         (RUN_TEST_LOOP_c_c): New macro.
46891         (cacos_test_data): New variable.
46892         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
46893         (cacosh_test_data): New variable.
46894         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
46895         (casin_test_data): New variable.
46896         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
46897         (casinh_test_data): New variable.
46898         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
46899         (catan_test_data): New variable.
46900         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
46901         (catanh_test_data): New variable.
46902         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
46903         (ccos_test_data): New variable.
46904         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
46905         (ccosh_test_data): New variable.
46906         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
46907         (cexp_test_data): New variable.
46908         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
46909         (clog_test_data): New variable.
46910         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
46911         (clog10_test_data): New variable.
46912         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
46913         (conj_test_data): New variable.
46914         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
46915         (cproj_test_data): New variable.
46916         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
46917         (csin_test_data): New variable.
46918         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
46919         (csinh_test_data): New variable.
46920         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
46921         (csqrt_test_data): New variable.
46922         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
46923         (ctan_test_data): New variable.
46924         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
46925         (ctan_tonearest_test_data): New variable.
46926         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46927         (ctan_towardzero_test_data): New variable.
46928         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46929         (ctan_downward_test_data): New variable.
46930         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46931         (ctan_upward_test_data): New variable.
46932         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46933         (ctanh_test_data): New variable.
46934         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
46935         (ctanh_tonearest_test_data): New variable.
46936         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46937         (ctanh_towardzero_test_data): New variable.
46938         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46939         (ctanh_downward_test_data): New variable.
46940         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46941         (ctanh_upward_test_data): New variable.
46942         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46943         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
46944         of BUILD_COMPLEX.
46946         * math/libm-test.inc (struct test_ff_f_data): New type.
46947         (struct test_ff_f_data_nexttoward): Likewise.
46948         (RUN_TEST_LOOP_2_f): New macro.
46949         (RUN_TEST_LOOP_ff_f): Likewise.
46950         (atan2_test_data): New variable.
46951         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
46952         (copysign_test_data): New variable.
46953         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
46954         (fdim_test_data): New variable.
46955         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
46956         (fmax_test_data): New variable.
46957         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
46958         (fmin_test_data): New variable.
46959         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
46960         (fmod_test_data): New variable.
46961         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
46962         (hypot_test_data): New variable.
46963         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
46964         (nextafter_test_data): New variable.
46965         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
46966         (nexttoward_test_data): New variable.
46967         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
46968         (pow_test_data): New variable.
46969         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
46970         (pow_tonearest_test_data): New variable.
46971         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
46972         (pow_towardzero_test_data): New variable.
46973         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
46974         (pow_downward_test_data): New variable.
46975         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
46976         (pow_upward_test_data): New variable.
46977         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
46978         (remainder_test_data): New variable.
46979         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
46980         (scalb_test_data): New variable.
46981         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
46982         * sysdeps/i386/fpu/libm-test-ulps: Update.
46984 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
46986         * math/libm-test.inc (fma_test): Use max_value instead of local
46987         variable fltmax.
46988         (nextafter_test): Likewise.
46990         * math/libm-test.inc (acos_towardzero_test_data): New variable.
46991         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46992         (acos_downward_test_data): New variable.
46993         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46994         (acos_upward_test_data): New variable.
46995         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46996         (acosh_test_data): New variable.
46997         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
46998         (asin_test_data): New variable.
46999         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
47000         (asin_tonearest_test_data): New variable.
47001         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47002         (asin_towardzero_test_data): New variable.
47003         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47004         (asin_downward_test_data): New variable.
47005         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47006         (asin_upward_test_data): New variable.
47007         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47008         (asinh_test_data): New variable.
47009         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
47010         (atan_test_data): New variable.
47011         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
47012         (atanh_test_data): New variable.
47013         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
47014         (cbrt_test_data): New variable.
47015         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
47016         (ceil_test_data): New variable.
47017         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
47018         (cos_test_data): New variable.
47019         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
47020         (cos_tonearest_test_data): New variable.
47021         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47022         (cos_towardzero_test_data): New variable.
47023         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47024         (cos_downward_test_data): New variable.
47025         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47026         (cos_upward_test_data): New variable.
47027         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47028         (cosh_test_data): New variable.
47029         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
47030         (cosh_tonearest_test_data): New variable.
47031         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47032         (cosh_towardzero_test_data): New variable.
47033         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47034         (cosh_downward_test_data): New variable.
47035         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47036         (cosh_upward_test_data): New variable.
47037         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47038         (erf_test_data): New variable.
47039         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
47040         (erfc_test_data): New variable.
47041         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
47042         (exp_test_data): New variable.
47043         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
47044         (exp_tonearest_test_data): New variable.
47045         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47046         (exp_towardzero_test_data): New variable.
47047         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47048         (exp_downward_test_data): New variable.
47049         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47050         (exp_upward_test_data): New variable.
47051         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47052         (exp10_test_data): New variable.
47053         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
47054         (exp2_test_data): New variable.
47055         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
47056         (expm1_test_data): New variable.
47057         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
47058         (fabs_test_data): New variable.
47059         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
47060         (floor_test_data): New variable.
47061         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
47062         (j0_test_data): New variable.
47063         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
47064         (j1_test_data): New variable.
47065         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
47066         (log_test_data): New variable.
47067         (log_test): Run tests with RUN_TEST_LOOP_f_f.
47068         (log10_test_data): New variable.
47069         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
47070         (log1p_test_data): New variable.
47071         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
47072         (log2_test_data): New variable.
47073         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
47074         (logb_test_data): New variable.
47075         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
47076         (logb_downward_test_data): New variable.
47077         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47078         (nearbyint_test_data): New variable.
47079         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
47080         (rint_test_data): New variable.
47081         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
47082         (rint_tonearest_test_data): New variable.
47083         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47084         (rint_towardzero_test_data): New variable.
47085         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47086         (rint_downward_test_data): New variable.
47087         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47088         (rint_upward_test_data): New variable.
47089         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47090         (round_test_data): New variable.
47091         (round_test): Run tests with RUN_TEST_LOOP_f_f.
47092         (sin_test_data): New variable.
47093         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
47094         (sin_tonearest_test_data): New variable.
47095         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47096         (sin_towardzero_test_data): New variable.
47097         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47098         (sin_downward_test_data): New variable.
47099         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47100         (sin_upward_test_data): New variable.
47101         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47102         (sinh_test_data): New variable.
47103         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
47104         (sinh_tonearest_test_data): New variable.
47105         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47106         (sinh_towardzero_test_data): New variable.
47107         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47108         (sinh_downward_test_data): New variable.
47109         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47110         (sinh_upward_test_data): New variable.
47111         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47112         (sqrt_test_data): New variable.
47113         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
47114         (tan_test_data): New variable.
47115         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
47116         (tan_tonearest_test_data): New variable.
47117         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47118         (tan_towardzero_test_data): New variable.
47119         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47120         (tan_downward_test_data): New variable.
47121         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47122         (tan_upward_test_data): New variable.
47123         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47124         (tanh_test_data): New variable.
47125         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
47126         (tgamma_test_data): New variable.
47127         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
47128         (trunc_test_data): New variable.
47129         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
47130         (y0_test_data): New variable.
47131         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
47132         (y1_test_data): New variable.
47133         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
47134         (significand_test_data): New variable.
47135         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
47137 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
47139         [BZ #12387]
47140         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
47142 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47144         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
47146 2013-05-10  Andreas Jaeger  <aj@suse.de>
47148         [BZ #15448]
47149         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
47150         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
47152 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47154         * math/gen-libm-test.pl (adjust_arg): New function.
47155         (special_functions): Handle generating output in both functions
47156         and arrays.
47157         (parse_args): Likewise.
47158         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
47159         $in_func argument to parse_args.
47160         * math/libm-test.inc (struct test_f_f_data): New type.
47161         (IF_ROUND_INIT_): New macro.
47162         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
47163         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47164         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47165         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47166         (ROUND_RESTORE_): Likewise.
47167         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
47168         (ROUND_RESTORE_FE_TONEAREST): Likewise.
47169         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
47170         (ROUND_RESTORE_FE_UPWARD): Likewise.
47171         (RUN_TEST_LOOP_f_f): New macro.
47172         (acos_test_data): New variable.
47173         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
47174         (acos_tonearest_test_data): New variable.
47175         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47177 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47179         * benchtests/bench-skeleton.c (startup): Fix coding style.
47181 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47183         [BZ #6809]
47184         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
47185         negative infinity argument.
47186         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
47187         negative infinity argument.
47188         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
47189         negative infinity argument.
47190         * math/libm-test.inc (tgamma_test): Expect errno to be set for
47191         domain errors.
47193 2013-05-10  Florian Weimer  <fweimer@redhat.com>
47195         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
47196         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
47197         * iconv/iconv_prog.c (main): Likewise.
47198         * locale/programs/charmap-dir.c (charmap_readdir)
47199         (fopen_uncompressed): Likewise.
47200         * locale/programs/locfile.c (siblings_uncached)
47201         (write_locale_data): Use lstat64 instead of lstat.
47202         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
47203         stat.
47205 2013-05-10  Andreas Jaeger  <aj@suse.de>
47207         [BZ #15395]
47208         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
47209         localization.
47210         Include <locale.h>.
47212 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
47214         * elf/dl-close.c (_dl_close_worker): Add comments.
47216 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
47218         [BZ #15359]
47219         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
47220         high part of pi/2.
47221         (__ieee754_rem_pio2l): Update comments.
47223         [BZ #15429]
47224         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
47225         high part of pi/2.
47226         (__ieee754_rem_pio2l): Update comments.
47228         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
47229         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
47231         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
47232         M_PI_4l.
47234         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
47235         (M_PI_34_LOG10El): Likewise.
47236         (M_PI2_LOG10El): Likewise.
47237         (M_PI4_LOG10El): Likewise.
47238         (M_PI_LOG10El): Likewise.
47240 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47244 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
47246         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
47247         (MINUS_ZERO_INIT): Likewise.
47248         (PLUS_INFTY_INIT): Likewise.
47249         (MINUS_INFTY_INIT): Likewise.
47250         (QNAN_VALUE_INIT): Likewise.
47251         (MAX_VALUE_INIT): Likewise.
47252         (MIN_VALUE_INIT): Likewise.
47253         (MIN_SUBNORM_VALUE_INIT): Likewise.
47254         (plus_zero): Initialize with PLUS_ZERO_INIT.
47255         (minus_zero): Initialize with MINUS_ZERO_INIT.
47256         (plus_infty): Initialize with PLUS_INFTY_INIT.
47257         (minus_infty): Initialize with MINUS_INFTY_INIT.
47258         (qnan_value): Initialize with QNAN_VALUE_INIT.
47259         (max_value): Initialize with MAX_VALUE_INIT.
47260         (min_value): Initialize with MIN_VALUE_INIT.
47261         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
47263         * math/libm-test.inc (RUN_TEST_if_f): New macro.
47264         (jn_test): Use TEST_if_f instead of TEST_ff_f.
47265         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
47266         (yn_test): Use TEST_if_f instead of TEST_ff_f.
47268         * math/libm-test.inc (RUN_TEST_f_f): New macro.
47269         (RUN_TEST_2_f): Likewise.
47270         (RUN_TEST_ff_f): Likewise.
47271         (RUN_TEST_fi_f): Likewise.
47272         (RUN_TEST_fl_f): Likewise.
47273         (RUN_TEST_fff_f): Likewise.
47274         (RUN_TEST_c_f): Likewise.
47275         (RUN_TEST_f_f1): Likewise.
47276         (RUN_TEST_fF_f1): Likewise.
47277         (RUN_TEST_fI_f1): Likewise.
47278         (RUN_TEST_ffI_f1): Likewise.
47279         (RUN_TEST_c_c): Likewise.
47280         (RUN_TEST_cc_c): Likewise.
47281         (RUN_TEST_f_i): Likewise.
47282         (RUN_TEST_f_i_tg): Likewise.
47283         (RUN_TEST_ff_i_tg): Likewise.
47284         (RUN_TEST_f_b): Likewise.
47285         (RUN_TEST_f_b_tg): Likewise.
47286         (RUN_TEST_f_l): Likewise.
47287         (RUN_TEST_f_L): Likewise.
47288         (RUN_TEST_sincos): Likewise.
47289         * math/gen-libm-test.pl (new_test): Take new argument to indicate
47290         whether to show exceptions.  Do not include ");\n" in return
47291         value.
47292         (special_functions): Output call to RUN_TEST_sincos instead of
47293         check_float calls.  Update calls to new_test.
47294         (parse_args): Output call to single RUN_TEST_* macro instead of
47295         check_* calls and other assignments.  Update calls to new_test.
47297         [BZ #2546]
47298         [BZ #2560]
47299         [BZ #5159]
47300         [BZ #15426]
47301         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
47302         input to result for tgamma overflow.
47303         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
47304         (gamma_coeff): New variable.
47305         (NCOEFF): New macro.
47306         (gamma_positive): New function.
47307         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
47308         underflow here.  Use gamma_positive instead of exp (lgamma) for
47309         other arguments.
47310         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
47311         (gamma_coeff): New variable.
47312         (NCOEFF): New macro.
47313         (gammaf_positive): New function.
47314         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
47315         underflow here.  Use gamma_positive instead of exp (lgamma) for
47316         other arguments.
47317         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
47318         (gamma_coeff): New variable.
47319         (NCOEFF): New macro.
47320         (gammal_positive): New function.
47321         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
47322         underflow here.  Use gamma_positive instead of exp (lgamma) for
47323         other arguments.
47324         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
47325         (gamma_coeff): New variable.
47326         (NCOEFF): New macro.
47327         (gammal_positive): New function.
47328         (__ieee754_gammal_r): Handle positive infinity, overflow and
47329         underflow here.  Handle NaN the same as positive infinity.  Remove
47330         check x < 0xffffffff for negative integers.  Use gamma_positive
47331         instead of exp (lgamma) for other arguments.
47332         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
47333         (gamma_coeff): New variable.
47334         (NCOEFF): New macro.
47335         (gammal_positive): New function.
47336         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
47337         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
47338         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
47339         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
47340         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
47341         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
47342         * sysdeps/generic/math_private.h (__gamma_productf): New
47343         prototype.
47344         (__gamma_product): Likewise.
47345         (__gamma_productl): Likewise.
47346         * math/Makefile (libm-calls): Add gamma_product.
47347         * math/libm-test.inc (tgamma_test): Add more tests.
47348         * sysdeps/i386/fpu/libm-test-ulps: Update.
47349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47351 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
47353         * benchtests/bench-skeleton.c (main): Preheat CPU.
47355 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
47357         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
47359 2013-05-07  Roland McGrath  <roland@hack.frob.com>
47361         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
47362         and _dl_skip_args_internal.
47364 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
47366         * manual/message.texi (Message Translation): Talk about users.
47367         Message to key mapping impacts design.
47369 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47371         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
47373         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
47375         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
47376         * sysdeps/wordsize-64/glob64.c: ... here.
47378         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
47379         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
47380         New macros.
47382         * debug/getlogin_r_chk.c: Moved to ...
47383         * login/getlogin_r_chk.c: ... here.
47384         * debug/Makefile (routines): Move getlogin_r_chk to ...
47385         * login/Makefile (routines): ... here.
47386         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
47387         * login/Versions (libc: GLIBC_2.4): ... here.
47389         * io/poll.c (__poll): Renamed from poll.
47390         Add libc_hidden_def.
47391         (poll): Define as weak alias.
47393         * debug/ptsname_r_chk.c: Moved to ...
47394         * login/ptsname_r_chk.c: ... here.
47395         * debug/Makefile (routines): Move ptsname_r_chk to ...
47396         * login/Makefile (routines): ... here.
47397         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
47398         * login/Versions (libc: GLIBC_2.4): ... here.
47400         * posix/getlogin.c: Moved to ...
47401         * login/getlogin.c: ... here.
47402         * posix/getlogin_r.c: Moved to ...
47403         * login/getlogin_r.c: ... here.
47404         * posix/getlogin_r.c: Moved to ...
47405         * login/getlogin_r.c: ... here.
47406         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
47407         * login/Makefile (routines): ... here.
47408         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
47409         * login/Versions (libc: GLIBC_2.0): ... here.
47411         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
47412         (setrlimit): Define as weak alias.
47414         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
47415         Call __ names for open, ftruncate, and close.
47416         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
47417         (truncate): Define as weak alias.
47419 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
47421         * math/gen-libm-test.pl (parse_args): Initialize x before each
47422         test of frexp, modf and remquo.
47424         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
47425         test signgam value.
47427 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47429         [BZ #15418]
47430         [BZ #15419]
47431         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
47432         internal tests.
47433         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47435 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47437         * elf/dl-writev.h: New file.
47438         * elf/dl-misc.c: Include it.
47439         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
47440         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
47442 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
47444         * math/libm-test.inc (noXFails): Remove variable.
47445         (noXPasses): Likewise.
47446         (BUILD_COMPLEX_INT): Remove macro.
47447         (print_screen): Remove xfail argument.
47448         (print_screen_max_error): Likewise.
47449         (update_stats): Likewise.
47450         (print_max_error): Likewise.  Update calls to other affected
47451         functions.
47452         (print_complex_max_error): Likewise.
47453         (test_single_exception): Update calls to print_screen.
47454         (test_single_errno): Likewise.
47455         (check_float_internal): Remove xfail argument.  Update calls to
47456         other affected functions.
47457         (check_float): Likewise.
47458         (check_complex): Likewise.
47459         (check_int): Likewise.
47460         (check_long): Likewise.
47461         (check_bool): Likewise.
47462         (check_longlong): Likewise.
47463         (main): Don't print noXFails and noXPasses.
47464         * math/gen-libm-test.pl (top level): Don't mention expected
47465         failure handling in comment.
47466         (new_test): Don't handle expected failures.
47467         (parse_args): Don't mention expected failure handling in comment.
47468         (generate_testfile): Don't handle expected failures.
47469         (parse_ulps): Likewise.
47470         (print_ulps_file): Likewise.
47471         (get_failure): Remove function.
47472         (output_test): Don't handle expected failures.
47473         * make/README.libm-test: Don't mention expected failure handling.
47475         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
47476         (minus_zero): Likewise.
47477         (plus_infty): Likewise.
47478         (minus_infty): Likewise.
47479         (qnan_value): Likewise.
47480         (max_value): Likewise.
47481         (min_value): Likewise.
47482         (min_subnorm_value): Likewise.
47483         (initialize): Do not initialize those variables dynamically.
47485 2013-05-03  Roland McGrath  <roland@hack.frob.com>
47487         * io/open.c (__open_2): Moved to ...
47488         * io/open_2.c: ... this new file.
47489         * io/open64.c (__open64_2): Moved to ...
47490         * io/open64_2.c: ... this new file.
47491         * io/openat.c (__openat_2): Moved to ...
47492         * io/openat_2.c: ... this new file.
47493         * io/openat64.c (__openat64_2): Moved to ...
47494         * io/openat64_2.c: ... this new file.
47495         * io/Makefile (routines): Add them.
47496         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
47497         * sysdeps/unix/sysv/linux/open_2.c: File removed.
47498         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
47499         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
47500         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
47501         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
47502         (__openat64): Add hidden_ver.
47503         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
47504         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
47506         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
47507         Separately conditionalize setting of GLRO(dl_sysinfo) so
47508         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
47509         as well, but the actual setting is only under [NEED_DL_SYSINFO].
47511 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47513         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
47514         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
47515         definition.
47516         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
47517         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47518         (_libc_vdso_platform_setup): Add __vdso_time initialization.
47519         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
47520         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
47522 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
47524         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
47525         test signgam value.
47527         * math/libm-test.inc (hypot_test): Do not use
47528         IGNORE_ZERO_INF_SIGN.
47530 2013-05-03  Andreas Jaeger  <aj@suse.de>
47532         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
47533         Linux 3.9.
47534         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
47535         (PF_MAX): Adjust for VSOCK change.
47537 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47541 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
47543         [BZ #15264]
47544         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
47545         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
47546         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
47548 2013-05-02  David S. Miller  <davem@davemloft.net>
47550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47552 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
47554         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
47556 2013-05-01  Roland McGrath  <roland@hack.frob.com>
47558         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
47560 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
47562         [BZ #14952]
47563         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
47564         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47565         Use __attribute__ ((__gnu_inline__)).
47566         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47567         Don't use __attribute__ ((__gnu_inline__)).
47569 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
47571         [BZ #15423]
47572         * math/s_catan.c (__catan): Handle small real or imaginary part of
47573         input specially to avoid spurious underflow.
47574         * math/s_catanf.c (__catanf): Likewise.
47575         * math/s_catanh.c (__catanh): Likewise.
47576         * math/s_catanhf.c (__catanhf): Likewise.
47577         * math/s_catanhl.c (__catanhl): Likewise.
47578         * math/s_catanl.c (__catanl): Likewise.
47579         * math/libm-test.inc (catan_test): Add more tests.
47580         (catanh_test): Likewise.
47581         * sysdeps/i386/fpu/libm-test-ulps: Update.
47582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47584 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47588 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
47590         [BZ #15416]
47591         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
47592         accurately for denominator in atan2.
47593         * math/s_catanf.c (__catanf): Likewise.
47594         * math/s_catanh.c (__catanh): Likewise.
47595         * math/s_catanhf.c (__catanhf): Likewise.
47596         * math/s_catanhl.c (__catanhl): Likewise.
47597         * math/s_catanl.c (__catanl): Likewise.
47598         * math/libm-test.inc (catan_test): Add more tests.
47599         (catanh_test): Likewise.
47600         * sysdeps/i386/fpu/libm-test-ulps: Update.
47601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47603 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47605         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
47607         * benchtests/Makefile (bench): Remove slow benchmarks.
47608         * benchtests/atan-inputs: Add slow benchmark inputs.
47609         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
47610         (BENCH_FUNC): Accept variant offset.
47611         (VARIANT): Define.
47612         * benchtests/bench-skeleton.c (main): Run benchmark for each
47613         variant.
47614         * benchtests/cos-inputs: Add slow benchmark inputs.
47615         * benchtests/exp-inputs: Likewise.
47616         * benchtests/pow-inputs: Likewise.
47617         * benchtests/sin-inputs: Likewise.
47618         * benchtests/slowatan-inputs: Remove.
47619         * benchtests/slowatan.c: Remove.
47620         * benchtests/slowcos-inputs: Remove.
47621         * benchtests/slowcos.c: Remove.
47622         * benchtests/slowexp-inputs: Remove.
47623         * benchtests/slowexp.c: Remove.
47624         * benchtests/slowpow-inputs: Remove.
47625         * benchtests/slowpow.c: Remove.
47626         * benchtests/slowsin-inputs: Remove.
47627         * benchtests/slowsin.c: Remove.
47628         * benchtests/slowtan-inputs: Remove.
47629         * benchtests/slowtan.c: Remove.
47630         * benchtests/tan-inputs: Add slow benchmark inputs.
47631         * scripts/bench.pl: Parse comments and directives.
47633         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
47634         in CPPFLAGS.
47635         ($(objpfx)bench-%.c): Remove *-ITER.
47636         * benchtests/bench-modf.c: Remove definition of ITER.
47637         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
47638         (main): Loop for DURATION seconds instead of fixed number of
47639         iterations.
47640         * scripts/bench.pl: Don't expect iterations in parameters.
47642 2013-04-29  Roland McGrath  <roland@hack.frob.com>
47644         * io/fchdir.c (__fchdir): Renamed from fchdir.
47645         (fchdir): Define as weak alias.
47647 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47649         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
47650         (ERRNO_EDOM): Likewise.
47651         (ERRNO_ERANGE): Likewise.
47652         (noErrnoTests): New variable.
47653         (init_max_error): Set errno to 0.
47654         (test_single_errno): New function.
47655         (test_errno): Likewise.
47656         (check_float_internal): Call test_errno.  Set errno to 0.
47657         (check_complex): Refer to errno tests in comment.
47658         (check_int): Call test_errno.  Set errno to 0.
47659         (check_long): Likewise.
47660         (check_bool): Likewise.
47661         (check_longlong): Likewise.
47662         (cos_test): Use ERRNO_* flags for errno tests instead of
47663         check_int.
47664         (expm1_test): Likewise.
47665         (fmod_test): Likewise.
47666         (ilogb_test): Likewise.
47667         (lgamma_test): Likewise.
47668         (pow_test): Likewise.
47669         (remainder_test): Likewise.
47670         (sin_test): Likewise.
47671         (tan_test): Likewise.
47672         (yn_test): Likewise.
47673         (initialize): Set errno to 0.
47674         (main): Print number of errno tests.
47675         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
47677 2013-04-29  Andreas Jaeger  <aj@suse.de>
47679         [BZ #15084]
47680         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
47681         and RES_USEVC.
47683         [BZ #15085]
47684         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
47685         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
47686         unimplemented.
47688         [BZ #15380]
47689         * stdlib/random.c (__initstate): Return NULL if
47690         __initstate fails.
47692         [BZ #15086]
47693         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
47694         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
47695         RES_SNGLKUPREOP.
47697 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47701 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47703         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
47704         of individual tests.
47705         (casin_test): Likewise.
47706         (casinh_test): Likewise.
47708 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
47710         [BZ #15409]
47711         * math/s_catan.c (__catan): Handle arguments with large real or
47712         imaginary part separately without squaring.
47713         * math/s_catanf.c (__catanf): Likewise.
47714         * math/s_catanh.c (__catanh): Likewise.
47715         * math/s_catanhf.c (__catanhf): Likewise.
47716         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47717         and redefine.
47718         (__catanhl): Handle arguments with large real or imaginary part
47719         separately without squaring.
47720         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47721         and redefine.
47722         (__catanl): Handle arguments with large real or imaginary part
47723         separately without squaring.
47724         * math/libm-test.inc (catan_test): Add more tests.
47725         (catanh_test): Likewise.
47726         * sysdeps/i386/fpu/libm-test-ulps: Update.
47727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47729 2013-04-27  Andreas Jaeger  <aj@suse.de>
47731         [BZ #15007]
47732         * stdlib/stdlib.h: Update guards for qecvt.
47733         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
47734         <stdlib.h>.
47736 2013-04-27  Allan McRae  <allan@archlinux.org>
47738         * sysdeps/i386/fpu/libm-test-ulps: Update.
47740 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
47742         [BZ #15406]
47743         * math/s_catan.c: Include <float.h>.
47744         (__catan): Ensure underflow exception occurs for underflowed
47745         result.
47746         * math/s_catanf.c: Include <float.h>.
47747         (__catanf): Ensure underflow exception occurs for underflowed
47748         result.
47749         * math/s_catanh.c: Include <float.h>.
47750         (__catanh): Ensure underflow exception occurs for underflowed
47751         result.
47752         * math/s_catanhf.c: Include <float.h>.
47753         (__catanhf): Ensure underflow exception occurs for underflowed
47754         result.
47755         * math/s_catanhl.c: Include <float.h>.
47756         (__catanhl): Ensure underflow exception occurs for underflowed
47757         result.
47758         * math/s_catanl.c: Include <float.h>.
47759         (__catanl): Ensure underflow exception occurs for underflowed
47760         result.
47761         * math/libm-test.inc (catan_test): Add more tests.
47762         (catanh_test): Likewise.
47764         [BZ #15405]
47765         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
47766         underflowed result.
47767         * math/s_ccoshf.c (__ccoshf): Likewise.
47768         * math/s_ccoshl.c (__ccoshl): Likewise.
47769         * math/s_csin.c (__csin): Likewise.
47770         * math/s_csinf.c (__csinf): Likewise.
47771         * math/s_csinh.c (__csinh): Likewise.
47772         * math/s_csinhf.c (__csinhf): Likewise.
47773         * math/s_csinhl.c (__csinhl): Likewise.
47774         * math/s_csinl.c (__csinl): Likewise.
47775         * math/libm-test.inc (ccos_test): Add more tests.
47776         (ccosh_test): Likewise.
47777         (csin_test): Likewise.
47778         (csinh_test): Likewise.
47780 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47782         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
47783         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
47784         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
47785         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
47786         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
47787         powerpc/power5+/fpu folders.
47788         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
47791 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
47793         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47795 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
47797         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
47798         additions to variable.
47799         [$(config-machine) = x86_64] (modules-names): Likewise.
47800         ($(objpfx)tst-audit3): Remove dependency.
47801         ($(objpfx)tst-audit3.out): Likewise.
47802         ($(objpfx)tst-audit4): Likewise.
47803         ($(objpfx)tst-audit4.out): Likewise.
47804         ($(objpfx)tst-audit5): Likewise.
47805         ($(objpfx)tst-audit5.out): Likewise.
47806         ($(objpfx)tst-audit6): Likewise.
47807         ($(objpfx)tst-audit6.out): Likewise.
47808         ($(objpfx)tst-audit7): Likewise.
47809         ($(objpfx)tst-audit7.out): Likewise.
47810         (tst-audit3-ENV): Remove variable.
47811         (tst-audit4-ENV): Likewise.
47812         (tst-audit5-ENV): Likewise.
47813         (tst-audit6-ENV): Likewise.
47814         (tst-audit7-ENV): Likewise.
47815         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
47816         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
47817         addition to variable.
47818         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
47819         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
47820         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
47821         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
47822         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
47823         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
47824         tst-audit3, tst-audit4 and tst-audit5.
47825         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
47826         tst-audit6 and tst-audit7.
47827         [$(subdir) = elf] (modules-names): Add audit modules for those
47828         tests.
47829         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
47830         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
47831         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
47832         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
47833         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
47834         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
47835         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
47836         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
47837         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
47838         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
47839         [$(subdir) = elf] (tst-audit3-ENV): New variable.
47840         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
47841         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
47842         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
47843         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
47844         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
47845         Likewise.
47846         [$(subdir) = elf && $(config-cflags-avx) = yes]
47847         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
47848         [$(subdir) = elf && $(config-cflags-avx) = yes]
47849         (CFLAGS-tst-auditmod4a.c): Likewise.
47850         [$(subdir) = elf && $(config-cflags-avx) = yes]
47851         (CFLAGS-tst-auditmod4b.c): Likewise.
47852         [$(subdir) = elf && $(config-cflags-avx) = yes]
47853         (CFLAGS-tst-auditmod6b.c): Likewise.
47854         [$(subdir) = elf && $(config-cflags-avx) = yes]
47855         (CFLAGS-tst-auditmod6c.c): Likewise.
47856         [$(subdir) = elf && $(config-cflags-avx) = yes]
47857         (CFLAGS-tst-auditmod7b.c): Likewise.
47858         * elf/tst-audit3.c: Move to ...
47859         * sysdeps/x86_64/tst-audit3.c: ... here.
47860         * elf/tst-audit4.c: Move to ...
47861         * sysdeps/x86_64/tst-audit4.c: ... here.
47862         * elf/tst-audit5.c: Move to ...
47863         * sysdeps/x86_64/tst-audit5.c: ... here.
47864         * elf/tst-audit6.c: Move to ...
47865         * sysdeps/x86_64/tst-audit6.c: ... here.
47866         * elf/tst-audit7.c: Move to ...
47867         * sysdeps/x86_64/tst-audit7.c: ... here.
47868         * elf/tst-auditmod3a.c: Move to ...
47869         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
47870         * elf/tst-auditmod3b.c: Move to ...
47871         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
47872         * elf/tst-auditmod4a.c: Move to ...
47873         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
47874         * elf/tst-auditmod4b.c: Move to ...
47875         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
47876         * elf/tst-auditmod5a.c: Move to ...
47877         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
47878         * elf/tst-auditmod5b.c: Move to ...
47879         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
47880         * elf/tst-auditmod6a.c: Move to ...
47881         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
47882         * elf/tst-auditmod6b.c: Move to ...
47883         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
47884         * elf/tst-auditmod6c.c: Move to ...
47885         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
47886         * elf/tst-auditmod7a.c: Move to ...
47887         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
47888         * elf/tst-auditmod7b.c: Move to ...
47889         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
47891 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
47893         [BZ #15366]
47894         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
47895         define unconditionally.
47896         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
47897         define unconditionally.
47898         (INT8_C, INT16_C, etc.): Likewise.
47900 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
47902         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
47903         __ehdr_start with hidden visibility.
47905         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
47907 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
47909         * math/libm-test.inc (cos_test): Use accurate hex constants.
47910         (sincost_test): Likewise.
47912 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
47914         * math/libm-test.inc (catan_test): Add more tests.
47915         (catanh_test): Likewise.
47917         * math/s_catanf.c (__catanf): Use suffixed floating-point
47918         constants.
47919         * math/s_catanhf.c (__catanhf): Likewise.
47920         * math/s_catanhl.c (__catanhl): Likewise.
47921         * math/s_catanl.c (__catanl): Likewise.
47923         [BZ #15394]
47924         * math/s_catan.c (__catan): Calculate imaginary part of result
47925         with log1p not log unless computing log of number close to 0.
47926         * math/s_catanf.c (__catanf): Likewise.
47927         * math/s_catanl.c (__catanl): Likewise.
47928         * math/s_catanh.c (__catanh): Calculate real part of result with
47929         log1p not log unless computing log of number close to 0.
47930         * math/s_catanhf.c (__catanhf): Likewise.
47931         * math/s_catanhl.c (__catanhl): Likewise.
47932         * math/libm-test.inc (catan_test): Add more tests.
47933         (catanh_test): Likewise.
47934         * sysdeps/i386/fpu/libm-test-ulps: Update.
47935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47937 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47939         * benchtests/Makefile: Mention files in which fast and slow
47940         paths of math functions are implemented.
47942 2013-04-23  Roland McGrath  <roland@hack.frob.com>
47944         * sysdeps/posix/timespec_get.c: New file.
47946 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47948         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
47949         POWER.
47950         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
47951         for POWER.
47952         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
47953         powerpc/power5/fpu folders.
47954         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
47955         * benchtests/Makefile: Add modf testcase.
47956         * benchtests/bench-modf.c: New file: Benchmark test for mo
47958 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47960         [BZ #14888]
47961         * time/Makefile (tests): Add tst-strptime-whitespace.
47962         * time/strptime_l.c (get_number): Use ISSPACE.
47963         (__strptime_internal): Likewise.
47964         * time/tst-strptime-whitespace.c: New test case.
47966 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
47968         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
47969         member.
47970         (_nss_files_init): Set it here.
47972 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
47974         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
47975         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
47976         unsigned.
47978 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
47980         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
47982 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47984         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
47985         size just once.
47987 2013-04-21  David S. Miller  <davem@davemloft.net>
47989         * po/ru.po: Update Russion translation from translation project.
47991 2013-04-17  Adam Conrad  <adconrad@0c3.net>
47993         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
47994         and setfsgid.
47996 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
47998         * configure.in: Remove i386 configure warning. Remove i386 case.
47999         * configure: Regenerate.
48000         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
48001         Add example to error message.
48002         * sysdeps/i386/configure: Regenerate.
48004 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48006         * benchtests/Makefile (bench): Add cos, tan, slowcos and
48007         slowtan.
48008         * benchtests/cos-inputs: New file.
48009         * benchtests/slowcos-inputs: New file.
48010         * benchtests/slowcos.c: New file.
48011         * benchtests/slowtan-inputs: New file.
48012         * benchtests/slowtan.c: New file.
48013         * benchtests/tan-inputs: New file.
48015 2013-04-16  Roland McGrath  <roland@hack.frob.com>
48017         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
48018         considered kosher.
48020 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48022         * benchtests/Makefile: Include cppflags-iterator.mk to add
48023         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
48025         * Makefile.in (bench-clean): New target.
48026         * benchtests/Makefile (bench-clean): Likewise.
48028 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
48030         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
48032 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
48034         * stdio-common/tstdiomisc.c: Fix coding-style violation.
48036 2013-04-15  Andreas Schwab  <schwab@suse.de>
48038         * nscd/grpcache.c (cache_addgr): Properly check for short write.
48039         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48040         * nscd/pwdcache.c (cache_addpw): Likewise.
48041         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
48042         more than recsize.
48044 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48046         * benchtests/Makefile (bench): Write all output to
48047         bench-out.tmp together.
48049 2013-04-15  Andreas Schwab  <schwab@suse.de>
48051         * nscd/nscd.c (main): Don't fork again after closing files.
48053 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48055         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
48057         * benchtests/Rules (bench-deps): Collect dependencies into a
48058         single variable.  Add Makefile to dependencies.
48059         ($(objpfx)bench-%.c): Depend on bench-deps.
48061 2013-04-12  Roland McGrath  <roland@hack.frob.com>
48062             Xavier Roche  <roche+kml2@exalead.com>
48064         [BZ #15361]
48065         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
48066         just that it's a file descriptor.
48067         * manual/llio.texi (Synchronizing AIO Operations): Update description
48068         for EBADF error from aio_fsync.
48070 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48072         * Rules (bench): Move target definition...
48073         * benchtests/Makefile: ... here.
48075 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
48077         * math/libm-test.inc (cos_test): Fix PI/2 test.
48078         (sincos_test): Likewise.
48079         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48080         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
48082 2013-04-11  Andreas Schwab  <schwab@suse.de>
48084         [BZ #13988]
48085         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
48086         accept exponent character only when digits were seen.
48087         * stdio-common/Makefile (tests): Add bug26.
48088         * stdio-common/bug26.c: New file.
48090         [BZ #14293]
48091         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
48092         non-freeable.
48094 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48096         * Makeconfig (rtld-prefix): Define built linker prefix.
48097         * Rules (run-bench): Use it.
48098         * math/Makefile (run-regen-ulps): Likewise.
48100         * Rules (bench): Remove eval.
48102 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48103             Roland McGrath  <roland@hack.frob.com>
48104             Ondrej Bilka  <neleai@seznam.cz>
48106         [BZ #15346]
48107         * time/getdate.c: Include ctype.h and alloca.h.
48108         (__getdate_r): Trim leading and trailing spaces of input.
48109         * time/tst-getdate.c (tests): Add tests with leading and
48110         trailing spaces.
48112 2013-04-08  Roland McGrath  <roland@hack.frob.com>
48114         [BZ #14280]
48115         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
48116         when computing value.
48118 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48120         * math/README.libm-test (How can I generate "libm-test-ulps"?):
48121         Use testrun.sh to run libm tests.
48123         [BZ #15309]
48124         * elf/dl-open.c (dl_open_worker): memset all of seen array.
48126 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
48128         [BZ #15264]
48129         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
48131 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48133         * Makefile.in (regen-ulps): New target.
48134         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
48135         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
48136         [ifneq (no,$(PERL)] (regen-ulps): New target.
48137         [ifeq (no,$(PERL)] (regen-ulps): New target.
48138         * math/libm-test.inc (ulps_file_name): Define.
48139         (output_dir): New variable.
48140         (options): Add "output-dir" option.
48141         (parse_opt): Handle 'o' case.
48142         (main): If output_dir is non-NULL use it as a prefix
48143         otherwise use "".
48144         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
48146 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48148         [BZ #10060, #10062]
48149         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
48150         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
48151         fail configure if __sync_val_compare_and_swap is not inlined.
48152         * sysdeps/i386/configure: Regenerate.
48153         * configure.in: Build for i686 when configured for i386.
48154         * configure: Regenerate.
48155         * README: Remove i386 reference.
48157 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48159         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
48160         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48162 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
48164         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
48165         (lmsnanval): New variables.
48166         (F): Add conversion tests.
48167         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
48168         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
48170         * stdio-common/tstdiomisc.c (F): Properly collect individual
48171         tests' results.
48173         [BZ #14686, #15336]
48174         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
48175         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
48176         Instead, use input NaN values or generate a qNaN by arithmetic
48177         operation.  Also fix bugs to comply with the standard.
48178         * math/libm-test.inc (remainder_test): Add more tests.
48180         [BZ #15335, #15342]
48181         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
48182         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
48183         input NaN values or generate a qNaN by arithmetic operation.
48185         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
48186         unreachable code.
48188         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
48189         definitions.
48191 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
48193         [BZ #14478]
48194         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
48195         underflowed result.
48196         * math/s_cexpf.c (__cexpf): Likewise.
48197         * math/s_cexpl.c (__cexpl): Likewise.
48198         * math/libm-test.inc (cexp_test): Add more tests.
48200 2013-04-03  Andreas Schwab  <schwab@suse.de>
48202         [BZ #15330]
48203         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
48204         order arrays from heap if bigger than alloca cutoff.
48206 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
48208         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
48209         (SNAN_TESTS_double): Refer to GCC PR56831.
48210         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
48211         GCC PR56828.
48213 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48215         * Rules (bench): Move bench.out after the run is complete.
48217         * Rules (bench): Echo currently running benchmark.
48219         * benchtests/Makefile (bench): Add atan and slowatan.
48220         * benchtests/atan-inputs: New file.
48221         * benchtests/slowatan-inputs: New file.
48222         * benchtests/slowatan.c: New file.
48224         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
48225         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
48226         its value.
48228         [BZ #15305]
48229         * sysdeps/unix/sysv/linux/kernel-features.h
48230         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
48231         __ASSUME_XFS_RESTRICTED_CHOWN.
48232         * sysdeps/unix/sysv/linux/pathconf.c
48233         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48234         Save and restore errno.
48236 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
48238         [BZ #15327]
48239         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
48240         arguments using __kernel_casinh.
48241         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
48242         arguments using __kernel_casinhf.
48243         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
48244         arguments using __kernel_casinhl.
48245         * math/libm-test.inc (cacosh_test): Add more tests.
48246         * sysdeps/i386/fpu/libm-test-ulps: Update.
48247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48249 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48251         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
48252         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
48254         * bench/Makefile (bench): Add sin and slowsin.
48255         * benchtests/sin-inputs: New file.
48256         * benchtests/slowsin-inputs: New file.
48257         * benchtests/slowsin.c: New file.
48259         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48260         (bench): Add slowexp and slowpow.
48261         (exp-ITER): Increase iterations.
48262         (pow-ITER): Likewise.
48263         * benchtests/exp-inputs: Change input.
48264         * benchtests/pow-inputs: Likewise.
48265         * benchtests/slowexp-inputs: New file.
48266         * benchtests/slowexp.c: New file.
48267         * benchtests/slowpow-inputs: New file.
48268         * benchtests/slowpow.c: New file.
48270 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48272         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
48273         instructions.
48274         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48275         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
48276         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48277         * benchtests/Makefile: Add rint benchtest.
48278         * benchtests/rint-inputs: Input for rint benchtest.
48280 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48282         * Versions.def (libm): Add GLIBC_2.18.
48283         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
48284         hidden libm prototypes.
48285         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
48286         * math/Makefile (libm-calls): Add s_issignaling.
48287         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
48288         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
48289         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
48290         declaration.
48291         * math/math.h [__USE_GNU] (issignaling): New macro.
48292         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
48293         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
48294         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
48295         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48296         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
48297         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
48298         * manual/arith.texi (issignaling): New section.
48299         * manual/libm-err-tab.pl (@all_functions): Update comment.
48300         * math/gen-libm-test.pl (parse_args): Apply special handling for
48301         issignaling.
48302         * math/libm-test.inc (print_float, issignaling_test): New
48303         functions.
48304         (check_float_internal): Add issignaling checks.
48305         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
48306         default definition.
48307         * sysdeps/powerpc/math-tests.h: New file.
48308         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
48309         tests.
48310         * math/test-snan.c (TEST_FUNC): Likewise.
48312 2013-03-30  David S. Miller  <davem@davemloft.net>
48314         * po/de.po: Update from translation team.
48316 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
48318         [BZ #10357]
48319         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48320         imaginary part less than 1.0 and real part less than 0.5
48321         specially.
48322         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48323         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48324         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
48325         (cacos_test): Add more tests.
48326         (casin_test): Likewise.
48327         (casinh_test): Likewise.
48328         * sysdeps/i386/fpu/libm-test-ulps: Update.
48329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48331 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48333         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
48334         ONE with its value.
48336         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
48337         (__pow_mp): Replace ONE and MONE with their values.
48338         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48339         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
48340         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48341         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
48342         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48343         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48345         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
48347         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
48348         (__pow_mp): Replace ZERO and MZERO with their values.
48349         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48350         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48351         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48352         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48353         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48354         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
48355         (__sqr): Likewise.
48357         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
48359         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
48361 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48363         * include/stdlib.h [!SHARED] (__call_tls_dtors):
48364         Declare with __attribute__ ((weak)).
48365         * stdlib/exit.c (__libc_atexit) [!SHARED]:
48366         Call __call_tls_dtors only if it's not NULL.
48368 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48370         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
48371         didn't do it already, then set _dl_phdr and _dl_phnum based on the
48372         magic __ehdr_start linker symbol if it's defined.
48373         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
48374         them up here if it was already done.
48376         * elf/dl-support.c (_dl_phdr): Make pointer to const.
48377         (_dl_aux_init): Use const in cast when setting it.
48378         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
48379         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
48380         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
48382         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
48383         Declare them here.
48384         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
48385         * csu/libc-tls.c: Nor here.
48386         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
48388         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
48389         (__libc_message): Never call vsyslog.
48391 2013-03-28  Alan Modra  <amodra@gmail.com>
48393         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
48394         Define as empty.
48395         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
48396         Likewise.
48398 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48400         [BZ #15214]
48401         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
48402         underflow.
48403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48405 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48407         [BZ #15304]
48408         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48409         Don't add gid passed as argument.
48411         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
48413 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
48415         [BZ #15307]
48416         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48417         imaginary part between 1.0 and 1.5 and real part less than 0.5
48418         specially.
48419         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48420         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48421         * math/libm-test.inc (cacos_test): Add more tests.
48422         (casin_test): Likewise.
48423         (casinh_test): Likewise.
48424         * sysdeps/i386/fpu/libm-test-ulps: Update.
48425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48427 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48429         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
48430         constants.
48431         (norm): Likewise.
48432         (denorm): Likewise.
48433         (__dbl_mp): Likewise.
48434         (add_magnitudes): Likewise.
48435         (sub_magnitudes): Likewise.
48436         (__add): Likewise.
48437         (__sub): Likewise.
48438         (__mul): Likewise.
48439         (__sqr): Likewise.
48440         (__inv): Likewise.
48441         (__dvd): Likewise.
48443         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
48444         commented code.
48445         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
48446         (__dubcos): Likewise.
48447         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
48448         (__ieee754_acos): Likewise.
48449         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48450         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
48451         (__exp1): Likewise.
48452         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48453         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48454         (log1): Likewise.
48455         (my_log2): Likewise.
48456         (checkint): Likewise.
48457         * sysdeps/ieee754/dbl-64/e_remainder.c
48458         (__ieee754_remainder): Likewise.
48459         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48460         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
48461         (bsloww): Likewise.
48462         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48464         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48465         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
48466         MANTISSA_STORE_T to store computations on mantissa.  Use
48467         macros for rounding and division.
48468         (denorm): Likewise.
48469         (__dbl_mp): Likewise.
48470         (add_magnitudes): Likewise.
48471         (sub_magnitudes): Likewise.
48472         (__mul): Likewise.
48473         (__sqr): Likewise.
48474         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48475         powers of two in terms of TWOPOW macro.
48476         (mp_no): Make type of mantissa as MANTISSA_T.
48477         [!RADIXI]: Define RADIXI.
48478         [!TWO52]: Define TWO52.
48479         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48481 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48483         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
48484         llroundl symbol when building for PPC32.
48486 2013-03-24  Mark H Weaver  <mhw@netris.org>
48488         * manual/arith.texi (Normalization Functions): Fix prototypes for
48489         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
48491 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48493         [BZ #13889]
48494         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
48495         high value to check if expl overflow.
48496         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
48497         to check for underflow and overflow.
48498         * math/libm-test.inc: Add exp test.
48500 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
48502         [BZ #11120]
48503         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
48504         with NOT_IN_libc.
48506 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48508         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
48509         symbol.
48511 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48513         * math/gen-libm-test.pl (parse_args, special_functions): Properly
48514         wrap blocks consisting of several statements.
48516         * sysdeps/generic/math-tests.h: New file.
48517         * sysdeps/i386/fpu/math-tests.h: Likewise.
48518         * math/test-snan.c: Include it.
48519         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
48521 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48523         [BZ #15285]
48524         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
48525         (__ieee754_j0l): Do not improve calculations using cos of twice
48526         input for inputs above LDBL_MAX / 2.0L.
48527         (__ieee754_y0l): Likewise.
48528         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
48529         (__ieee754_j1l): Do not improve calculations using cos of twice
48530         input for inputs above LDBL_MAX / 2.0L.
48531         (__ieee754_y1l): Likewise.
48532         * math/libm-test.inc (j0_test): Add another test.
48533         (j1_test): Likewise.
48534         (y0_test): Likewise.
48535         (y1_test): Likewise.
48536         * sysdeps/i386/fpu/libm-test-ulps: Update.
48538 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48540         * Rules ($(objpfx)bench-%.c): Include code from a C source
48541         file.
48543 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48545         [BZ #15287]
48546         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48547         imaginary part 1.0 and real part less than 0.5 specially.
48548         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48549         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48550         * math/libm-test.inc (cacos_test): Add more tests.
48551         (casin_test): Likewise.
48552         (casinh_test): Likewise.
48553         * sysdeps/i386/fpu/libm-test-ulps: Update.
48554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48556 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48558         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
48559         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
48561 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
48563         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
48564         * config.make.in (config-cflags-sse4): Remove variable.
48565         (config-cflags-avx): Likewise.
48566         (config-cflags-sse2avx): Likewise.
48567         (config-cflags-novzeroupper): Likewise.
48568         (config-asflags-i686): Likewise.
48569         (have-mfma4): Likewise.
48570         (have-as-vis3): Likewise.
48571         (MIG): Likewise.
48572         * configure.in (MIG): Do not AC_SUBST.
48573         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
48574         (libc_cv_cc_sse4): Do not AC_SUBST.
48575         (libc_cv_cc_avx): Likewise.
48576         (libc_cv_cc_sse2avx): Likewise.
48577         (libc_cv_cc_novzeroupper): Likewise.
48578         (libc_cv_cc_fma4): Likewise.
48579         (libc_cv_as_i686): Likewise.
48580         (libc_cv_sparc_as_vis3): Likewise.
48581         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
48582         LIBC_CONFIG_VAR.
48583         (config-asflags-i686): Likewise.
48584         (config-cflags-avx): Likewise.
48585         (config-cflags-sse2avx): Likewise.
48586         (have-mfma4): Likewise.
48587         (config-cflags-novzeroupper): Likewise.
48588         * sysdeps/mach/configure.in (MIG): Likewise.
48589         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
48590         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
48591         LIBC_CONFIG_VAR.
48592         (config-cflags-avx): Likewise.
48593         (config-cflags-sse2avx): Likewise.
48594         (have-mfma4): Likewise.
48595         (config-cflags-novzeroupper): Likewise.
48596         * configure: Regenerated.
48597         * sysdeps/i386/configure: Likewise.
48598         * sysdeps/mach/configure: Likewise.
48599         * sysdeps/sparc/configure: Likewise.
48600         * sysdeps/x86_64/configure: Likewise.
48602 2013-03-20  Roland McGrath  <roland@hack.frob.com>
48604         [BZ #14812]
48605         * locale/programs/localedef.c (options): Put N_ translation marker
48606         on argument names, not just descriptions.
48608 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48610         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
48612 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
48614         [BZ #14176]
48615         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
48617 2013-03-19  Roland McGrath  <roland@hack.frob.com>
48619         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
48620         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
48621         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
48622         [!BEFORE_ABORT] (before_abort): New function.
48623         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
48624         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
48625         (writev_for_fatal): New function.
48626         (WRITEV_FOR_FATAL): New macro; call that.
48627         (backtrace_and_maps): New function.
48628         (BEFORE_ABORT): New macro; call that.
48629         (struct str_list): Type removed.
48630         (__libc_message, __libc_fatal): Functions removed.
48631         Include <sysdeps/posix/libc_fatal.c> instead.
48633 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
48635         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
48636         constants.
48637         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
48638         double constants.
48640 2013-03-19  Andreas Schwab  <schwab@suse.de>
48642         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
48643         * sysdeps/gnu/configure: Regenerate.
48645         * configure.in: Substitute libc_cv_rtlddir.
48646         * configure: Regenerate.
48647         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
48648         * Makeconfig (rtlddir, inst_rtlddir): New variables.
48649         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
48650         * elf/Makefile (install-others, CFLAGS-interp.c)
48651         (ldso_install, common-ldd-rewrite): Likewise.
48652         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
48653         $(inst_slibdir)/$(rtld-installed-name).
48654         * scripts/rellns-sh: Add -p option.
48655         * Makerules (make-shlib-link): Use rellns-sh to get relative name
48656         for source.
48658 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48660         * manual/nptl.texi: Renamed to ...
48661         * manual/threads.texi: ... this.
48662         * manual/Makefile (chapters): Update.
48664 2013-03-18  Roland McGrath  <roland@hack.frob.com>
48666         [BZ #14812]
48667         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
48668         on argument names, not just descriptions.
48669         * malloc/memusagestat.c (options): Likewise.
48670         * nss/getent.c (options): Likewise.
48672 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
48674         [BZ #14812]
48675         * iconv/iconv_prog.c (options): Put N_ translation marker
48676         on argument names, not just descriptions.
48677         * iconv/iconvconfig.c (options): Likewise.
48679 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
48681         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
48682         implementation which is faster on all x86_64 architectures.
48683         Tested on AMD, Intel Nehalem, SNB, IVB.
48684         * sysdeps/x86_64/strnlen.S: Likewise.
48686         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48687         Remove all multiarch strlen and strnlen versions.
48688         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48689         Remove strlen and strnlen related parts.
48691         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
48692         Inline strlen part.
48693         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
48695         * sysdeps/x86_64/multiarch/strlen.S: Remove.
48696         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
48697         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
48698         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
48699         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48700         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
48702 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
48704         * manual/memory.texi (Malloc Tunable Parameters):
48705         Sort parameters alphabetically. Add comments for missing entries.
48707 2013-03-17  David S. Miller  <davem@davemloft.net>
48709         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48711 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
48713         [BZ #15283]
48714         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
48715         for arguments at most half maximum finite value.
48716         * math/libm-test.inc (j0_test): Add more tests.
48717         (j1_test): Likewise.
48718         (y0_test): Likewise.
48719         (y1_test): Likewise.
48720         * sysdeps/i386/fpu/libm-test-ulps: Update.
48721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48723         [BZ #14155]
48724         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
48725         1 / x and functions P and Q for arguments above 0x1p256L.
48726         (__ieee754_y0l): Likewise.
48727         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
48728         (__ieee754_y1l): Likewise.
48729         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
48730         (j1_test): Likewise.
48731         (y0_test): Likewise.
48732         (y1_test): Likewise.
48734 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
48736         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
48737         variable.
48739 2013-03-15  Roland McGrath  <roland@hack.frob.com>
48741         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
48742         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
48743         zero since it's initialized to EXEC_PAGESIZE.
48745         * sysdeps/unix/sysv/linux/ldsodefs.h
48746         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
48747         * sysdeps/generic/ldsodefs.h: ... here.
48749 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
48751         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
48753         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
48754         math/test-snan.c.
48755         * math/test-snan.c: Renamed from
48756         sysdeps/powerpc/fpu/test-powerpc-snan.c.
48757         * math/Makefile (tests): Add test-snan.
48758         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
48759         test-powerpc-snan.
48761         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
48762         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
48763         functions.
48764         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
48765         __builtin_nan family of functions.
48766         * math/libm-test.inc (initialize): Initialize qnan_value with
48767         __builtin_nan family of functions.
48768         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
48769         Remove variables.
48770         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
48771         Remove functions.
48772         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
48773         storage class.  Initialize qNaN_var and sNaN_var with
48774         __builtin_nan and __builtin_nans families of functions,
48775         respectively.
48777         * math/libm-test.inc (acosh_test): Also test with qNaN input.
48778         (sqrt_test): Remove duplicate test with qNaN input.
48779         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
48780         (round_test, signbit_test, significand_test): Note missing +/-Inf
48781         as well as qNaN tests.
48783         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
48784         qNaN_var.  Fix a few strings, too.
48785         * math/libm-test.inc (nan_value): Rename to qnan_value.
48786         * math/gen-libm-test.pl (%beautify): Adjust to that.
48787         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
48788         * math/test-misc.c (main): Likewise.
48789         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
48790         to __qnan_bytes, and __qnan_union, respectively.
48791         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
48792         Likewise.
48793         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
48794         and lqnanval, respectively.
48795         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
48796         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
48797         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
48798         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
48800         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
48801         * math/test-misc.c (main) [__x86_64__]: Enable test for long
48802         doubles.
48804         * math/test-misc.c (main): Fix copy'n'pastos.
48805         * misc/tst-efgcvt.c (special): Likewise.
48807         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
48808         Remove declarations.
48810 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48812         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
48813         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
48814         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
48815         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
48817 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48819         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
48820         macro to return vdso values correctly in IFUNC implementations.
48821         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
48822         Optimization by using IFUNC.
48824 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48825             Richard Henderson  <rth@redhat.com>
48826             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48828         * Makefile.in (bench): New target.
48829         * NEWS: Mention the benchmark framework.
48830         * Rules (bench): Likewise.
48831         (binaries-bench): Generate binaries for functions to
48832         benchmark.
48833         * benchtests/Makefile: New makefile for benchmark tests.
48834         * benchtests/bench-skeleton.c: New skeleton file for benchmark
48835         programs.
48836         * benchtests/exp-inputs: New input file for EXP function.
48837         * benchtests/pow-inputs: New input file for POW function.
48838         * scripts/bench.pl: New script to generate source files for
48839         benchmark programs.
48841 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48843         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48844         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
48845         computations on mantissa.  Use macros for rounding and
48846         division.
48847         (denorm): Likewise.
48848         (__dbl_mp): Likewise.
48849         (add_magnitudes): Likewise.
48850         (sub_magnitudes): Likewise.
48851         (__mul): Likewise.
48852         (__sqr): Likewise.
48853         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48854         powers of two in terms of TWOPOW macro.
48855         (mp_no): Make type of mantissa as MANTISSA_T.
48856         [!RADIXI]: Define RADIXI.
48857         [!TWO52]: Define TWO52.
48858         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48860         * manual/nptl.texi (cindex): Modify threads to pthreads.
48862 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
48864         * sysdeps/x86_64/preconfigure: Regenerated.
48866 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
48868         [BZ #14155]
48869         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
48870         0x1p28 and above.
48871         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
48872         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
48873         0x1p28 and above.
48874         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
48875         * math/libm-test.inc (j0_test): Do not allow one spurious
48876         underflow exception.
48877         (y1_test): Likewise.
48879 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48881         * manual/Makefile (chapters): Add nptl.
48882         * manual/debug.texi (Debugging Support): Add link to Threads
48883         chapter.
48884         * manual/nptl.texi: New file.
48886         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
48888 2013-03-14  Petr Baudis  <pasky@ucw.cz>
48890         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
48891         for non-NULL pointer before the memory validity test. Pointed
48892         out by Holger Brunck <holger.brunck@keymile.com>.
48894 2013-03-13  Andreas Schwab  <schwab@suse.de>
48896         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
48897         instead of .os.
48899 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
48901         * timezone/zic.c: Update from tzcode 2013b.
48903 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
48905         * manual/install.texi (Configuring and compiling):
48906         Mention i686 and i586.
48907         * INSTALL: Regenerate.
48909 2013-03-12  Roland McGrath  <roland@hack.frob.com>
48911         * sysdeps/init_array/elf-init.c: New file.
48912         * csu/elf-init.c
48913         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
48914         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
48916         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
48917         __gmon_start__ as global, but as static with a .preinit_array pointer.
48918         * sysdeps/init_array/gmon-start.c: New file.  Use that.
48919         * sysdeps/init_array/crti.S: New file, empty except for comments.
48920         * sysdeps/init_array/crtn.S: Likewise.
48922 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
48924         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
48925         definining bcopy.
48926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48927         Remove Prefer_SSE_for_memop.
48928         * sysdeps/x86_64/multiarch/init-arch.h: Remove
48929         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
48930         HAS_PREFER_SSE_FOR_MEMOP.
48931         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
48932         memset-x86-64.
48933         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48934         Remove bzero, memset ifunc support.
48935         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
48936         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
48937         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48938         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48940 2013-03-11  Andreas Schwab  <schwab@suse.de>
48942         [BZ #15234]
48943         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
48944         by SHLIB_COMPAT.
48945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
48946         (GLIBC_2.16): Remove pthread_atfork.
48948 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
48950         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
48951         (ptestcases.h): Likewise.
48953 2013-03-08  Roland McGrath  <roland@hack.frob.com>
48955         * Makeconfig ($(common-objpfx)config.status): Depend on
48956         sysdeps/*/preconfigure{,.in} too.
48958 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
48960         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
48961         (__free_hook): Use void * instead of __malloc_ptr_t.
48962         (__malloc_hook): Likewise.
48963         (__realloc_hook): Likewise.
48964         (__memalign_hook): Likewise.
48965         (__after_morecore_hook): Likewise.
48966         * malloc/arena.c (save_malloc_hook): Likewise.
48967         (save_free_hook): Likewise.
48968         * malloc/hooks.c (malloc_hook_ini): Likewise.
48969         (realloc_hook_ini): Likewise.
48970         (memalign_hook_ini): Likewise.
48971         * malloc/malloc.c (malloc_hook_ini): Likewise.
48972         (realloc_hook_ini): Likewise.
48973         (memalign_hook_ini): Likewise.
48974         (__free_hook): Likewise.
48975         (__malloc_hook): Likewise.
48976         (__realloc_hook): Likewise.
48977         (__memalign_hook): Likewise.
48978         (__libc_malloc): Likewise.
48979         (__libc_free): Likewise.
48980         (__libc_realloc): Likewise.
48981         (__libc_memalign): Likewise.
48982         (__libc_valloc): Likewise.
48983         (__libc_pvalloc): Likewise.
48984         (__libc_calloc): Likewise.
48985         (__posix_memalign): Likewise.
48986         * malloc/morecore.c (__sbrk): Likewise.
48987         (__default_morecore): Likewise.
48989         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
48991         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
48992         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
48993         __malloc_ptrdiff_t.
48995         * malloc/malloc.h (__malloc_size_t): Remove macro.
48996         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
48997         __malloc_size_t.
48998         (old_memalign_hook): Likewise.
48999         (old_realloc_hook): Likewise.
49000         (struct hdr): Likewise.
49001         (flood): Likewise.
49002         (mallochook): Likewise.
49003         (memalignhook): Likewise.
49004         (reallochook): Likewise.
49005         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
49006         (tr_old_realloc_hook): Likewise.
49007         (tr_old_memalign_hook): Likewise.
49008         (tr_mallochook): Likewise.
49009         (tr_reallochook): Likewise.
49010         (tr_memalignhook): Likewise.
49012 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49014         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
49015         default_ldbl_pack and using as default implementation.
49016         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
49017         implementation.
49018         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
49019         redundant definition.
49020         (ldbl_insert_mantissa): Likewise.
49021         (ldbl_canonicalize): Likewise.
49022         (ldbl_nearbyint): Likewise.
49023         (ldbl_pack): Rename to ldbl_pack_ppc.
49024         (ldbl_unpack): Rename to ldbl_unpack_ppc.
49025         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
49026         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
49028 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
49031         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
49032         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
49033         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
49034         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
49035         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
49036         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
49037         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
49039 2013-03-07  Andreas Jaeger  <aj@suse.de>
49041         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49042         bits/mman-linux.h.
49044 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49046         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
49047         Include mpa.h and declare __MPEXP.
49048         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
49049         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49050         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49051         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
49052         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49053         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49054         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
49056         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
49057         (__slowpow): Use long double EXPL and LOGL functions to
49058         compute POW.
49059         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49060         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49061         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
49062         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49063         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49064         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
49066         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
49067         intermediate variable to calculate exponent.
49068         (__sqr): Likewise.
49069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49070         Likewise.
49071         (__sqr): Likewise.
49073         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
49074         [!NO__SQR]: Define __sqr.
49075         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
49076         and NO__SQR.  Remove all code except __mul and __sqr.  Include
49077         sysdeps/ieee754/dbl-64/mpa.c.
49078         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49080         [BZ #12723]
49081         * posix/Makefile (tests): Add tst-pathconf.
49082         * posix/tst-pathconf.c: New test case.
49083         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
49084         _PC_PIPE_BUF.
49085         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
49087 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
49089         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
49091 2013-03-06  Andreas Jaeger  <aj@suse.de>
49093         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
49094         definition via __MAP_ANONYMOUS.
49096         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
49097         it's not part of Linux headers.
49099         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
49100         (MAP_HUGE_MASK): Define.
49102         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49103         Define.
49104         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49105         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49106         Define.
49107         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49108         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49109         Define.
49110         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49111         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
49112         Define.
49113         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49115         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
49116         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
49117         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
49118         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
49119         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
49120         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
49122         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49123         Handle f2fs.
49125         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49126         Handle f2fs and efivarfs.
49128         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
49129         f2fs.
49131         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
49132         (EFIVARFS_MAGIC): Add.
49133         (F2FS_LINK_MAX): Add.
49135 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49137         * stdio-common/vfprintf.c: Replace __builtin_expect with
49138         __glibc_unlikely.
49140 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
49142         [BZ #13550]
49143         * sysdeps/generic/bp-sym.h: Remove file.
49144         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
49145         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
49146         <bp-sym.h> and <bp-asm.h>.
49147         (__longjmp): Don't use BP_SYM.
49148         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
49149         and <bp-asm.h>.
49150         (memcpy): Don't use BP_SYM.
49151         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
49152         <bp-sym.h> and <bp-asm.h>.
49153         (memcpy): Don't use BP_SYM.
49154         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
49155         <bp-asm.h>.
49156         (memcpy): Don't use BP_SYM.
49157         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
49158         <bp-asm.h>.
49159         (memset): Don't use BP_SYM.
49160         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49161         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49162         (__bzero): Don't use BP_SYM.
49163         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49164         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49165         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
49166         <bp-sym.h> and <bp-asm.h>.
49167         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49168         pointers.
49169         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
49170         <bp-sym.h> and <bp-asm.h>.
49171         (memcpy): Don't use BP_SYM.
49172         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
49173         <bp-sym.h> and <bp-asm.h>.
49174         (memset): Don't use BP_SYM.
49175         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49176         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49177         (__bzero): Don't use BP_SYM.
49178         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49179         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49180         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
49181         <bp-sym.h> and <bp-asm.h>.
49182         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49183         pointers.
49184         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
49185         <bp-sym.h> and <bp-asm.h>.
49186         (memcpy): Don't use BP_SYM.
49187         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
49188         <bp-sym.h> and <bp-asm.h>.
49189         (memset): Don't use BP_SYM.
49190         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49191         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49192         (__bzero): Don't use BP_SYM.
49193         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49194         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49195         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
49196         <bp-sym.h> and <bp-asm.h>.
49197         (__memchr): Don't use BP_SYM.
49198         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
49199         <bp-sym.h> and <bp-asm.h>.
49200         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49201         pointers.
49202         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
49203         <bp-sym.h> and <bp-asm.h>.
49204         (memcpy): Don't use BP_SYM.
49205         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
49206         <bp-sym.h> and <bp-asm.h>.
49207         (__mempcpy): Don't use BP_SYM.
49208         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
49209         <bp-sym.h> and <bp-asm.h>.
49210         (__memrchr): Don't use BP_SYM.
49211         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
49212         <bp-sym.h> and <bp-asm.h>.
49213         (memset): Don't use BP_SYM.
49214         (__bzero): Likewise.
49215         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
49216         <bp-sym.h> and <bp-asm.h>.
49217         (__rawmemchr): Don't use BP_SYM.
49218         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
49219         <bp-sym.h> and <bp-asm.h>.
49220         (__STRCMP): Don't use BP_SYM.
49221         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
49222         <bp-sym.h> and <bp-asm.h>.
49223         (strchr): Don't use BP_SYM.
49224         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
49225         <bp-sym.h> and <bp-asm.h>.
49226         (__strchrnul): Don't use BP_SYM.
49227         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
49228         <bp-sym.h> and <bp-asm.h>.
49229         (strlen): Don't use BP_SYM.
49230         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
49231         <bp-sym.h> and <bp-asm.h>.
49232         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49233         pointers.
49234         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
49235         <bp-sym.h> and <bp-asm.h>.
49236         (__strnlen): Don't use BP_SYM.
49237         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
49238         <bp-sym.h> and <bp-asm.h>.
49239         (__GI__setjmp): Don't use BP_SYM.
49240         (_setjmp): Likewise.
49241         (__sigsetjmp): Likewise.
49242         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
49243         (L(start_addresses)): Don't use BP_SYM.
49244         (_start): Likewise.
49245         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
49246         <bp-asm.h>.
49247         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
49248         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
49249         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49250         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49251         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
49252         <bp-asm.h>.
49253         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
49254         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
49255         about bounded pointers.
49256         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49257         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49258         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
49259         <bp-asm.h>.
49260         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49261         about bounded pointers.  Remove GKM FIXME comments.
49262         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49263         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
49264         <bp-asm.h>.
49265         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
49266         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
49267         Remove GKM FIXME comments.
49268         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49269         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49270         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
49271         <bp-asm.h>.
49272         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49273         about bounded pointers.  Remove GKM FIXME comment.
49274         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
49275         and <bp-asm.h>.
49276         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49277         pointers.
49278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
49279         <bp-sym.h> and <bp-asm.h>.
49280         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
49282         <bp-sym.h> and <bp-asm.h>.
49283         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49284         comment.
49286 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49288         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
49289         call free(NULL).
49291 2013-03-05  David S. Miller  <davem@davemloft.net>
49293         * po/es.po: Update from translation team.
49295 2013-03-05  Andreas Jaeger  <aj@suse.de>
49297         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
49298         <bits/mman-linux.h>.
49299         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49300         is fine.
49301         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
49302         <bits/mman-linux.h> to end of file.
49303         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49304         is fine.
49305         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
49306         <bits/mman-linux.h> to end of file.
49307         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49308         is fine.
49309         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
49310         <bits/mman-linux.h> to end of file.
49312         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
49313         (MCL_CURRENT, MCL_FUTURE): Define here.
49315 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49317         [BZ #15232]
49318         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
49319         attribute_hidden.
49320         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49322 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49324         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
49325         fourth parameter needed for rt_sigprocmask syscall.
49326         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
49327         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49328         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
49329         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49330         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49331         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
49333 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
49335         [BZ #13550]
49336         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
49337         comment about bounded pointers.
49338         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
49339         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
49341 2013-03-04  Andreas Jaeger  <aj@suse.de>
49343         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
49344         common definitions.
49346         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
49347         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
49348         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
49349         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49350         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49351         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49353 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49355         [BZ #15055]
49356         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
49357         __ieee754_sqrl instead of __sqrl.
49359 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
49361         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
49362         * sysdeps/powerpc/fpu_control.h: ... here.
49363         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
49364         * sysdeps/powerpc/bits/fenvinline.h: ... here.
49365         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
49366         * sysdeps/powerpc/bits/mathinline.h: ... here.
49368 2013-03-01  Roland McGrath  <roland@hack.frob.com>
49370         * elf/dl-hwcaps.c (_dl_important_hwcaps):
49371         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
49372         to just [NEED_DL_SYSINFO_DSO].
49373         * elf/dl-support.c: Likewise.
49374         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
49375         * elf/rtld.c (dl_main): Likewise.
49376         * elf/setup-vdso.h (setup_vdso): Likewise.
49377         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
49378         * sysdeps/unix/sysv/linux/dl-sysdep.c
49379         (_dl_discover_osversion): Likewise.
49381 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
49383         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
49384         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49386 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
49388         * NEWS: Mention libm performance improvements and non-x86 PI
49389         futex support.
49391         * csu/libc-start.c (__pthread_initialize_minimal): Change
49392         function arguments.
49393         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49395 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
49397         [BZ #13550]
49398         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
49399         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
49400         <bp-sym.h> and <bp-asm.h>.
49401         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49402         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
49403         and <bp-asm.h>.
49404         (memcpy): Don't use BP_SYM.
49405         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
49406         <bp-asm.h>.
49407         (__mpn_add_n): Don't use BP_SYM.
49408         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
49409         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
49410         and <bp-asm.h>.
49411         (__mpn_addmul_1): Don't use BP_SYM.
49412         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49413         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
49414         <bp-sym.h>.
49415         (_setjmp): Don't use BP_SYM.
49416         (__novmx_setjmp): Likewise.
49417         (__GI__setjmp): Likewise.
49418         (__vmx_setjmp): Likewise.
49419         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
49420         <bp-sym.h>.
49421         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
49422         (__bzero): Don't use BP_SYM.
49423         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49424         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49425         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
49426         <bp-sym.h> and <bp-asm.h>.
49427         (memcpy): Don't use BP_SYM.
49428         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
49429         <bp-sym.h> and <bp-asm.h>.
49430         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49431         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
49432         <bp-sym.h> and <bp-asm.h>.
49433         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49434         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
49435         <bp-asm.h>.
49436         (__mpn_lshift): Don't use BP_SYM.
49437         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49438         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
49439         <bp-asm.h>.
49440         (memset): Don't use BP_SYM.
49441         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49442         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49443         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
49444         <bp-asm.h>.
49445         (__mpn_mul_1): Don't use BP_SYM.
49446         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49447         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
49448         <bp-sym.h> and <bp-asm.h>.
49449         (memcmp): Don't use BP_SYM.
49450         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
49451         <bp-sym.h> and <bp-asm.h>.
49452         (memcpy): Don't use BP_SYM.
49453         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
49454         <bp-sym.h> and <bp-asm.h>.
49455         (memset): Don't use BP_SYM.
49456         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
49457         <bp-sym.h> and <bp-asm.h>.
49458         (strncmp): Don't use BP_SYM.
49459         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
49460         <bp-sym.h> and <bp-asm.h>.
49461         (memcpy): Don't use BP_SYM.
49462         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
49463         <bp-sym.h> and <bp-asm.h>.
49464         (memset): Don't use BP_SYM.
49465         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
49466         <bp-sym.h> and <bp-asm.h>.
49467         (__memchr): Don't use BP_SYM.
49468         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
49469         <bp-sym.h> and <bp-asm.h>.
49470         (memcmp): Don't use BP_SYM.
49471         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
49472         <bp-sym.h> and <bp-asm.h>.
49473         (memcpy): Don't use BP_SYM.
49474         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
49475         <bp-sym.h> and <bp-asm.h>.
49476         (__mempcpy): Don't use BP_SYM.
49477         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
49478         <bp-sym.h> and <bp-asm.h>.
49479         (__memrchr): Don't use BP_SYM.
49480         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
49481         <bp-sym.h> and <bp-asm.h>.
49482         (memset): Don't use BP_SYM.
49483         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
49484         <bp-sym.h> and <bp-asm.h>.
49485         (__rawmemchr): Don't use BP_SYM.
49486         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
49487         <bp-sym.h> and <bp-asm.h>.
49488         (__STRCMP): Don't use BP_SYM.
49489         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
49490         <bp-sym.h> and <bp-asm.h>.
49491         (strchr): Don't use BP_SYM.
49492         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
49493         <bp-sym.h> and <bp-asm.h>.
49494         (__strchrnul): Don't use BP_SYM.
49495         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
49496         <bp-sym.h> and <bp-asm.h>.
49497         (strlen): Don't use BP_SYM.
49498         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
49499         <bp-sym.h> and <bp-asm.h>.
49500         (strncmp): Don't use BP_SYM.
49501         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
49502         <bp-sym.h> and <bp-asm.h>.
49503         (__strnlen): Don't use BP_SYM.
49504         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
49505         <bp-asm.h>.
49506         (__mpn_rshift): Don't use BP_SYM.
49507         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49508         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
49509         <bp-sym.h> and <bp-asm.h>.
49510         (__sigsetjmp): Don't use BP_SYM.
49511         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
49512         (L(start_addresses)): Don't use BP_SYM.
49513         (_start): Likewise.
49514         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
49515         <bp-asm.h>.
49516         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
49517         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49518         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49519         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
49520         <bp-asm.h>.
49521         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
49522         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49523         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49524         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
49525         <bp-asm.h>.
49526         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49527         comments.
49528         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49529         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
49530         <bp-asm.h>.
49531         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
49532         FIXME comments.
49533         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49534         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49535         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
49536         <bp-asm.h>.
49537         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49538         comment.
49539         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
49540         and <bp-asm.h>.
49541         (strncmp): Don't use BP_SYM,
49542         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
49543         <bp-asm.h>.
49544         (__mpn_sub_n): Don't use BP_SYM.
49545         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49546         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
49547         and <bp-asm.h>.
49548         (__mpn_submul_1): Don't use BP_SYM.
49549         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
49551         <bp-sym.h> and <bp-asm.h>.
49552         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
49554         <bp-sym.h> and <bp-asm.h>.
49555         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49556         comment.
49558 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49560         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
49561         Use ZK to minimize writes to Z.
49562         (sub_magnitudes): Simplify code a bit.
49563         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
49564         Use ZK to minimize writes to Z.
49565         (sub_magnitudes): Simplify code a bit.
49567 2013-02-27  Roland McGrath  <roland@hack.frob.com>
49569         * csu/gmon-start.c: Add special exception to license text.
49571 2013-02-27  Richard Henderson  <rth@redhat.com>
49573         * scripts/config.guess: Update from config.git.
49574         * scripts/config.sub: Likewise.
49576 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49578         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
49580         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
49582         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
49584         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
49586         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
49588 2013-02-26  Roland McGrath  <roland@hack.frob.com>
49590         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
49591         [$(build-shared = yes].
49593 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49595         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
49596         (__mul): Reduce iterations for calculating mantissa.
49598         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
49599         MPTWO.
49600         (__mpranred): Likewise.
49602         [BZ #15160]
49603         * malloc/memusagestat.c (main): Draw graphs for heap and stack
49604         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
49606 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
49608         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
49609         Define __attribute__.
49611 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49613         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
49614         unused.
49615         * posix/regex_internal.h (__attribute): Remove.
49616         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
49617         (re_string_context_at): Likewise.
49618         (bitset_not): Use __attribute__ and mark function as possibly
49619         unused.
49620         (bitset_merge): Likewise.
49621         (bitset_mask): Likewise.
49622         (re_string_char_size_at): Likewise.
49623         (re_string_wchar_at): Likewise.
49624         (re_string_elem_size_at): Likewise.
49626 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49628         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
49629         code.
49630         (cc32): Likewise.
49632         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
49633         (__acr): Likewise.
49634         (__cpy): Likewise.
49635         (norm): Likewise.
49636         (denorm): Likewise.
49637         (__dbl_mp): Likewise.
49638         (add_magnitudes): Likewise.
49639         (sub_magnitudes): Likewise.
49640         (__mul): Likewise.
49641         (__inv): Likewise.
49643         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
49644         style.
49646         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
49647         style.
49649         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
49650         code.
49652         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
49653         up changes with default code.
49654         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
49655         Likewise.
49657 2013-02-24  Allan McRae  <allan@archlinux.org>
49659         * manual/socket.texi (The Internet Namespace): Order menu items
49660         to match that in the file.
49662         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
49663         node listing of the info page menu.
49665 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
49667         [BZ #13550]
49668         * sysdeps/i386/bp-asm.h: Remove file.
49669         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49670         (PARMS): Do not use macros from bp-asm.h.
49671         (S1): Likewise.
49672         (S2): Likewise.
49673         (SIZE): Likewise.
49674         (__mpn_add_n): Do not use BP_SYM
49675         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
49676         "bp-asm.h".
49677         (PARMS): Do not use macros from bp-asm.h.
49678         (S1): Likewise.
49679         (SIZE): Likewise.
49680         (__mpn_addmul_1): Do not use BP_SYM
49681         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
49682         "bp-asm.h".
49683         (PARMS): Do not use macros from bp-asm.h.
49684         (SIGMSK): Likewise.
49685         (_setjmp): Likewise.  Do not use BP_SYM.
49686         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
49687         "bp-asm.h".
49688         (PARMS): Do not use macros from bp-asm.h.
49689         (SIGMSK): Likewise.
49690         (setjmp): Likewise.  Do not use BP_SYM.
49691         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
49692         "bp-asm.h".
49693         (PARMS): Do not use macros from bp-asm.h.
49694         (__frexp): Do not use BP_SYM.
49695         (frexp): Likewise.
49696         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
49697         "bp-asm.h".
49698         (PARMS): Do not use macros from bp-asm.h.
49699         (__frexpf): Do not use BP_SYM.
49700         (frexpf): Likewise.
49701         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
49702         "bp-asm.h".
49703         (PARMS): Do not use macros from bp-asm.h.
49704         (__frexpl): Do not use BP_SYM.
49705         (frexpl): Likewise.
49706         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
49707         "bp-asm.h".
49708         (PARMS): Do not use macros from bp-asm.h.
49709         (__remquo): Do not use BP_SYM.
49710         (remquo): Likewise.
49711         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
49712         "bp-asm.h".
49713         (PARMS): Do not use macros from bp-asm.h.
49714         (__remquof): Do not use BP_SYM.
49715         (remquof): Likewise.
49716         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
49717         "bp-asm.h".
49718         (PARMS): Do not use macros from bp-asm.h.
49719         (__remquol): Do not use BP_SYM.
49720         (remquol): Likewise.
49721         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
49722         "bp-asm.h".
49723         (PARMS): Do not use macros from bp-asm.h.
49724         (DEST): Likewise.
49725         (SRC): Likewise.
49726         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
49727         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
49728         "bp-asm.h".
49729         (PARMS): Do not use macros from bp-asm.h.
49730         (strlen): Do not use BP_SYM.
49731         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
49732         "bp-asm.h".
49733         (PARMS): Do not use macros from bp-asm.h.
49734         (S1): Likewise.
49735         (S2): Likewise.
49736         (SIZE): Likewise.
49737         (__mpn_add_n): Do not use BP_SYM.
49738         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
49739         "bp-asm.h".
49740         (PARMS): Do not use macros from bp-asm.h.
49741         (S1): Likewise.
49742         (SIZE): Likewise.
49743         (__mpn_addmul_1): Do not use BP_SYM.
49744         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
49745         weak_alias.
49746         (bzero): Likewise.
49747         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
49748         "bp-asm.h".
49749         (PARMS): Do not use macros from bp-asm.h.
49750         (S): Likewise.
49751         (SIZE): Likewise.
49752         (__mpn_lshift): Do not use BP_SYM.
49753         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
49754         "bp-asm.h".
49755         (PARMS): Do not use macros from bp-asm.h.
49756         (DEST): Likewise.
49757         (SRC): Likewise.
49758         (LEN): Likewise.
49759         (memcpy): Likewise.  Do not use BP_SYM.
49760         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
49761         libc_hidden_def and weak_alias.
49762         (mempcpy): Do not use BP_SYM in weak_alias.
49763         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
49764         "bp-asm.h".
49765         (PARMS): Do not use macros from bp-asm.h.
49766         (DEST): Likewise.
49767         (LEN): Likewise.
49768         [!BZERO_P] (CHR): Likewise.
49769         (memset): Likewise.  Do not use BP_SYM.
49770         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
49771         "bp-asm.h".
49772         (PARMS): Do not use macros from bp-asm.h.
49773         (S1): Likewise.
49774         (SIZE): Likewise.
49775         (__mpn_mul_1): Do not use BP_SYM.
49776         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
49777         "bp-asm.h".
49778         (PARMS): Do not use macros from bp-asm.h.
49779         (S): Likewise.
49780         (SIZE): Likewise.
49781         (__mpn_rshift): Do not use BP_SYM.
49782         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
49783         "bp-asm.h".
49784         (PARMS): Do not use macros from bp-asm.h.
49785         (STR): Likewise.
49786         (CHR): Likewise.
49787         (strchr): Likewise.  Do not use BP_SYM.
49788         (index): Do not use BP_SYM in weak_alias.
49789         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
49790         "bp-asm.h".
49791         (PARMS): Do not use macros from bp-asm.h.
49792         (DEST): Likewise.
49793         (SRC): Likewise.
49794         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
49795         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
49796         "bp-asm.h".
49797         (PARMS): Do not use macros from bp-asm.h.
49798         (strlen): Do not use BP_SYM.
49799         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
49800         "bp-asm.h".
49801         (PARMS): Do not use macros from bp-asm.h.
49802         (S1): Likewise.
49803         (S2): Likewise.
49804         (SIZE): Likewise.
49805         (__mpn_sub_n): Do not use BP_SYM.
49806         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
49807         "bp-asm.h".
49808         (PARMS): Do not use macros from bp-asm.h.
49809         (S1): Likewise.
49810         (SIZE): Likewise.
49811         (__mpn_submul_1): Do not use BP_SYM.
49812         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
49813         "bp-asm.h".
49814         (PARMS): Do not use macros from bp-asm.h.
49815         (S1): Likewise.
49816         (S2): Likewise.
49817         (SIZE): Likewise.
49818         (__mpn_add_n): Do not use BP_SYM.
49819         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
49820         weak_alias.
49821         (bzero): Likewise.
49822         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
49823         "bp-asm.h".
49824         (PARMS): Do not use macros from bp-asm.h.
49825         (BLK2): Likewise.
49826         (LEN): Likewise.
49827         (memcmp): Do not use BP_SYM.
49828         (bcmp): Do not use BP_SYM in weak_alias.
49829         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
49830         "bp-asm.h".
49831         (PARMS): Do not use macros from bp-asm.h.
49832         (DEST): Likewise.
49833         (SRC): Likewise.
49834         (LEN): Likewise.
49835         (memcpy): Likewise.  Do not use BP_SYM.
49836         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
49837         "bp-asm.h".
49838         (PARMS): Do not use macros from bp-asm.h.
49839         (DEST): Likewise.
49840         (SRC): Likewise.
49841         (LEN): Likewise.
49842         (memmove): Likewise.  Do not use BP_SYM.
49843         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
49844         "bp-asm.h".
49845         (PARMS): Do not use macros from bp-asm.h.
49846         (DEST): Likewise.
49847         (SRC): Likewise.
49848         (LEN): Likewise.
49849         (__mempcpy): Likewise.  Do not use BP_SYM.
49850         (mempcpy): Do not use BP_SYM in weak_alias.
49851         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
49852         "bp-asm.h".
49853         (PARMS): Do not use macros from bp-asm.h.
49854         (DEST): Likewise.
49855         (LEN): Likewise.
49856         [!BZERO_P] (CHR): Likewise.
49857         (memset): Likewise.  Do not use BP_SYM.
49858         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
49859         "bp-asm.h".
49860         (PARMS): Do not use macros from bp-asm.h.
49861         (STR2): Likewise.
49862         (strcmp): Do not use BP_SYM.
49863         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
49864         "bp-asm.h".
49865         (PARMS): Do not use macros from bp-asm.h.
49866         (STR): Likewise.
49867         (DELIM): Likewise.
49868         [USE_AS_STRTOK_R] (SAVE): Likewise.
49869         (FUNCTION): Likewise.  Do not use BP_SYM.
49870         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
49871         aliases.
49872         (strtok_r): Likewise.
49873         (__GI___strtok_r): Likewise.
49874         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49875         (PARMS): Do not use macros from bp-asm.h.
49876         (S): Likewise.
49877         (SIZE): Likewise.
49878         (__mpn_lshift): Do not use BP_SYM.
49879         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49880         (PARMS): Do not use macros from bp-asm.h.
49881         (STR): Likewise.
49882         (CHR): Likewise.
49883         (__memchr): Do not use BP_SYM.
49884         (memchr): Do not use BP_SYM in weak_alias.
49885         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49886         (PARMS): Do not use macros from bp-asm.h.
49887         (BLK2): Likewise.
49888         (LEN): Likewise.
49889         (memcmp): Do not use BP_SYM.
49890         (bcmp): Do not use BP_SYM in weak_alias.
49891         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
49892         (PARMS): Do not use macros from bp-asm.h.
49893         (S1): Likewise.
49894         (SIZE): Likewise.
49895         (__mpn_mul_1): Do not use BP_SYM.
49896         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
49897         "bp-asm.h".
49898         (PARMS): Do not use macros from bp-asm.h.
49899         (STR): Likewise.
49900         (CHR): Likewise.
49901         (__rawmemchr): Do not use BP_SYM.
49902         (rawmemchr): Do not use BP_SYM in weak_alias.
49903         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49904         (PARMS): Do not use macros from bp-asm.h.
49905         (S): Likewise.
49906         (SIZE): Likewise.
49907         (__mpn_rshift): Do not use BP_SYM.
49908         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49909         (PARMS): Do not use macros from bp-asm.h.
49910         (SIGMSK): Likewise.
49911         (__sigsetjmp): Likewise.  Do not use BP_SYM.
49912         * sysdeps/i386/start.S: Do not include "bp-sym.h".
49913         (_start): Do not use BP_SYM.
49914         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
49915         (PARMS): Do not use macros from bp-asm.h.
49916         (DEST): Likewise.
49917         (SRC): Likewise.
49918         (__stpcpy): Likewise.  Do not use BP_SYM.
49919         (stpcpy): Do not use BP_SYM in weak_alias.
49920         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
49921         "bp-asm.h".
49922         (PARMS): Do not use macros from bp-asm.h.
49923         (DEST): Likewise.
49924         (SRC): Likewise.
49925         (LEN): Likewise.
49926         (__stpncpy): Likewise.  Do not use BP_SYM.
49927         (stpncpy): Do not use BP_SYM in weak_alias.
49928         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49929         (PARMS): Do not use macros from bp-asm.h.
49930         (STR): Likewise.
49931         (CHR): Likewise.
49932         (strchr): Likewise.  Do not use BP_SYM.
49933         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
49934         "bp-asm.h".
49935         (PARMS): Do not use macros from bp-asm.h.
49936         (STR): Likewise.
49937         (CHR): Likewise.
49938         (__strchrnul): Likewise.  Do not use BP_SYM.
49939         (strchrnul): Do not use BP_SYM in weak_alias.
49940         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
49941         "bp-asm.h".
49942         (PARMS): Do not use macros from bp-asm.h.
49943         (STOP): Likewise.
49944         (strcspn): Do not use BP_SYM.
49945         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
49946         "bp-asm.h".
49947         (PARMS): Do not use macros from bp-asm.h.
49948         (STR): Likewise.
49949         (STOP): Likewise.
49950         (strpbrk): Likewise.  Do not use BP_SYM.
49951         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
49952         "bp-asm.h".
49953         (PARMS): Do not use macros from bp-asm.h.
49954         (STR): Likewise.
49955         (CHR): Likewise.
49956         (strrchr): Likewise.  Do not use BP_SYM.
49957         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
49958         (PARMS): Do not use macros from bp-asm.h.
49959         (SKIP): Likewise.
49960         (strspn): Do not use BP_SYM.
49961         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
49962         (PARMS): Do not use macros from bp-asm.h.
49963         (STR): Likewise.
49964         (DELIM): Likewise.
49965         (SAVE): Likewise.
49966         (FUNCTION): Likewise.  Do not use BP_SYM.
49967         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
49968         aliases.
49969         (strtok_r): Likewise.
49970         (__GI___strtok_r): Likewise.
49971         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49972         (PARMS): Do not use macros from bp-asm.h.
49973         (S1): Likewise.
49974         (S2): Likewise.
49975         (SIZE): Likewise.
49976         (__mpn_sub_n): Do not use BP_SYM.
49977         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
49978         "bp-asm.h".
49979         (PARMS): Do not use macros from bp-asm.h.
49980         (S1): Likewise.
49981         (SIZE): Likewise.
49982         (__mpn_submul_1): Do not use BP_SYM.
49983         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
49984         <bp-sym.h>.
49985         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
49986         and <bp-asm.h>.
49987         (PARMS): Do not use macros from bp-asm.h.
49988         (FLAGS): Likewise.
49989         (PTID): Likewise.
49990         (TLS): Likewise.
49991         (CTID): Likewise.
49992         (__clone): Do not use BP_SYM.
49993         (clone): Do not use BP_SYM in weak_alias.
49994         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
49995         and <bp-asm.h>.
49996         (PARMS): Do not use macros from bp-asm.h.
49997         (LEN): Likewise.
49998         (__mmap64): Do not use BP_SYM.
49999         (mmap64): Do not use BP_SYM in weak_alias.
50000         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50001         <bp-sym.h> and <bp-asm.h>.
50002         (PARMS): Do not use macros from bp-asm.h.
50003         (__posix_fadvise64_l64): Do not use BP_SYM.
50004         * sysdeps/unix/sysv/linux/i386/semtimedop.S
50005         (PARMS): Do not use macros from bp-asm.h.
50006         (NSOPS): Likewise.
50007         (semtimedop): Do not use BP_SYM.
50008         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
50009         and <bp-asm.h>.
50011 2013-02-21  Allan McRae  <allan@archlinux.org>
50013         * manual/message.texi (Charset conversion in gettext):
50014         Move @end statement to beginning of line.
50016 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50018         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
50019         static.
50020         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50021         Likewise.
50023         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
50024         (denorm): Likewise.
50025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
50026         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
50028 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50030         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
50031         tail-call to the resolved function if pltexit isn't needed.
50033 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50035         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
50036         or Y being zero as being unlikely.
50037         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50038         Likewise.
50040 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
50042         * manual/nss.texi (System Databases and Name Service Switch):
50043         Remove frobnicate @pxref.
50045 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50047         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50048         __attribute__ ((unused)) to __attribute__ ((__unused__)).
50050 2013-02-20  Petr Machata  <pmachata@redhat.com>
50052         * elf/elf.h (R_ARM_TARGET1): New macro.
50053         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
50054         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
50055         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
50056         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
50057         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
50058         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
50059         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
50060         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
50061         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
50062         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
50063         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
50064         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
50065         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
50066         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
50067         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
50068         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
50069         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
50070         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
50071         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
50072         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
50073         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
50074         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
50075         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
50076         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
50077         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
50078         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
50079         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
50080         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
50081         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
50082         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
50083         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
50084         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
50085         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
50086         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
50087         (R_ARM_THM_GOT_BREL12): Likewise.
50088         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
50089         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
50090         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
50091         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
50092         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
50093         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
50094         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
50095         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
50096         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
50098 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50100         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50101         __attribute_used__ to __attribute__ ((unused)).
50103 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50105         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
50106         powerpc mpa.c.
50107         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
50108         comment formatting.
50109         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
50111 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
50113         [BZ #13550]
50114         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
50115         Remove macro.
50116         (ENTER): Remove both macro definitions.
50117         (LEAVE): Likewise.
50118         (CHECK_BOUNDS_LOW): Likewise.
50119         (CHECK_BOUNDS_HIGH): Likewise.
50120         (CHECK_BOUNDS_BOTH): Likewise.
50121         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
50122         (RETURN_BOUNDED_POINTER): Likewise.
50123         (RETURN_NULL_BOUNDED_POINTER): Likewise.
50124         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
50125         (POP_ERRNO_LOCATION_RETURN): Likewise.
50126         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
50127         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50128         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
50129         macros.
50130         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50131         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
50132         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
50133         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
50134         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
50135         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
50136         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
50137         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
50138         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
50139         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
50140         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
50141         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
50142         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50143         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
50144         removed macros.
50145         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50146         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
50147         macros.
50148         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50149         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
50150         * sysdeps/i386/i586/memset.S (memset): Likewise.
50151         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
50152         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50153         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
50154         macros.
50155         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50156         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
50157         Change uses of L(2) to L(out).
50158         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
50159         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
50160         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
50161         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50162         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
50163         removed macros.
50164         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50165         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
50166         macros.
50167         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50168         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
50169         (RETURN): Do not use macro LEAVE.
50170         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
50171         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
50172         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
50173         * sysdeps/i386/i686/memset.S (memset): Likewise.
50174         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
50175         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
50176         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50177         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
50178         Likewise.
50179         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50180         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
50181         L(1_2) and L(1_3) into L(1).
50182         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50183         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
50184         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50185         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
50186         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50187         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
50188         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
50189         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50190         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
50191         macros.
50192         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
50193         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50194         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
50195         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
50196         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
50197         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50198         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
50199         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
50200         * sysdeps/i386/strcspn.S (strcspn): Likewise.
50201         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
50202         * sysdeps/i386/strrchr.S (strrchr): Likewise.
50203         * sysdeps/i386/strspn.S (strspn): Likewise.
50204         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
50205         conditional code.
50206         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50207         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
50208         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50209         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
50210         L(1_3) into L(1_1).
50211         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
50212         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50213         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
50214         macros.
50215         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50217 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
50219         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
50220         macro.
50222 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50224         * math/atest-exp.c (exp_mpn): Remove ROUND.
50225         * math/atest-exp2.c (exp_mpn): Likewise.
50226         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
50228         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
50229         * stdlib/tst-tls-atexit-lib.c: Likewise.
50230         * stdlib/tst-tls-atexit.c: Likewise.
50232 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50234         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
50235         and __attribute_alloc_size__.
50237 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50239         * include/programs/xmalloc.h: Change __attribute_alloc_size to
50240         __attribute_alloc_size__.
50241         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
50242         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
50244 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50246         * include/programs/xmalloc.h: New file.
50247         * catgets/gencat.c: Include it.
50248         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
50249         * elf/pldd.c: Likewise.
50250         * iconv/iconv_charmap.c: Likewise.
50251         * iconv/iconvconfig.c: Likewise.
50252         * iconv/strtab.c: Likewise.
50253         * locale/programs/locale.c: Likewise.
50254         * locale/programs/localedef.h: Likewise.
50255         * locale/programs/simple-hash.c: Likewise.
50256         * nscd/nscd.h: Likewise.
50257         * nss/makedb.c: Likewise.
50258         * sysdeps/generic/ldconfig.h: Likewise.
50260 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50262         * Versions.def: Add GLIBC_2.18.
50263         * include/link.h (struct link_map): New member l_tls_dtor_count.
50264         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
50265         (__call_tls_dtors): Likewise.
50266         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
50267         __cxa_thread_atexit_impl.
50268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50269         Likewise.
50270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50271         Likewise.
50272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50273         Likewise.
50274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50275         Likewise.
50276         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
50278         Likewise.
50279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50280         Likewise.
50281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50283         Likewise.
50284         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
50285         (tests): Add test case tst-tls-atexit.
50286         (modules-names): Add shared library for tst-tls-atexit.
50287         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
50288         (GLIBC_PRIVATE): Add __call_tls_dtors.
50289         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
50290         for libstdc++.
50291         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
50292         * stdlib/tst-tls-atexit.c: New test case.
50293         * stdlib/tst-tls-atexit-lib.c: New test case.
50295         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
50297         * elf/Versions (ld): Add _dl_find_dso_for_object.
50298         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
50299         * elf/dl-open.c (_dl_find_dso_for_object): New function.
50300         (dl_open_worker): Use _dl_find_dso_for_object.
50301         * elf/dl-sym.c (do_sym): Likewise.
50302         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
50304 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50306         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
50307         Syntactic changes only.
50308         (_dl_runtime_profile): Do a tail-call to the resolved function.
50310 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
50312         [BZ #13550]
50313         * sysdeps/x86_64/bp-asm.h: Remove file.
50314         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
50315         <bp-sym.h> and <bp-asm.h>.
50316         (__clone): Do not use BP_SYM.
50317         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
50318         <bp-sym.h> and <bp-asm.h>.
50319         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50320         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
50321         "bp-asm.h".
50322         (_setjmp): Do not use BP_SYM.
50323         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
50324         "bp-asm.h".
50325         (setjmp): Do not use BP_SYM.
50326         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
50327         libc_hidden_def.
50328         (mempcpy): Do not use BP_SYM in weak_alias.
50329         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
50330         "bp-asm.h".
50331         (strchr): Do not use BP_SYM.
50332         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
50333         "bp-asm.h".
50334         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
50335         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
50336         (_start): Do not use BP_SYM.
50337         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
50338         "bp-asm.h".
50339         (strcat): Do not use BP_SYM.
50340         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
50341         "bp-asm.h".
50342         (STRCMP): Do not use BP_SYM.
50343         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
50344         "bp-asm.h".
50345         (STRCPY): Do not use BP_SYM.
50346         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
50347         "bp-asm.h".
50348         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
50349         "bp-asm.h".
50350         (FUNCTION): Do not use BP_SYM.
50351         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
50352         weak_alias.
50353         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
50355 2013-02-17  Andreas Jaeger  <aj@suse.de>
50357         * time/Versions: Sort entries.
50358         * string/Versions: Likewise.
50359         * resolv/Versions: Likewise.
50360         * posix/Versions: Likewise.
50361         * iconv/Versions: Likewise.
50362         * elf/Versions: Likewise.
50363         * wcsmbs/Versions: Likewise.
50365 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50367         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
50368         loop termination condition.
50370         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
50371         variable to calculate EZ.
50372         (__sqr): Likewise.
50374         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
50375         the lower precision input.
50377 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
50379         [BZ #13550]
50380         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
50381         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
50382         (run-via-rtld-prefix): Do not handle %-bp tests.
50383         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
50384         (all-object-suffixes): Remove .ob.
50385         (bppfx): Remove variable.
50386         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
50387         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
50388         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
50389         [$(build-bounded) = yes] (libtype.ob): Likewise.
50390         * Makerules (elide-routines.ob): Remove variable.
50391         (do-tests-clean): Do not handle *-bp.out.
50392         (common-mostlyclean): Do not handle *-bp and *-bp.out.
50393         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
50394         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
50395         (tests): Do not include $(tests-bp.out).
50396         (xtests): Do not include $(xtests-bp.out).
50397         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
50398         [$(build-bounded) = yes] ($(addprefix
50399         $(objpfx),$(binaries-bounded))): Remove rule.
50400         ($(objpfx)%-bp.out): Remove rule.
50401         * config.make.in (build-bounded): Remove variable.
50402         * crypt/Makefile [$(build-bounded) = yes]
50403         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
50404         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
50405         append to variable.
50406         [$(build-bounded) = yes] (install-lib): Likewise.
50407         [$(build-bounded) = yes] (generated): Likewise.
50408         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
50409         Remove rule.
50410         * intl/Makefile [$(build-bounded) = yes]
50411         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
50412         * math/Makefile [$(build-bounded) = yes]
50413         ($(tests:%=$(objpfx)%-bp): Likewise.
50414         * misc/Makefile [$(build-bounded) = yes]
50415         ($(objpfx)tst-tsearch-bp): Likewise.
50416         * nptl/Makeconfig (bounded-thread-library): Remove variable.
50417         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
50418         Remove dependency.
50419         * string/Makefile (o-objects.ob): Remove variable.
50420         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
50421         (CFLAGS-.ob): Remove variable.
50422         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
50423         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
50424         both definitions of variable.
50425         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
50426         (ASFLAGS-.ob): Remove variable.
50428 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
50430         [BZ #13550]
50431         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
50432         Remove __BOUNDED_POINTERS__ from condition.
50433         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
50434         * string/bits/string2.h [!__NO_STRING_INLINES &&
50435         !__BOUNDED_POINTERS__]: Likewise.
50436         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
50437         Likewise.
50438         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
50439         Remove conditional code.
50440         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
50441         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
50442         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
50443         condition.
50445         [BZ #13550]
50446         * csu/libc-start.c: Do not include <bp-sym.h>.
50447         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
50448         * elf/dl-open.c: Do not include <bp-sym.h>.
50449         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
50450         * math/fegetenv.c: Do not include <bp-sym.h>.
50451         (fegetenv): Do not use BP_SYM in versioned symbols.
50452         * nptl/sysdeps/pthread/bits/libc-lockP.h
50453         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
50454         <bp-sym.h>.
50455         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50456         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
50457         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50458         (__pthread_mutex_destroy): Likewise.
50459         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50460         (__pthread_mutex_lock): Likewise.
50461         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50462         (__pthread_mutex_trylock): Likewise.
50463         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50464         (__pthread_mutex_unlock): Likewise.
50465         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50466         (__pthread_mutexattr_init): Likewise.
50467         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50468         (__pthread_mutexattr_destroy): Likewise.
50469         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50470         (__pthread_mutexattr_settype): Likewise.
50471         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50472         (__pthread_rwlock_init): Likewise.
50473         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50474         (__pthread_rwlock_destroy): Likewise.
50475         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50476         (__pthread_rwlock_rdlock): Likewise.
50477         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50478         (__pthread_rwlock_tryrdlock): Likewise.
50479         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50480         (__pthread_rwlock_wrlock): Likewise.
50481         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50482         (__pthread_rwlock_trywrlock): Likewise.
50483         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50484         (__pthread_rwlock_unlock): Likewise.
50485         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50486         (__pthread_key_create): Likewise.
50487         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50488         (__pthread_setspecific): Likewise.
50489         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50490         (__pthread_getspecific): Likewise.
50491         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
50492         Likewise.
50493         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50494         (_pthread_cleanup_push_defer): Likewise.
50495         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50496         (_pthread_cleanup_pop_restore): Likewise.
50497         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50498         (pthread_setcancelstate): Likewise.
50499         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
50500         <bp-sym.h>.
50501         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
50502         (memchr): Do not use BP_SYM in weak_alias.
50503         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
50504         (fegetenv): Do not use BP_SYM in versioned symbols.
50505         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
50506         (fesetenv): Do not use BP_SYM in versioned symbols.
50507         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50508         (feupdateenv): Do not use BP_SYM in versioned symbols.
50509         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50510         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50511         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
50512         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
50513         (open64): Do not use BP_SYM in weak_alias.
50514         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
50515         (fegetenv): Do not use BP_SYM in versioned symbols.
50516         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
50517         (fesetenv): Do not use BP_SYM in versioned symbols.
50518         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50519         (feupdateenv): Do not use BP_SYM in versioned symbols.
50520         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
50521         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
50522         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
50523         (feraiseexcept): Do not use BP_SYM in versioned symbols.
50524         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50525         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50526         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
50527         <bp-sym.h>.
50528         (__libc_start_main): Do not use BP_SYM.
50530 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50532         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
50533         redundant return line.
50534         (norm): Likewise.
50535         (denorm): Likewise.
50536         (dbl_mp): Likewise.
50537         (sub_magnitudes): Likewise.
50538         (__add): Likewise.
50539         (__sub): Likewise.
50540         (__mul): Likewise.
50541         (__inv): Likewise.
50542         (__dvd): Likewise.
50543         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
50544         (norm): Likewise.
50545         (denorm): Likewise.
50546         (dbl_mp): Likewise.
50547         (sub_magnitudes): Likewise.
50548         (__add): Likewise.
50549         (__sub): Likewise.
50550         (__mul): Likewise.
50551         (__inv): Likewise.
50552         (__dvd): Likewise.
50554         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
50555         instead of __mul.
50556         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50557         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
50558         (cc32): Likewise.
50560         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
50561         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
50562         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
50563         of __mul for squares.
50564         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
50565         function
50566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
50567         Likewise.
50568         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
50569         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50571 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
50573         [BZ #13550]
50574         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
50575         code.
50576         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
50577         prototype or function definition.  Rename ubp_* variables and
50578         parameters.  Remove argv definitions conditional on
50579         [__BOUNDED_POINTERS__].
50580         * debug/backtrace.c (__backtrace): Do not use __unbounded.
50581         * elf/dl-runtime.c (_dl_fixup): Likewise.
50582         * include/set-hooks.h (RUN_HOOK): Likewise.
50583         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
50584         definition.
50585         * string/strcpy.c (strcpy): Do not use __unbounded.
50586         * sysdeps/generic/frame.h (struct layout): Likewise.
50587         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
50588         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
50589         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
50590         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
50591         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
50592         (__backtrace): Likewise.
50593         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
50594         use __ptrvalue.
50595         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
50596         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50597         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
50598         Likewise.
50599         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
50600         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
50601         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50602         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50603         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
50604         Do not use __unbounded.
50605         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
50606         Rename __unboundedrlimits parameter to rlimits in prototype.
50607         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
50608         Do not use __unbounded.
50609         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
50610         not use __ptrvalue.
50611         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50612         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
50613         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50614         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
50615         __ptrvalue or __unbounded.
50616         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
50617         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
50618         use __unbounded.
50619         (__new_msgctl): Do not use __ptrvalue.
50620         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
50621         __unbounded.
50622         (__libc_msgrcv): Do not use __ptrvalue.
50623         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
50624         startup_info): Do not use __unbounded.
50625         (__libc_start_main): Likewise.  Rename ubp_* variables and
50626         parameters.  Remove argv definitions conditional on
50627         [__BOUNDED_POINTERS__].
50628         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
50629         __ptrvalue.
50630         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
50631         use __unbounded.
50632         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
50633         or __ptrvalue.
50634         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
50635         use __unbounded.
50636         (__new_shmctl): Do not use __ptrvalue.
50637         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
50638         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
50639         Likewise.
50640         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
50641         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
50642         (__libc_sigaction): Likewise.
50643         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
50644         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
50645         Likewise.
50646         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50648 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
50650         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
50652         * string/mempcpy.c: Implement by calling memcpy.
50654 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50656         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
50658         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
50659         evaluation.
50661         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
50662         values in the mantissa.
50664         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
50665         minimize writes to Z.
50666         (sub_magnitudes): Simplify code a bit.
50668 2013-02-12  Roland McGrath  <roland@hack.frob.com>
50670         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
50671         from the message.  The linker prefixes all warnings with that already.
50673 2013-02-12  Andreas Schwab  <schwab@suse.de>
50675         [BZ #15078]
50676         * posix/regexec.c (extend_buffers): Add parameter min_len.
50677         (check_matching): Pass minimum needed length.
50678         (clean_state_log_if_needed): Likewise.
50679         (get_subexp): Likewise.
50680         * posix/Makefile (tests): Add bug-regex34.
50681         (bug-regex34-ENV): Define.
50682         * posix/bug-regex34.c: New file.
50684         [BZ #11561]
50685         * posix/regcomp.c (parse_bracket_exp): When looking up collating
50686         elements compare against the byte sequence of it, not its name.
50687         * posix/Makefile (tests): Add bug-regex35.
50688         (bug-regex35-ENV): Define.
50689         * posix/bug-regex35.c: New file.
50691 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50693         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
50694         comment.
50695         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
50696         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
50697         (CHECK_EOL): Add undef.
50699 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
50701         * bits/stdlib-bsearch.h: New file.
50702         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
50703         * stdlib/stdlib.h: Likewise.
50705 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50707         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
50708         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
50709         declaration.
50710         * manual/search.texi (Array Search Function): Add missing const in
50711         lfind prototype.
50712         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
50713         declaration to use rlim_t.
50714         (Basic Scheduling Functions): Remove erroneous const from
50715         sched_getparam prototype.  Remove erroneous * from
50716         sched_get_priority_max and sched_get_priority_min prototypes.
50717         (Resource Usage): Fix summary @comment on vtimes to refer to
50718         sys/vtimes.h rather than vtimes.h.
50719         Add missing *s in vtimes prototype.
50720         (Limits on Resources): Fix ulimit prototype to return long int.
50721         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
50722         prototypes to use long int rather than double.
50723         (BSD Random): Fix initstate and setstate to use char *, not void *.
50724         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
50725         prototype to make second argument 'struct aiocb64 *const[]'.
50726         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
50727         (Status of AIO Operations): Remove erroneous const in aio_return and
50728         aio_return64 prototypes.
50729         (Synchronizing I/O): Fix sync prototype to return void.
50730         * manual/startup.texi (Suboptions): Remove an erroneous const in
50731         getsubopt prototype.
50732         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
50733         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
50734         use size_t rather than int.
50735         (Scanning All Users): Likewise for getpwent_r.
50736         (Setting Groups): Add missing const to setgroups prototype.
50737         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
50738         * manual/socket.texi (Host Names): Fix gethostbyaddr and
50739         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
50740         'const void *' rather than 'const char *'.
50741         (Host Address Functions): Likewise for inet_ntop.
50742         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
50743         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
50744         ssize_t for return value.
50745         (Sending Data): Likewise for send, sendto, sendmsg.
50746         (Socket Option Functions): Add a missing const in setsockopt prototype.
50747         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
50748         use wchar_t for the argument.
50749         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
50750         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
50751         take no arguments.
50752         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
50753         double/float/long double for second argument.
50754         Fix return types of significand, significandf, significandl.
50755         * manual/filesys.texi (Setting Permissions): Use mode_t for second
50756         argument in fchmod prototype.
50757         (File Owner): Use uid_t and gid_t in fchown prototype.
50758         (File Times): Add const to utimes, futimes, and lutimes prototypes.
50759         (Making Special Files): Use mode_t and dev_t in mknod prototype.
50760         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
50761         use 'const struct dirent **' as argument types to CMP function pointer
50762         argument.
50763         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
50764         (File Times): Fix summary magic @comment for struct utimbuf and utime
50765         to refer to utime.h, not time.h.
50766         * manual/string.texi (Argz Functions): Add missing const in
50767         argz_extract and argz_next prototypes.
50768         (Finding Tokens in a String): Likewise for basename.
50769         (String/Array Comparison): Fix typo in wcscasecmp prototype.
50770         (Copying and Concatenation): Fix typo in wmemmove prototype.
50771         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
50772         (Signal Stack): Remove erroneous const in sigstack prototype.
50773         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
50774         prototype.
50775         (Simple Calendar Time): Likewise for stime.
50776         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
50777         prototype.
50778         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
50779         say sys/sysctl.h instead.
50780         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
50781         and vsyslog prototypes.
50783 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50785         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
50786         Remove.
50788 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50790         * misc/sys/mman.h: Fix typo in mremap comment.
50792 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50794         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
50795         the '\0' terminator.
50797 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50799         [BZ #13550]
50800         * debug/segfault.c: Don't include <bp-checks.h>.
50801         * sysdeps/generic/bp-checks.h: Remove file.
50802         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
50803         (__GETDENTS): Don't use CHECK_N.
50804         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
50805         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
50806         (__getgroups): Don't use CHECK_N.
50807         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
50808         (setgroups): Don't use CHECK_N.
50809         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
50810         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
50811         (__libc_msgrcv): Don't use CHECK_N.
50812         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
50813         (__libc_msgsnd): Don't use CHECK_N.
50814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
50815         <bp-checks.h>.
50816         (__libc_pread): Don't use CHECK_N.
50817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
50818         include <bp-checks.h>.
50819         (__libc_pread64): Don't use CHECK_N.
50820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
50821         include <bp-checks.h>.
50822         (__libc_pwrite): Don't use CHECK_N.
50823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
50824         include <bp-checks.h>.
50825         (__libc_pwrite64): Don't use CHECK_N.
50826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
50827         <bp-checks.h>.
50828         (__libc_pread): Don't use CHECK_N.
50829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
50830         include <bp-checks.h>.
50831         (__libc_pread64): Don't use CHECK_N.
50832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
50833         include <bp-checks.h>.
50834         (__libc_pwrite): Don't use CHECK_N.
50835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
50836         include <bp-checks.h>.
50837         (__libc_pwrite64): Don't use CHECK_N.
50838         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
50839         (do_pread): Don't use CHECK_N.
50840         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
50841         (do_pread64): Don't use CHECK_N.
50842         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
50843         (do_pwrite): Don't use CHECK_N.
50844         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
50845         (do_pwrite64): Don't use CHECK_N.
50846         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
50847         (__libc_readv): Don't use CHECK_N.
50848         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
50849         (semop): Don't use CHECK_N.
50850         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
50851         <bp-checks.h>.
50852         (semtimedop): Don't use CHECK_N.
50853         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
50854         (__libc_pread): Don't use CHECK_N.
50855         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
50856         <bp-checks.h>.
50857         (__libc_pread64): Don't use CHECK_N.
50858         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
50859         <bp-checks.h>.
50860         (__libc_pwrite): Don't use CHECK_N.
50861         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
50862         <bp-checks.h>.
50863         (__libc_pwrite64): Don't use CHECK_N.
50864         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
50865         <bp-checks.h>.
50866         (__libc_msgrcv): Don't use CHECK_N.
50867         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
50868         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
50869         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
50870         (__libc_writev): Don't use CHECK_N.
50872 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50874         * string/strcpy.c: Removed unused variable.
50876         * Makeconfig (+sysdep-includes): Define with := rather than =.
50877         Use an existing include/ subdir of each sysdeps dir before it.
50879 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50881         * nscd/connection.c (register_traced_file): Comment function.
50882         [HAVE_INOTIFY] (union __inev): Define.
50883         [HAVE_INOTIFY] (inotify_check_files): New function.
50884         [HAVE_INOTIFY] (clear_db_cache): Likewise.
50885         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
50886         clear_db_cache.
50887         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
50889 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50891         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
50892         loaded if not already and that a failure is permanent.
50894 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50896         [BZ #15006]
50897         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
50898         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
50900 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50902         [BZ #13550]
50903         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
50904         (CHECK_1_NULL_OK): Likewise.
50905         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
50906         (__fxstat): Do not use CHECK_1.
50907         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
50908         <bp-checks.h>.
50909         (___fxstat64): Do not use CHECK_1.
50910         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50911         <bp-checks.h>.
50912         (__fxstatat): Do not use CHECK_1.
50913         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50914         <bp-checks.h>.
50915         (__fxstatat64): Do not use CHECK_1.
50916         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
50917         <bp-checks.h>.
50918         (__fxstat): Do not use CHECK_1.
50919         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50920         <bp-checks.h>.
50921         (__fxstatat): Do not use CHECK_1.
50922         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50923         <bp-checks.h>.
50924         (__getresgid): Do not use CHECK_1.
50925         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50926         <bp-checks.h>.
50927         (__getresuid): Do not use CHECK_1.
50928         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
50929         <bp-checks.h>.
50930         (__lxstat): Do not use CHECK_1.
50931         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50932         <bp-checks.h>.
50933         (__old_msgctl): Do not use CHECK_1.
50934         (__new_msgctl): Likewise.
50935         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
50936         <bp-checks.h>.
50937         (__new_setrlimit): Do not use CHECK_1.
50938         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50939         <bp-checks.h>.
50940         (__old_shmctl): Do not use CHECK_1.
50941         (__new_shmctl): Likewise.
50942         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
50943         <bp-checks.h>.
50944         (__xstat): Do not use CHECK_1.
50945         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
50946         (__lxstat): Do not use CHECK_1.
50947         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
50948         <bp-checks.h>.
50949         (___lxstat64): Do not use CHECK_1.
50950         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
50951         (__old_msgctl): Do not use CHECK_1.
50952         (__new_msgctl): Likewise.
50953         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
50954         <bp-checks.h>.
50955         (__gettimeofday): Do not use CHECK_1.
50956         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
50957         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
50958         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
50959         <bp-checks.h>.
50960         (__gettimeofday): Do not use CHECK_1.
50961         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
50962         (__old_shmctl): Do not use CHECK_1_NULL_OK.
50963         (__new_shmctl): Do not use CHECK_1.
50964         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
50965         <bp-checks.h>.
50966         (do_sigtimedwait): Do not use CHECK_1.
50967         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
50968         <bp-checks.h>.
50969         (do_sigwaitinfo): Do not use CHECK_1.
50970         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
50971         <bp-checks.h>.
50972         (msgctl): Do not use CHECK_1.
50973         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
50974         <bp-checks.h>.
50975         (shmctl): Do not use CHECK_1.
50976         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
50977         (ustat): Do not use CHECK_1.
50978         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
50979         <bp-checks.h>.
50980         (__fxstat): Do not use CHECK_1.
50981         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50982         <bp-checks.h>.
50983         (__fxstatat): Do not use CHECK_1.
50984         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
50985         <bp-checks.h>.
50986         (__lxstat): Do not use CHECK_1.
50987         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
50988         <bp-checks.h>.
50989         (__xstat): Do not use CHECK_1.
50990         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
50991         (__xstat): Do not use CHECK_1.
50992         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
50993         (___xstat64): Do not use CHECK_1.
50995         [BZ #13550]
50996         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
50997         definitions.
50998         (CHECK_BOUNDS_HIGH): Likewise.
50999         * string/strcpy.c: Do not include <bp-checks.h>.
51000         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
51002 2013-02-07  Roland McGrath  <roland@hack.frob.com>
51004         * nscd/nscd-client.h (__nscd_drop_map_ref):
51005         Add __attribute__ ((unused)).
51006         * nis/nss-nisplus.h (niserr2nss): Likewise.
51008         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
51009         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
51011         * csu/libc-tls.c (init_static_tls, init_slotinfo):
51012         Remove inline keyword.
51013         * include/rounding-mode.h (round_away): Likewise.
51014         * libio/wfileops.c (adjust_wide_data): Likewise.
51015         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
51016         (__m128i_strloadu_tolower): Likewise.
51017         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
51018         (__m128i_strloadu_tolower): Likewise.
51019         * time/mktime.c (ydhms_diff): Likewise.
51020         * locale/elem-hash.h (elem_hash): Likewise.
51021         * locale/setlocale.c (setdata): Likewise.
51022         * posix/regex_internal.h (re_string_char_size_at): Likewise.
51023         (re_string_wchar_at): Likewise.
51024         (bitset_not, bitset_merge, bitset_mask): Likewise.
51025         [!(__GNUC__ > 3)] (inline): Remove macro.
51026         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
51027         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
51028         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
51029         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
51030         * string/memcmp.c (memcmp_bytes): Likewise.
51031         * locale/programs/locarchive.c (compute_hashval): Likewise.
51032         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
51033         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
51034         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
51035         * nss/getent.c (print_rpc, print_protocols): Likewise.
51036         (print_passwd, print_group, print_aliases): Likewise.
51037         * nis/nss-nisplus.h (niserr2nss): Likewise.
51038         * nscd/connections.c (restart_p): Likewise.
51039         Change return type to bool.
51041 2013-02-05  Roland McGrath  <roland@hack.frob.com>
51043         * Makeconfig (all-Depend-files): Add existing
51044         $(sorted-subdirs:=/Depend) files.
51045         (all-subdirs): Remove nss.
51046         * sysdeps/unix/inet/Subdirs: Add it here instead.
51047         * hesiod/Depend: New file.
51049         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
51050         instead of calling alloca.
51052         * io/lseek.c (__lseek): Rename to __libc_lseek.
51053         Define __lseek as an alias.
51055         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
51057 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
51059         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
51060         else clause and remove check for non-standard endianness.
51062 2013-02-04  David S. Miller  <davem@davemloft.net>
51064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51066 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
51068         [BZ #13550]
51069         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
51070         (__ubp_memchr): Remove prototype.
51071         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
51072         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51073         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
51074         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51075         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
51076         Remove alias.
51077         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
51078         (__ubp_memchr): Likewise.
51079         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
51080         (__ubp_memchr): Likewise.
51081         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
51082         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
51083         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
51084         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
51085         CHECK_STRING.
51086         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51087         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
51088         (__getcwd): Do not use CHECK_STRING.
51089         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
51090         <bp-checks.h>.
51091         (__real_chown): Do not use CHECK_STRING.
51092         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
51093         <bp-checks.h>.
51094         (fchownat): Do not use CHECK_STRING.
51095         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
51096         CHECK_STRING.
51097         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
51098         <bp-checks.h>.
51099         (__lchown): Do not use CHECK_STRING.
51100         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51101         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51102         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51103         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
51104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
51105         include <bp-checks.h>.
51106         (truncate64): Do not use CHECK_STRING.
51107         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51108         <bp-checks.h>.
51109         (__real_chown): Do not use CHECK_STRING.
51110         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51111         <bp-checks.h>.
51112         (__lchown): Do not use CHECK_STRING.
51113         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51114         <bp-checks.h>.
51115         (__chown): Do not use CHECK_STRING.
51116         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
51117         <bp-checks.h>.
51118         (truncate64): Do not use CHECK_STRING.
51119         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
51120         Likewise.
51121         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
51122         (__xmknod): Do not use CHECK_STRING.
51123         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
51124         <bp-checks.h>.
51125         (__xmknodat): Do not use CHECK_STRING.
51126         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51127         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
51129 2013-02-04  Andreas Schwab  <schwab@suse.de>
51131         [BZ #14142]
51132         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
51133         * include/netdb.h: Likewise for h_errno.
51134         * elf/tst-stackguard1.c: Include <tls.h>.
51136 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
51138         * elf/link.h (struct link_map): Extend the l_addr comment.
51139         * include/link.h (struct link_map): Likewise.
51141 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
51143         [BZ #13550]
51144         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
51145         (BOUNDED_1): Remove macro.
51146         * debug/backtrace.c: Don't include <bp-checks.h>.
51147         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
51148         (__backtrace): Likewise.
51149         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
51150         <bp-checks.h>.
51151         (__backtrace): Don't use BOUNDED_1.
51152         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
51153         <bp-checks.h>.
51154         (__backtrace): Don't use BOUNDED_1.
51155         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
51156         (__backtrace): Don't use BOUNDED_1.
51157         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
51158         (shmat): Don't use BOUNDED_N.
51160 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
51162         [BZ #13550]
51163         * sysdeps/generic/bp-start.h: Remove file.
51164         * csu/libc-start.c: Don't include <bp-start.h>.
51165         (LIBC_START_MAIN): Set up __environ directly instead of using
51166         INIT_ARGV_and_ENVIRON.
51167         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
51168         <bp-start.h>.
51170         [BZ #13550]
51171         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
51172         definitions.
51173         (CHECK_FCNTL): Likewise.
51174         (CHECK_N_PAGES): Likewise.
51176         [BZ #13550]
51177         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
51178         definitions.
51179         (CHECK_SIGSET_NULL_OK): Likewise.
51180         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
51181         <bp-checks.h>.
51182         (sigpending): Don't use CHECK_SIGSET.
51183         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
51184         <bp-checks.h>.
51185         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51186         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
51187         <bp-checks.h>.
51188         (do_sigsuspend): Don't use CHECK_SIGSET.
51189         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
51190         use CHECK_SIGSET.
51191         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
51192         (do_sigwait): Don't use CHECK_SIGSET.
51193         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
51194         use CHECK_SIGSET.
51195         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
51196         include <bp-checks.h>.
51197         (sigpending): Don't use CHECK_SIGSET.
51198         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
51199         include <bp-checks.h>.
51200         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51201         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
51202         <bp-checks.h>.
51203         (sigpending): Don't use CHECK_SIGSET.
51204         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
51205         <bp-checks.h>.
51206         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51208         [BZ #13550]
51209         * sysdeps/generic/bp-semctl.h: Remove file.
51210         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
51211         <bp-checks.h> and <bp-semctl.h>.
51212         (__old_semctl): Don't use CHECK_SEMCTL.
51213         (__new_semctl): Likewise.
51214         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
51215         and <bp-semctl.h>.
51216         (__old_semctl): Don't use CHECK_SEMCTL.
51217         (__new_semctl): Likewise.
51218         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
51219         <bp-checks.h> and <bp-semctl.h>.
51220         (__old_semctl): Don't use CHECK_SEMCTL.
51221         (__new_semctl): Likewise.
51222         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
51223         <bp-checks.h> and <bp-semctl.h>.
51224         (semctl): Don't use CHECK_SEMCTL.
51226         [BZ #13550]
51227         * Makerules (elide-bp-thunks): Remove variable.
51228         (elide-routines.oS): Don't use $(elide-bp-thunks).
51229         (elide-routines.os): Likewise.
51230         (elide-routines.o): Likewise.
51231         (elide-routines.op): Likewise.
51232         (elide-routines.og): Likewise.
51233         (objects): Don't use $(bp-thunks).
51234         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
51235         include.
51236         (common-generated): Do not add s-proto-bp.d.
51237         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
51238         (int): Likewise.
51239         (typ): Likewise.
51240         Do not generate makefile rules for bounded-pointer thunks.
51241         * sysdeps/generic/bp-thunks.h: Remove file.
51242         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
51243         * sysdeps/unix/s-proto-bp.S: Likewise.
51245         [BZ #15062]
51246         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
51247         parts of result separately when argument is not close to line from
51248         -i to i and one part of argument is small.
51249         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51250         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51251         * math/libm-test.inc (cacos_test): Add more tests.
51252         (casin_test): Likewise.
51253         (casinh_test): Likewise.
51254         * sysdeps/i386/fpu/libm-test-ulps: Update.
51255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51257 2013-01-31  David S. Miller  <davem@davemloft.net>
51259         * po/de.po: Update from translation team.
51261 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
51263         * time/tzfile.c: Include stdint.h for SIZE_MAX.
51265 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
51267         * configure.in (_AC_PROG_CC_C89): New definition.
51268         * configure: Regenerate.
51270         * configure.in (AC_PROG_CPP): New definition.
51271         * configure: Regenerate.
51273 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51275         * debug/tst-backtrace.h: New file.
51276         * debug/tst-backtrace2.c: Include tst-backtrace.h.
51277         (ret): Remove variable.
51278         (x): Likewise.
51279         (FAIL): Remove macro.
51280         (NO_INLINE): Likewise.
51281         (fn1): Use match function instead of strstr.
51282         * debug/tst-backtrace3.c: Include tst-backtrace.h.
51283         (ret): Remove variable.
51284         (x): Likewise.
51285         (FAIL): Remove macro.
51286         (NO_INLINE): Likewise.
51287         (fn): Use match function instead of strstr.
51288         * debug/tst-backtrace4.c: Include tst-backtrace.h.
51289         (ret): Remove variable.
51290         (x): Likewise.
51291         (FAIL): Remove macro.
51292         (NO_INLINE): Likewise.
51293         (handle_signal): Use match function instead of strstr.
51294         * debug/tst-backtrace5.c: Include tst-backtrace.h.
51295         (ret): Remove variable.
51296         (x): Likewise.
51297         (FAIL): Remove macro.
51298         (NO_INLINE): Likewise.
51299         (handle_signal): Use match function instead of strstr.
51301 2013-01-23  Roland McGrath  <roland@hack.frob.com>
51303         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
51305 2013-01-23  David S. Miller  <davem@davemloft.net>
51307         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
51308         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
51309         argument of CAS if possible.
51310         * sysdeps/sparc/sparc64/bits/atomic.h
51311         (__arch_compare_and_exchange_val_32_acq): Likewise.
51312         (__arch_compare_and_exchange_val_64_acq): Likewise.
51314 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
51316         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
51317         * sysdeps/posix/ulimit.c: ... this.
51318         Include <limits.h>.
51319         * sysdeps/unix/bsd/ulimit.c: Remove file.
51321 2013-01-23  Adam Conrad  <adconrad@0c3.net>
51323         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
51324         (LDFLAGS-tst-array5): Likewise.
51326 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51328         [BZ #15036]
51329         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
51330         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
51331         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
51332         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
51334 2013-01-21  David S. Miller  <davem@davemloft.net>
51336         * sysdeps/sparc/backtrace.c: New file.
51337         * sysdeps/sparc/sparc32/backtrace.h: New file.
51338         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
51339         * sysdeps/sparc/sparc64/backtrace.h: New file.
51340         * sysdeps/sparc/sparc64/backtrace.c: Delete.
51341         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
51342         -funwind-tables.
51344 2013-01-21  Andreas Schwab  <schwab@suse.de>
51346         [BZ #15020]
51347         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
51348         closed its stdout.
51350 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
51352         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
51353         "mpa2.h".
51354         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51356 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
51357             Mark Mitchell  <mark@codesourcery.com>
51358             Tom de Vries  <tom@codesourcery.com>
51359             Paul Pluzhnikov  <ppluzhnikov@google.com>
51361         * debug/tst-backtrace2.c: New file.
51362         * debug/tst-backtrace3.c: Likewise.
51363         * debug/tst-backtrace4.c: Likewise.
51364         * debug/tst-backtrace5.c: Likewise.
51365         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
51366         (CFLAGS-tst-backtrace3.c): Likewise.
51367         (CFLAGS-tst-backtrace4.c): Likewise.
51368         (CFLAGS-tst-backtrace5.c): Likewise.
51369         (LDFLAGS-tst-backtrace2): Likewise.
51370         (LDFLAGS-tst-backtrace3): Likewise.
51371         (LDFLAGS-tst-backtrace4): Likewise.
51372         (LDFLAGS-tst-backtrace5): Likewise.
51373         (tests): Add new tests tst-backtrace2, tst-backtrace3,
51374         tst-backtrace4 and tst-backtrace5.
51376 2013-01-18  Anton Blanchard  <anton@samba.org>
51377             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51379         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
51380         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
51381         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
51382         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
51383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51384         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
51385         "+r" and remove output regs list as redundant.  Add explicit inline
51386         asm to specify register of return val to work around compiler codegen
51387         bug.  Remove (int) cast on return value.  Add return type parameter to
51388         use in macro so that this macro does not truncate return value for
51389         64-bit values.
51390         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
51391         pass to INTERNAL_VSYSCALL_NCS.
51392         (INLINE_VSYSCALL): Add 'long int' as return type to
51393         INTERNAL_VSYSCALL_NCS macro invocation.
51394         (INTERNAL_VSYSCALL): Add 'long int' as return type to
51395         INTERNAL_VSYSCALL_NCS macro invocation.
51396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51398 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51400         [BZ #14496]
51401         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
51402         Fix application of SIMD FP exception mask.
51404         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
51405         mp_no from a power of two.
51406         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
51407         __mpexp_twomm1.  Use __pow_mp.
51409         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
51410         multiplication.
51412 2013-01-17  David S. Miller  <davem@davemloft.net>
51414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51416 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51418         [BZ #15023]
51419         * include/complex.h: Condition contents on [!_COMPLEX_H].
51420         (__kernel_casinhf): New prototype.
51421         (__kernel_casinh): Likewise.
51422         (__kernel_casinhl): Likewise.
51423         * math/Makefile (libm_calls): Add k_casinh.
51424         * math/k_casinh.c: New file.
51425         * math/k_casinhf.c: Likewise.
51426         * math/k_casinhl.c: Likewise.
51427         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
51428         finite nonzero arguments.
51429         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
51430         finite nonzero arguments.
51431         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
51432         finite nonzero arguments.
51433         * math/s_casinh.c: Do not include <float.h>.
51434         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
51435         * math/s_casinhf.c: Do not include <float.h>.
51436         (__casinhf): Move code for finite nonzero arguments to
51437         k_casinhf.c.
51438         * math/s_casinhl.c: Do not include <float.h>.
51439         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
51440         redefine.
51441         (__casinhl): Move code for finite nonzero arguments to
51442         k_casinhl.c.
51443         * math/libm-test.inc (cacos_test): Add more tests.
51444         * sysdeps/i386/fpu/libm-test-ulps: Update.
51445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51447 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
51449         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
51450         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
51451         [!HAVE_MREMAP]: Remove [defined linux] case.
51452         * malloc/arena.c: Do not include <malloc-sysdep.h>.
51454 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51456         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
51458 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
51460         * elf/elf.h (R_386_SIZE32): New relocation.
51461         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
51462         R_386_SIZE32.
51463         (elf_machine_rela): Likewise.
51464         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51465         R_X86_64_SIZE64 and R_X86_64_SIZE32.
51467 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51469         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
51470         (FP_FAST_FMA): Do not define.
51471         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
51472         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
51473         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
51474         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
51475         !_SOFT_FLOAT]: Likewise.
51476         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
51477         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
51478         value.
51479         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
51480         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
51481         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
51482         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
51483         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
51484         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
51485         file.
51487 2013-01-16  Andreas Schwab  <schwab@suse.de>
51489         [BZ #14327]
51490         * include/stdlib.h (__mktemp): Add declaration.
51491         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
51492         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
51494 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51496         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
51497         definitions.
51498         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51499         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
51500         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
51501         definitions here.
51502         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
51503         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
51504         definitions.
51505         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
51506         and ONE.
51507         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
51508         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
51509         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
51510         definitions.
51511         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
51512         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
51513         definitions.
51514         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51516         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
51518 2013-01-15  David S. Miller  <davem@davemloft.net>
51520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51521         trunc{,f} to libm-sysdep_routes.
51522         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
51524         file.
51525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
51526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
51527         file.
51528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
51529         file.
51530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
51531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
51532         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
51533         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
51534         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
51535         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
51536         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
51537         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
51539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51540         nearbyint{,f} to libm-sysdep_routes.
51541         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
51543         New file.
51544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
51545         file.
51546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
51547         New file.
51548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
51549         file.
51550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
51551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
51552         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
51553         file.
51554         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
51555         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
51556         file.
51557         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
51558         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
51559         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
51561         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51562         libc_feholdexcept and libc_fesetenv.
51564 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
51566         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
51568 2013-01-14  David S. Miller  <davem@davemloft.net>
51570         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
51571         (SPARC_ASM_VIS2_IFUNC): Likewise.
51572         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
51573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
51574         use of 'siam' instruction.
51575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
51576         Likewise.
51577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
51578         Likewise.
51579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
51580         Likewise.
51581         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
51582         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
51583         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
51584         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
51585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
51586         file.
51587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
51588         file.
51589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
51590         file.
51591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
51592         file.
51593         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
51594         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
51595         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
51596         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
51597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
51598         new VIS2 routines.
51599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51602         Likewise.
51603         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51604         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51605         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51606         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
51608         routines to libm-sysdep_routines.
51609         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51612         fdim/fdimf to libm-sysdep_routines.
51613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
51614         file.
51615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
51616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
51617         file.
51618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
51619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
51620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
51621         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
51622         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
51623         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
51624         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
51626 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51628         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
51629         to optimize copies.
51631         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
51632         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51633         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51635         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
51636         local variable MPTWO.
51637         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51638         Likewise.
51640 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51642         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
51643         GLOB_NOESCAPE.
51645 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51647         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
51649 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51651         * manual/pattern.texi (glob_t): Document gl_flags.
51652         (glob64_t): Likewise.
51654 2013-01-11  David S. Miller  <davem@davemloft.net>
51656         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
51657         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
51658         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
51659         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
51660         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
51661         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
51662         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
51663         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
51664         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
51665         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
51666         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
51667         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
51668         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
51670         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51671         sparc V9 rather than using V8 code.
51672         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51673         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51675         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51676         Move to...
51677         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
51678         Here.
51680 2013-01-11  Roland McGrath  <roland@hack.frob.com>
51682         [BZ #14941]
51683         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
51684         not in the main loop.
51685         * configure: Regenerated.
51687 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
51689         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
51690         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
51691         to just #else.
51692         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
51693         [!__GLIBC_HAVE_LONG_LONG] case.
51694         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
51695         condition to just #else.
51696         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
51697         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
51698         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
51699         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
51700         unconditional.
51701         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
51702         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51703         #elif condition to just #else.
51704         * sysdeps/unix/sysv/linux/sys/sysmacros.h
51705         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
51706         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51707         #elif condition to just #else.
51709 2013-01-11  Steve Ellcey  <sellcey@mips.com>
51711         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
51712         (EF_MIPS_ARCH_64): Fix value.
51713         (EF_MIPS_ARCH_32R2): New.
51714         (EF_MIPS_ARCH_64R2): New.
51716 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
51718         * Makeconfig (+link-pie-before-libc): New.
51719         (+link-pie-after-libc): Likewise.
51720         (+link-pie-tests): Likewise.
51721         (+link-pie): Rewritten.
51722         (link-before-libc): Remove $(config-LDFLAGS).
51723         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
51724         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
51725         (config-LDFLAGS): Renamed to ...
51726         (rtld-LDFLAGS): This.
51727         (rtld-tests-LDFLAGS): New macro.
51728         (link-libc-rpath-link): Likewise.
51729         (link-libc-tests-rpath-link): Likewise.
51730         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
51731         (link-libc): Prepand $(link-libc-rpath-link).
51732         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
51733         (test-program-prefix): New macro.
51734         (test-via-rtld-prefix): Likewise.
51735         (test-program-cmd): Likewise.
51736         (host-test-program-cmd): Likewise.
51737         * Makefile ($(common-objpfx)testrun.sh): Replace
51738         $(run-program-prefix) with $(test-program-prefix).
51739         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
51740         $(rtld-LDFLAGS).
51741         ($(common-objpfx)shlib.lds): Likewise.
51742         (build-module-helper): Likewise.
51743         ($(common-objpfx)format.lds): Likewise.
51744         * Rules (binaries-pie-tests): New.
51745         (binaries-pie-notests): Likewise.
51746         (binaries-pie): Rewritten.
51747         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
51748         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
51749         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
51750         (make-test-out): Replace $(host-built-program-cmd) with
51751         $(host-test-program-cmd).
51752         * config.make.in (build-hardcoded-path-in-tests): New variable.
51753         * configure.in (--enable-hardcoded-path-in-tests): New configure
51754         option.
51755         (hardcoded_path_in_tests): New AC_SUBST.
51756         * configure: Regenerated.
51757         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
51758         $(built-program-cmd) with $(test-program-cmd).
51759         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
51760         (test_program_cmd): This.
51761         * elf/Makefile ($(objpfx)order.out): Run test with
51762         $(test-program-prefix).
51763         ($(objpfx)order2.out): Likewise.
51764         ($(objpfx)tst-initorder.out): Likewise.
51765         ($(objpfx)tst-initorder2.out): Likewise.
51766         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
51767         $(test-program-cmd).
51768         ($(objpfx)tst-array1-static.out): Likewise.
51769         ($(objpfx)tst-array2.out): Likewise.
51770         ($(objpfx)tst-array3.out): Likewise.
51771         ($(objpfx)tst-array4.out): Likewise.
51772         ($(objpfx)tst-array5.out): Likewise.
51773         ($(objpfx)tst-array5-static.out): Likewise.
51774         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
51775         $(test-program-cmd).
51776         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
51777         $(run-program-prefix) with $(test-program-prefix).
51778         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
51779         (test_program_prefix): This.
51780         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
51781         $(run-program-prefix) with $(test-program-prefix).
51782         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
51783         (test_program_prefix): This.
51784         * iconvdata/tst-tables.sh: Likewise.
51785         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
51786         $(run-program-prefix) with $(test-program-prefix).
51787         ($(objpfx)tst-translit.out): Likewise.
51788         ($(objpfx)tst-gettext2.out): Likewise.
51789         ($(objpfx)tst-gettext4.out): Likewise.
51790         ($(objpfx)tst-gettext6.out): Likewise.
51791         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
51792         (test_program_prefix): This.
51793         * intl/tst-gettext2.sh: Likewise.
51794         * intl/tst-gettext4.sh  Likewise.
51795         * intl/tst-gettext6.sh: Likewise.
51796         * intl/tst-translit.sh: Likewise.
51797         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
51798         with $(test-program-cmd).
51799         * libio/Makefile ($(objpfx)test-freopen.out): Replace
51800         $(run-program-prefix) with $(test-program-prefix).
51801         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
51802         (test_program_prefix): This.
51803         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
51804         $(run-program-prefix) with $(test-program-prefix).
51805         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
51806         (test_program_prefix): This.
51807         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
51808         * posix/Makefile ($(objpfx)globtest.out): Replace
51809         $(run-via-rtld-prefix) and $(test-wrapper) with
51810         $(test-program-prefix) and $(test-via-rtld-prefix).
51811         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
51812         $(test-program-prefix).
51813         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
51814         $(host-test-program-cmd).
51815         (tst-spawn-ARGS): Likewise.
51816         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
51817         $(test-program-prefix).
51818         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
51819         (test_via_rtld_prefix): This.
51820         (test_wrapper): Renamed to ...
51821         (test_program_prefix): This.
51822         (run_program_prefix): Replaced by test_program_prefix.
51823         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
51824         (test_program_prefix): This.
51825         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
51826         with $(host-test-program-cmd).
51827         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
51828         $(run-program-prefix) with $(test-program-prefix).
51829         ($(objpfx)tst-printf.out): Likewise.
51830         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
51831         $(test-program-cmd).
51832         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
51833         (test_program_prefix): This.
51834         * stdio-common/tst-unbputc.sh: Likewise.
51835         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
51836         $(run-program-prefix) with $(test-program-prefix).
51837         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
51838         (test_program_prefix): This.
51839         * string/Makefile ($(objpfx)tst-svc.out):  Replace
51840         $(built-program-cmd) with $(test-program-cmd).
51842 2013-01-11  Andreas Jaeger  <aj@suse.de>
51844         [BZ #15003]
51845         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
51846         value. Sync with Linux 3.7.
51848 2013-01-10  David S. Miller  <davem@davemloft.net>
51850         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
51851         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51852         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51854 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51856         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
51857         never set.
51858         * configure: Regenerated.
51860 2013-01-10  David S. Miller  <davem@davemloft.net>
51862         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51863         sparc V9 rather than using V8 code.
51864         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51865         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51867 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51869         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
51870         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
51871         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
51872         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
51873         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
51874         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
51875         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
51876         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
51877         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
51878         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
51879         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
51880         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
51881         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
51882         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
51883         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
51884         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
51885         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
51886         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
51887         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
51888         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
51889         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
51890         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
51891         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
51892         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
51893         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
51894         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
51895         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
51897 2013-01-10  David S. Miller  <davem@davemloft.net>
51899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51901 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51903         * posix/Makefile (tests-static): New variable.
51904         (tests): Add $(tests-static).
51905         (tst-exec-static-ARGS): New variable.
51906         (tst-spawn-static-ARGS): Likewise.
51907         * posix/tst-exec-static.c: New file.
51908         * posix/tst-spawn-static.c: Likewise.
51909         * posix/tst-exec.c: Support run directly.
51910         * posix/tst-spawn.c: Likewise.
51912 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
51914         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
51915         long.
51916         * math/bits/mathcalls.h (llrint): Likewise.
51917         (llround): Likewise.
51918         * stdlib/stdlib.h (struct drand48_data): Likewise.
51919         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
51920         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
51921         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
51922         Likewise.
51923         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
51924         Likewise.
51925         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
51926         (elf_greg_t): Likewise.
51927         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
51928         (__jmp_buf): Likewise.
51929         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
51930         definitions.
51931         (llrint): Likewise, for all definitions.
51932         (llrintl): Likewise.
51934         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
51935         Remove [__GNUC__] condition.
51936         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
51937         condition to just [__USE_ISOC99].
51938         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
51940 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51942         [BZ #14200]
51943         * sysdeps/unix/sysv/linux/x86/bits/environments.h
51944         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
51945         defined.
51946         (_POSIX_V6_ILP32_OFF32): Likewise.
51947         (_XBS5_ILP32_OFF32): Likewise.
51948         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
51949         (__ILP32_OFFBIG_LDFLAGS): Likewise.
51951 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51953         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
51955         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
51956         doubles __mpexp_twomm1.  Adjust usage.
51957         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
51958         Remove.
51960 2013-01-10  Andreas Schwab  <schwab@suse.de>
51962         [BZ #14964]
51963         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
51964         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
51966 2013-01-09  David S. Miller  <davem@davemloft.net>
51968         [BZ #15003]
51969         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
51970         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
51971         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
51972         (TCP_FASTOPEN): Define.
51973         (tcp_repair_opt): New structure.
51974         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
51975         enum values.
51976         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
51977         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
51978         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
51979         (tcp_cookie_transactions): New structure.
51981 2013-01-09  Anton Blanchard  <anton@samba.org>
51983         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
51984         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
51985         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
51986         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
51988 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
51990         * include/features.h (__USE_ANSI): Remove.
51992 2013-01-09  Roland McGrath  <roland@hack.frob.com>
51994         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
51996         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
51998 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
52000         * sysdeps/s390/fpu/libm-test-ulps: Update.
52002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52004         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
52005         (__acr): Likewise.
52006         (__cpy): Likewise.
52007         (norm): Likewise.
52008         (denorm): Likewise.
52009         (__mp_dbl): Likewise.
52010         (__dbl_mp): Likewise.
52011         (add_magnitudes): Likewise.
52012         (sub_magnitudes): Likewise.
52013         (__add): Likewise.
52014         (__sub): Likewise.
52015         (__mul): Likewise.
52016         (__inv): Likewise.
52017         (__dvd): Likewise.
52018         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
52019         (__acr): Likewise.
52020         (__cpy): Likewise.
52021         (norm): Likewise.
52022         (denorm): Likewise.
52023         (__mp_dbl): Likewise.
52024         (__dbl_mp): Likewise.
52025         (add_magnitudes): Likewise.
52026         (sub_magnitudes): Likewise.
52027         (__add): Likewise.
52028         (__sub): Likewise.
52029         (__mul): Likewise.
52030         (__inv): Likewise.
52031         (__dvd): Likewise.
52032         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
52033         (__acr): Likewise.
52034         (__cpy): Likewise.
52035         (norm): Likewise.
52036         (denorm): Likewise.
52037         (__mp_dbl): Likewise.
52038         (__dbl_mp): Likewise.
52039         (add_magnitudes): Likewise.
52040         (sub_magnitudes): Likewise.
52041         (__add): Likewise.
52042         (__sub): Likewise.
52043         (__mul): Likewise.
52044         (__inv): Likewise.
52045         (__dvd): Likewise.
52047 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
52049         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
52050         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
52051         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
52052         2 && __USE_EXTERN_INLINES]: Likewise.
52054 2013-01-08  Andreas Jaeger  <aj@suse.de>
52056         [BZ# 14985]
52057         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
52058         Remove.
52059         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52060         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52062 2013-01-07  Anton Blanchard  <anton@samba.org>
52064         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
52065         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52066         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
52067         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52068         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52069         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52070         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
52071         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52072         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52073         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52074         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52075         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52076         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52077         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52078         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52079         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52080         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52081         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52082         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52083         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52084         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52085         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
52086         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52087         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52088         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
52089         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52090         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52091         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52092         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
52093         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52094         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52095         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52096         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52097         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52098         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52099         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52100         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52101         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52102         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
52103         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52104         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
52105         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52106         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52108 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
52110         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
52111         (__MALLOC_PMT): Likewise.
52112         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
52113         [__GNUC__], only on [_LIBC].
52114         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52115         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
52116         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52117         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
52118         forward declaration.
52119         (realloc_hook_ini): Likewise.
52120         (memalign_hook_ini): Likewise.
52121         (__libc_memalign): Do not use __MALLOC_PMT in variable
52122         declaration.
52123         (__libc_valloc): Likewise.
52124         (__libc_pvalloc): Likewise.
52125         (__libc_calloc): Likewise.
52126         (__posix_memalign): Likewise.
52128         [BZ #14996]
52129         * math/s_casinh.c: Include <float.h>.
52130         (__casinh): Do not do computation with squaring and square root
52131         for large arguments.
52132         * math/s_casinhf.c: Include <float.h>.
52133         (__casinhf): Do not do computation with squaring and square root
52134         for large arguments.
52135         * math/s_casinhl.c: Include <float.h>.
52136         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
52137         (__casinhl): Do not do computation with squaring and square root
52138         for large arguments.
52139         * math/libm-test.inc (casin_test): Add more tests.
52140         (casinh_test): Likewise.
52141         * sysdeps/i386/fpu/libm-test-ulps: Update.
52142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52144 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
52146         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
52147         (__x86_64_raw_data_cache_size): Likewise.
52148         (__x86_64_data_cache_size_half): Likewise.
52149         (__x86_64_raw_data_cache_size_half): Likewise.
52150         (__x86_64_shared_cache_size): Likewise.
52151         (__x86_64_raw_shared_cache_size): Likewise.
52152         (__x86_64_shared_cache_size_half): Likewise.
52153         (__x86_64_raw_shared_cache_size_half): Likewise.
52154         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
52155         to ...
52156         (__x86_data_cache_size): This.
52157         (__x86_64_raw_data_cache_size): Renamed to ...
52158         (__x86_raw_data_cache_size): This.
52159         (__x86_64_data_cache_size_half): Renamed to ...
52160         (__x86_data_cache_size_half): This.
52161         (__x86_64_raw_data_cache_size_half): Renamed to ...
52162         (__x86_raw_data_cache_size_half): This.
52163         (__x86_64_shared_cache_size): Renamed to ...
52164         (__x86_shared_cache_size): This.
52165         (__x86_64_raw_shared_cache_size): Renamed to ...
52166         (__x86_raw_shared_cache_size): This.
52167         (__x86_64_shared_cache_size_half): Renamed to ...
52168         (__x86_shared_cache_size_half): This.
52169         (__x86_64_raw_shared_cache_size_half): Renamed to ...
52170         (__x86_raw_shared_cache_size_half): This.
52171         * sysdeps/x86_64/memcpy.S: Updated.
52172         * sysdeps/x86_64/memset.S: Likewise.
52173         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52174         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52175         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52177 2013-01-04  David S. Miller  <davem@davemloft.net>
52179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52181 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
52183         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
52184         1 to avoid redefinition warning.
52185         (__USE_GNU): Don't define.
52186         (init_signaling_nan): Protoize.
52188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52190 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52192         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
52193         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
52194         (__cpymn): Likewise.
52195         (norm): Remove commented code.
52196         (denorm): Likewise.
52197         (__mp_dbl): Likewise.
52198         (__inv): Likewise.
52199         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
52200         (__cpymn): Likewise.
52201         (norm): Remove commented code.
52202         (denorm): Likewise.
52203         (__mp_dbl): Likewise.
52204         (__inv): Likewise.
52206         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
52207         mp_no value for 1.0 and 2.0.
52208         (norm): Use RADIXI instead of radixi.d.
52209         (denorm): Likewise.
52210         (__mul): Use 0.0 instead of zero.d.
52211         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
52212         mp_no value for 1.0 and 2.0.
52213         (norm): Use RADIXI instead of radixi.d.
52214         (denorm): Likewise.
52215         (__mul): Use 0.0 instead of zero.d.
52217 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
52219         [BZ #14994]
52220         * math/s_casinh.c (__casinh): Reduce finite argument to first
52221         quadrant then set signs of results at the end.
52222         * math/s_casinhf.c (__casinhf): Likewise.
52223         * math/s_casinhl.c (__casinhl): Likewise.
52224         * math/libm-test.inc (casin_test): Add more tests.
52225         (casinh_test): Likewise.
52226         * sysdeps/i386/fpu/libm-test-ulps: Update.
52227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52229 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52231         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
52233         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
52235         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
52236         declarations.
52237         (denorm): Likewise.
52238         (__mp_dbl): Likewise.
52239         (__inv): Likewise.
52241         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
52242         and adjust the header comment.
52244         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
52245         variable name from declaration.
52247 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
52249         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52250         Initialize COMMON_CPUID_INDEX_7 element.
52251         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
52252         (CPUID_RTM): Likewise.
52253         (HAS_RTM): Likewise.
52254         (COMMON_CPUID_INDEX_7): New enum.
52256 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
52258         [BZ #14981]
52259         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
52260         size is zero, record memory as freed.
52262 2013-01-03  Andreas Jaeger  <aj@suse.de>
52264         * po/ia.po: Add new Interlingua translation.
52266 2012-01-03  Allan McRae  <allan@archlinux.org>
52268         * locale/programs/localedef.c: Fix description of '--posix' flag.
52270 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
52272         * NEWS: Update dates in second copyright notice.
52273         * README: Update copyright dates in example.
52274         * manual/libc.texinfo: Update copyright dates.
52275         * scripts/test-installation.pl: Update copyright date in --version
52276         output.
52278         * hurd/ctty-input.c: Fix copyright notice formatting.
52279         * hurd/ctty-output.c: Likewise.
52280         * hurd/dtable.c: Likewise.
52281         * hurd/hurd-raise.c: Likewise.
52282         * hurd/hurdprio.c: Likewise.
52283         * hurd/msgportdemux.c: Likewise.
52284         * misc/sys/file.h: Likewise.
52285         * misc/sys/ioctl.h: Likewise.
52286         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52287         * sysdeps/mach/hurd/chdir.c: Likewise.
52288         * sysdeps/mach/hurd/fchdir.c: Likewise.
52289         * sysdeps/mach/hurd/rename.c: Likewise.
52290         * sysdeps/mach/hurd/rmdir.c: Likewise.
52291         * sysdeps/mach/hurd/seekdir.c: Likewise.
52292         * sysdeps/mach/hurd/setsid.c: Likewise.
52293         * sysdeps/posix/wait3.c: Likewise.
52295         * All files with FSF copyright notices: Update copyright dates
52296         using scripts/update-copyrights.
52297         * intl/plural.c: Regenerated.
52298         * locale/programs/charmap-kw.h: Likewise.
52299         * locale/programs/locfile-kw.h: Likewise.
52301 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52303         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
52304         four values.
52306         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
52307         calculation loop and add branch prediction.
52309         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
52310         check access beyond bounds of m1np.
52312         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52313         MPTWO.
52314         (__inv): Remove local variable MPTWO to use the global
52315         constant.
52316         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
52317         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52318         variable MPTWO.
52319         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
52320         MP3HALFS static const.
52322 2013-01-01  David S. Miller  <davem@davemloft.net>
52324         * po/ca.po: Update from translation team.
52326 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
52328         * scripts/update-copyrights: New file.
52329         * Makeconfig: Reformat copyright notice.
52330         * ctype/ctype.h: Likewise.
52331         * debug/swprintf_chk.c: Likewise.
52332         * elf/dl-cache.c: Likewise.
52333         * elf/dl-debug.c: Likewise.
52334         * elf/dl-object.c: Likewise.
52335         * grp/initgroups.c: Likewise.
52336         * hurd/Makefile: Likewise.
52337         * hurd/hurd/signal.h: Likewise.
52338         * hurd/hurdfault.c: Likewise.
52339         * hurd/hurdioctl.c: Likewise.
52340         * hurd/hurdlookup.c: Likewise.
52341         * hurd/intr-msg.c: Likewise.
52342         * iconv/gconv_open.c: Likewise.
52343         * libio/swprintf.c: Likewise.
52344         * locale/lc-ctype.c: Likewise.
52345         * locale/nl_langinfo.c: Likewise.
52346         * mach/Machrules: Likewise.
52347         * mach/Makefile: Likewise.
52348         * malloc/obstack.h: Likewise.
52349         * manual/Makefile: Likewise.
52350         * manual/tsort.awk: Likewise.
52351         * misc/bits/stab.def: Likewise.
52352         * nis/nis_print_group_entry.c: Likewise.
52353         * nis/nis_table.c: Likewise.
52354         * nis/nss_compat/compat-pwd.c: Likewise.
52355         * nis/nss_compat/compat-spwd.c: Likewise.
52356         * po/Makefile: Likewise.
52357         * posix/fnmatch.c: Likewise.
52358         * posix/regex.h: Likewise.
52359         * resolv/Makefile: Likewise.
52360         * resolv/nss_dns/dns-network.c: Likewise.
52361         * resolv/res_hconf.c: Likewise.
52362         * scripts/gen-sorted.awk: Likewise.
52363         * soft-fp/soft-fp.h: Likewise.
52364         * stdio-common/printf.h: Likewise.
52365         * stdlib/monetary.h: Likewise.
52366         * stdlib/random.c: Likewise.
52367         * stdlib/random_r.c: Likewise.
52368         * sysdeps/generic/Makefile: Likewise.
52369         * sysdeps/gnu/Makefile: Likewise.
52370         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52371         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52372         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52373         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52374         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52375         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52376         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52377         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52378         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52379         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52380         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52381         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52382         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52383         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52384         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
52385         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52386         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52387         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52388         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52389         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52390         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52391         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52392         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52393         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52394         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
52395         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52396         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52397         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
52398         * sysdeps/mach/hurd/errnos.awk: Likewise.
52399         * sysdeps/mach/hurd/fork.c: Likewise.
52400         * sysdeps/mach/hurd/getcwd.c: Likewise.
52401         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
52402         * sysdeps/mach/hurd/mmap.c: Likewise.
52403         * sysdeps/mach/hurd/utimes.c: Likewise.
52404         * sysdeps/mach/hurd/xmknod.c: Likewise.
52405         * sysdeps/posix/profil.c: Likewise.
52406         * sysdeps/posix/readdir_r.c: Likewise.
52407         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52408         * sysdeps/powerpc/bits/setjmp.h: Likewise.
52409         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
52410         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52411         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52412         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52413         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52414         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52416         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52417         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52418         * sysdeps/pthread/lio_listio.c: Likewise.
52419         * sysdeps/sparc/dl-procinfo.h: Likewise.
52420         * sysdeps/unix/i386/sysdep.S: Likewise.
52421         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
52422         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
52423         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
52424         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
52425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52426         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
52427         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
52428         * sysdeps/unix/sysv/linux/speed.c: Likewise.
52429         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
52430         * sysdeps/wordsize-32/divdi3.c: Likewise.
52431         * time/sys/time.h: Likewise.
52432         * wcsmbs/Makefile: Likewise.
52434 2013-01-01  David S. Miller  <davem@davemloft.net>
52436         * po/fr.po: Update from translation team.
52438         * catgets/gencat.c: Update copyright year.
52439         * csu/version.c: Likewise.
52440         * debug/catchsegv.sh: Likewise.
52441         * debug/pcprofiledump.c: Likewise.
52442         * debug/xtrace.sh: Likewise.
52443         * elf/ldconfig.c: Likewise.
52444         * elf/ldd.bash.in: Likewise.
52445         * elf/pldd.c: Likewise.
52446         * elf/sotruss.ksh: Likewise.
52447         * elf/sprof.c: Likewise.
52448         * iconv/iconv_prog.c: Likewise.
52449         * iconv/iconvconfig.c: Likewise.
52450         * locale/programs/locale.c: Likewise.
52451         * locale/programs/localedef.c: Likewise.
52452         * login/programs/pt_chown.c: Likewise.
52453         * malloc/memusage.sh: Likewise.
52454         * malloc/memusagestat.c: Likewise.
52455         * malloc/mtrace.pl: Likewise.
52456         * nscd/nscd.c: Likewise.
52457         * nss/getent.c: Likewise.
52458         * nss/makedb.c: Likewise.
52459         * posix/getconf.c: Likewise.
52461 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52463         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
52464         numbers.
52466 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
52468         * math/bits/mathcalls.h (modf): Use __nonnull.
52470 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52472         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
52473         (split): Use macro CN instead of the bare value.
52474         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
52475         could be used.
52476         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
52477         instead of the bare value.
52478         (power1): Likewise.
52480 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52482         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
52483         __ATAN_TWOM.
52484         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52486         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
52487         their values.
52488         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52489         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52490         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
52491         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52493 2012-12-28  Andreas Jaeger  <aj@suse.de>
52495         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
52496         values are from Linux 3.7.
52498         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
52499         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
52501 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52503         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
52504         TRUE case.
52506         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
52507         (norm): Likewise.
52508         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
52509         variables with preprocessor constants.
52510         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52511         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52512         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52514 2012-12-27  Bruno Haible  <bruno@clisp.org>
52516         [BZ #14317]
52517         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
52518         only if needed.
52520 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52522         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
52523         and use variable directly.
52524         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
52526         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52527         MPONE.
52528         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
52529         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52530         variable MPONE.
52531         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52532         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52533         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
52534         include directive.  Remove local variable MPONE.
52535         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
52536         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
52537         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52539 2012-12-25  David S. Miller  <davem@davemloft.net>
52541         * version.h (RELEASE): Set to "development".
52542         (VERSION): Set to "2.17.90".
52543         * NEWS: Add 2.18 section.
52545 2012-12-21  David S. Miller  <davem@davemloft.net>
52547         * po/hr.po: Update from translation team.
52549 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52551         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
52553 2012-12-19  Steve Ellcey  <sellcey@mips.com>
52555         * NEWS:  Mention new memcpy for MIPS.
52557 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52559         * manual/contrib.texi (Contributors): Spelling correction.
52561 2012-12-15  David S. Miller  <davem@davemloft.net>
52563         * po/ru.po: Update from translation team.
52565 2012-12-13  David S. Miller  <davem@davemloft.net>
52567         * NEWS: Mention IFUNC testsuite enhancements.
52569         * po/pl.po: Update from translation team.
52570         * po/bg.po: Likewise.
52572         * manual/contrib.texi (Contributors): Update entries for Hongjiu
52573         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
52575 2012-12-11  David S. Miller  <davem@davemloft.net>
52577         * po/sv.po: Update from translation team.
52579         * po/vi.po: Update from translation team.
52581         * po/cs.po: Update from translation team.
52583         * po/de.po: Update from translation team.
52584         * po/eo.po: Likewise.
52585         * po/nl.po: Likewise.
52587 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52589         [BZ #14246]
52590         * manual/argp.texi (Argp Helper Functions): Move node to follow
52591         Argp Parsing State.
52593         [BZ #14872]
52594         * manual/conf.texi (Limits on File System Capacity): Mention if
52595         terminating null is included in the max size.
52597 2012-12-10  Andreas Jaeger  <aj@suse.de>
52599         * po/cs.po: Update from translation team.
52601 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52603         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
52604         void pointer and cast to uintptr_t.
52605         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
52606         path.
52607         * sysdeps/s390/s390-64/memcpy.S: Likewise.
52608         * sysdeps/s390/s390-64/memset.S: Likewise.
52610 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
52612         [BZ #14833]
52613         * menual/message.texi (Message Translation): Fix typos.
52614         (Helper programs for gettext): Likewise.
52616 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
52618         [BZ #14898]
52619         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
52620         Change to -1.
52622 2012-12-07  David S. Miller  <davem@davemloft.net>
52624         * po/libc.pot: Update.
52626 2012-12-07  Richard Henderson  <rth@redhat.com>
52628         [BZ #10114]
52629         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
52630         normal/normal case to before the switch.
52631         (_FP_DIV): Likewise.
52633 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
52634             Mike Frysinger  <vapier@gentoo.org>
52636         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
52637         check for __NR_fadvise64_64.
52639 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
52641         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
52642         0, not just to plain "0" as a statement.
52643         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
52644         with cw.
52646 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
52648         * NEWS: Use sourceware.org in Bugzilla URL.
52650 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
52653         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52655         * stdio-common/tst-put-error.c (do_test): Add newline to the
52656         padded test to ensure flush.
52658 2012-12-05  Jeff Law  <law@redhat.com>
52660         * sunrpc/etc.rpc (fedfs_admin): Add entry.
52662 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
52664         * README: Don't refer to ports add-on as distributed separately.
52665         Mention AArch64 in list of systems supported in the ports add-on.
52667         * LICENSES: Add more non-FSF copyright and license notices.
52669         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
52670         ((unused)).
52672         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
52674         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
52675         10000 as width of padded output.
52677 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52679         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
52681         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
52682         variable LX with __attribute__ ((unused)).
52683         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52684         Likewise.
52685         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52686         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52687         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
52688         with __attribute__ ((unused)).
52690 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
52692         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
52694 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52696         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
52697         (CFLAGS-nldbl-acos.c): New variable.
52698         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
52699         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
52700         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
52701         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
52702         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
52703         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
52704         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
52705         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
52706         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
52707         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
52708         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
52709         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
52710         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
52711         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
52712         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
52713         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
52714         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
52715         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
52716         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
52717         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
52718         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
52719         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
52720         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
52721         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
52722         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
52723         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
52724         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
52725         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
52726         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
52727         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
52728         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
52729         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
52730         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
52731         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
52732         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
52733         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
52734         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
52735         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
52736         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
52737         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
52738         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
52739         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
52740         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
52741         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
52742         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
52743         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
52744         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
52745         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
52746         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
52747         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
52748         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
52749         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
52750         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
52751         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
52752         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
52753         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
52754         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
52755         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
52756         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
52757         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
52758         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
52759         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
52760         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
52761         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
52762         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
52763         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
52764         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
52765         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
52766         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
52767         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
52768         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
52769         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
52770         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
52771         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
52772         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
52773         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
52774         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
52775         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
52776         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
52777         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
52778         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
52779         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
52780         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
52781         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
52782         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
52783         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
52784         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
52785         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
52786         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
52787         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
52788         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
52789         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
52790         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
52791         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
52792         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
52793         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
52794         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
52796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52797         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52799         [BZ #14914]
52800         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
52801         whole low double instead of just low 47 bits when splitting values
52802         into two parts.
52804 2012-12-03  Allan McRae  <allan@archlinux.org>
52806         * manual/stdio.texi (Predefined Printf Handlers): Remove
52807         @hsep and @vsep usage.
52809 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
52811         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
52812         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
52814 2012-12-03  Jeff Law  <law@redhat.com>
52816         * time/sys/time.h (settimeofday): Do not mark TV argument
52817         as __nonnull.
52819 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
52821         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
52822         when currently writing and seek to current position when not.
52823         * libio/Makefile (tests): Remove bug-fclose1.
52824         * libio/bug-fclose1.c: Delete.
52826 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
52828         * manual/arith.texi (feenableexcept): Fix typo.
52829         (fedisableexcept): Likewise.
52831 2012-11-30  Roland McGrath  <roland@hack.frob.com>
52833         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
52834         second, differently-typed declaration, rather than a cast.
52836 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52838         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
52839         * include/rpc/svc.h: ... here.
52841 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
52843         [BZ #13013]
52844         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
52845         depending n and resplen2 to catch cases where answer
52846         equals answerp2.
52848 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
52850         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
52851         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
52853 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
52855         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
52857 2012-11-29  Roland McGrath  <roland@hack.frob.com>
52859         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
52861 2012-11-28  Jeff Law  <law@redhat.com>
52863         [BZ #13761]
52864         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
52865         dataset_temporary.  Track alloca usage into alloca_used.
52866         If dataset is large allocate and release it via malloc/free.
52868 2012-06-04  Florian Weimer  <fweimer@redhat.com>
52870         [BZ #14197]
52871         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
52873 2012-11-28  David S. Miller  <davem@davemloft.net>
52875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52877 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52879         [BZ #14803]
52880         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
52881         of pi/2 rounded to nearest to 64 bits.
52882         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
52883         nearest to 64 bits.
52884         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
52885         bits.
52887 2012-11-28  Jeff Law <law@redhat.com>
52888             Martin Osvald <mosvald@redhat.com>
52890         [BZ #14889]
52891         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
52892         * sunrpc/svc.c: Include time.h.
52893         (__svc_accept_failed): New function.
52894         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
52895         any reason other than EINTR, call __svc_accept_failed.
52896         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
52897         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
52899 2012-11-28  Andreas Schwab  <schwab@suse.de>
52901         * scripts/abilist.awk: Also handle indirect functions in .opd
52902         section.
52904 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52906         [BZ #13881]
52907         * sysdeps/x86/fpu/powl_helper.c: New file.
52908         * sysdeps/x86/fpu/Makefile: Likewise.
52909         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
52910         (p3): New object.
52911         (__ieee754_powl): Use __powl_helper for finite arguments except
52912         integer exponents below 8.
52913         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
52914         (p3): New object.
52915         (__ieee754_powl): Use __powl_helper for finite arguments except
52916         integer exponents below 8.
52917         * math/libm-test.inc (pow_test): Add more tests and enable some
52918         previously disabled tests.
52919         * sysdeps/i386/fpu/libm-test-ulps: Update.
52920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52922 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52923             Carlos O'Donell  <carlos_odonell@mentor.com>
52925         * nss/makedb.c (is_prime): Assert that input is odd and greater
52926         than 4.  Note that fact in a comment too.
52927         (next_prime): Add 4 to input.
52929 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52931         [BZ #11741]
52932         * libio/Makefile (tests): Add test case tst-fwrite-error.
52933         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
52934         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
52935         * libio/tst-fwrite-error.c: New test case.
52937 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
52939         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
52940         before casting to void *.
52941         * include/libc-internal.h (__pointer_type): New macro.
52942         (__integer_if_pointer_type_sub): Likewise.
52943         (__integer_if_pointer_type): Likewise.
52944         (cast_to_integer): Likewise.
52945         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
52946         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
52947         before casting to atomic64_t.
52948         (atomic_exchange_acq): Likewise.
52949         (__arch_exchange_and_add_body): Likewise.
52950         (__arch_add_body): Likewise.
52951         (atomic_add_negative): Likewise.
52952         (atomic_add_zero): Likewise.
52954 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
52956         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
52957         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
52958         (add_fdes): Likewise.
52959         (linear_search_fdes): Likewise.
52960         (binary_search_unencoded_fdes): Likewise.
52962 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
52964         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
52966 2012-11-24  Adam Conrad  <adconrad@0c3.net>
52968         * configure.in: Autodetect C++ header directories.
52969         * configure: Regenerated.
52971 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
52973         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
52975 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
52977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52979 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
52981         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
52982         LDBL_MANT_DIG == 106]: Disable some tests.
52983         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52984         Likewise.
52985         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52986         Likewise.
52988         [BZ #14871]
52989         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
52990         input for small inputs.  Return +/- pi/2 for large inputs.
52991         * math/libm-test.inc (atan_test): Add more tests.
52993         * sysdeps/generic/unwind-dw2-fde-glibc.c
52994         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
52995         __attribute__ ((unused)).
52997         [BZ #14645]
52998         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
52999         x * y if x and y are nonzero and z is zero.
53001         [BZ #14811]
53002         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
53003         nonzero exponents with absolute value below 0x1p-117 to +/-
53004         0x1p-117.
53006         [BZ #14869]
53007         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
53008         up arguments below 2**-450, not just those below 2**-500.
53009         * math/libm-test.inc (hypot_test): Add another test.
53011         [BZ #14868]
53012         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
53013         Return a+b for ratio over 2**120, not 2**60.
53014         * math/libm-test.inc (hypot_test): Add another test.
53016         * math/libm-test.inc (clog_test): Use
53017         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
53018         (clog10_test): Likewise.
53020         [BZ #6778]
53021         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
53023 2012-11-22  Andreas Schwab  <schwab@suse.de>
53025         * sysdeps/i386/fpu/libm-test-ulps: Update.
53027 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
53029         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
53030         printf output with newline.
53032 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
53034         [BZ #14865]
53035         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
53036         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
53037         -z nodlopen, -z initfirst and -z execstack support.
53038         * configure: Regenerated.
53040         * elf/elf.h (DF_1_NODIRECT): New macro.
53041         (DF_1_IGNMULDEF): Likewise.
53042         (DF_1_NOKSYMS): Likewise.
53043         (DF_1_NOHDR): Likewise.
53044         (DF_1_EDITED): Likewise.
53045         (DF_1_NORELOC): Likewise.
53046         (DF_1_SYMINTPOSE): Likewise.
53047         (DF_1_GLOBAUDIT): Likewise.
53048         (DF_1_SINGLETON): Likewise.
53049         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
53050         DT_1_SUPPORTED_MASK bits.
53051         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
53053 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
53055         * sysdeps/unix/make-syscalls.sh: Document prefixes.
53057 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
53059         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
53060         macro.
53062         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
53063         (sendmmsg): Move declarations...
53064         * socket/sys/socket.h: ... here.
53065         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
53066         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
53067         include it from...
53068         * socket/recvmmsg.c: ... this new file.
53069         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
53070         (sendmmsg): Rename to __sendmmsg, create weak alias and make
53071         definition of __sendmmsg hidden.
53072         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
53073         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
53074         Move ENOSYS stub into and include it from...
53075         * socket/sendmmsg.c: ... this new file.
53076         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
53077         (sysdep_routines): Move recvmmsg and sendmmsg...
53078         * socket/Makefile (routines): ... here.
53079         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
53080         (GLIBC_PRIVATE): Add __sendmmsg.
53081         * include/sys/socket.h (__sendmmsg): Add declarations.
53082         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
53083         sendmmsg.
53085 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
53087         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
53088         variable I1 with __attribute__ ((unused)).
53089         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53091 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53093         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
53094         DUMMY variables with __attribute__ ((unused)).
53096         * bits/byteswap.h: Include <bits/types.h>.
53097         (__bswap_64): Use __uint64_t instead of unsigned long long int.
53099 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53101         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
53102         string_t.  Do not manually set errno.
53103         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
53104         length with __strnlen.  Make sure to both set errno and return it on
53105         failure.
53107 2012-11-19  David S. Miller  <davem@davemloft.net>
53109         With help from Joseph Myers.
53110         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
53111         very large arguments properly.
53112         * math/libm-test.inc (atan_test): New tests.
53113         (atan2_test): New tests.
53114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53117 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53119         [BZ #14856]
53120         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
53121         Define to 3.
53123         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
53124         [POSIX] (EADDRNOTAVAIL): Likewise.
53125         [POSIX] (EAFNOSUPPORT): Likewise.
53126         [POSIX] (EALREADY): Likewise.
53127         [POSIX] (ECONNABORTED): Likewise.
53128         [POSIX] (ECONNREFUSED): Likewise.
53129         [POSIX] (ECONNRESET): Likewise.
53130         [POSIX] (EDESTADDRREQ): Likewise.
53131         [POSIX] (EDQUOT): Likewise.
53132         [POSIX] (EHOSTUNREACH): Likewise.
53133         [POSIX] (EIDRM): Likewise.
53134         [POSIX] (EISCONN): Likewise.
53135         [POSIX] (ELOOP): Likewise.
53136         [POSIX] (EMULTIHOP): Likewise.
53137         [POSIX] (ENETDOWN): Likewise.
53138         [POSIX] (ENETUNREACH): Likewise.
53139         [POSIX] (ENOBUFS): Likewise.
53140         [POSIX] (ENODATA): Likewise.
53141         [POSIX] (ENOLINK): Likewise.
53142         [POSIX] (ENOMSG): Likewise.
53143         [POSIX] (ENOPROTOOPT): Likewise.
53144         [POSIX] (ENOSR): Likewise.
53145         [POSIX] (ENOSTR): Likewise.
53146         [POSIX] (ENOTCONN): Likewise.
53147         [POSIX] (ENOTSOCK): Likewise.
53148         [POSIX] (EOPNOTSUPP): Likewise.
53149         [POSIX] (EOVERFLOW): Likewise.
53150         [POSIX] (EPROTO): Likewise.
53151         [POSIX] (EPROTONOSUPPORT): Likewise.
53152         [POSIX] (EPROTOTYPE): Likewise.
53153         [POSIX] (ESTALE): Likewise.
53154         [POSIX] (ETIME): Likewise.
53155         [POSIX] (ETXTBSY): Likewise.
53156         [POSIX] (EWOULDBLOCK): Likewise.
53157         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
53158         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
53159         [POSIX] (SEEK_CUR): Likewise.
53160         [POSIX] (SEEK_END): Likewise.
53161         [POSIX || UNIX98] (mode_t): Do not require.
53162         [POSIX] (off_t): Likewise.
53163         [POSIX] (pid_t): Likewise.
53164         [POSIX] (sys/stat.h): Do not allow header.
53165         [POSIX] (unistd.h): Likewise.
53166         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
53167         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
53168         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
53169         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
53170         require.
53171         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
53172         sigevent): Specify elements.
53173         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
53174         entry.
53175         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
53176         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
53178         * conform/data/cpio.h-data [POSIX]: Disable whole file.
53179         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
53180         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
53181         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
53182         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
53183         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
53184         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
53185         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
53186         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
53187         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
53188         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
53189         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
53190         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
53191         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
53192         Likewise.
53193         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
53194         Likewise.
53195         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
53196         Likewise.
53197         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
53198         Likewise.
53199         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
53200         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
53201         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
53202         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
53203         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
53204         Specify lower bound on value.
53205         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
53206         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
53207         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
53208         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
53209         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
53210         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
53211         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
53212         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
53213         value.
53214         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
53215         as optional.
53216         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
53217         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
53218         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
53219         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
53220         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
53221         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
53222         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
53223         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
53224         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
53225         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
53226         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
53227         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
53228         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
53229         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
53230         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
53231         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
53232         entry.
53233         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
53234         optional.
53235         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
53236         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
53237         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
53238         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
53239         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
53240         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
53241         Likewise.
53242         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
53243         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
53244         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
53245         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
53246         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
53247         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
53248         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
53249         as optional.
53250         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
53251         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
53252         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
53253         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
53254         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
53255         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
53256         specify as optional.
53257         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
53258         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
53259         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
53260         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
53261         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
53262         [XPG3] (NL_LANGMAX): Likewise.
53263         [POSIX || XPG3] (NL_MSGMAX): Likewise.
53264         [POSIX || XPG3] (NL_NMAX): Likewise.
53265         [POSIX || XPG3] (NL_SETMAX): Likewise.
53266         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
53267         [XPG3] (NZERO): Likewise.
53268         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
53269         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
53270         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
53271         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
53272         (REG_ERANGE): Expect.
53273         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
53274         optional-constant.
53275         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
53276         Use (void) in prototype.
53277         [POSIX] (*_t): Allow.
53278         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
53279         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
53280         (WRDE_BADVAL): Expect.
53282         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
53283         expect.
53284         [XPG3 || XPG4] (O_RSYNC): Likewise.
53285         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
53286         Likewise.
53287         [XPG3 || XPG4] (pthread_sigmask): Likewise.
53288         [XPG3 || XPG4] (sigqueue): Likewise.
53289         [XPG3 || XPG4] (sigtimedwait): Likewise.
53290         [XPG3 || XPG4] (sigwaitinfo): Likewise.
53291         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
53292         [XPG3 || XPG4] (vsnprintf): Likewise.
53293         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
53294         Likewise.
53295         [XPG3 || XPG4] (blksize_t): Likewise.
53296         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
53297         Likewise.
53298         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
53299         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
53300         [XPG3 || XPG4] (struct itimerspec): Likewise.
53301         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
53302         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
53303         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
53304         [XPG3 || XPG4] (clockid_t): Likewise.
53305         [XPG3 || XPG4] (timer_t): Likewise.
53306         [XPG3 || XPG4] (clock_getres): Likewise.
53307         [XPG3 || XPG4] (clock_gettime): Likewise.
53308         [XPG3 || XPG4] (clock_settime): Likewise.
53309         [XPG3 || XPG4] (nanosleep): Likewise.
53310         [XPG3 || XPG4] (timer_create): Likewise.
53311         [XPG3 || XPG4] (timer_delete): Likewise.
53312         [XPG3 || XPG4] (timer_gettime): Likewise.
53313         [XPG3 || XPG4] (timer_getoverrun): Likewise.
53314         [XPG3 || XPG4] (timer_settime): Likewise.
53315         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
53316         [XPG3 || XPG4] (getlogin_r): Likewise.
53317         [XPG3 || XPG4] (pread): Likewise.
53318         [XPG3 || XPG4] (pthread_atfork): Likewise.
53319         [XPG3 || XPG4] (pwrite): Likewise.
53321         [BZ #14835]
53322         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
53323         <bits/siginfo.h>.
53325 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53327         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
53328         finalizing MALLSTREAM.
53330         * sysdeps/mach/hurd/syncfs.c: New file.
53332 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53334         [BZ #14719]
53335         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
53336         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
53337         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
53338         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
53339         (_nss_dns_gethostbyname4_r): Likewise.
53340         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
53341         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
53343 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
53345         [BZ #13763]
53346         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
53348 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
53350         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
53351         * elf/cache.c (print_entry): Print ",AArch64" for
53352         FLAG_AARCH64_LIB64
53354         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
53355         * elf/cache.c (print_entry): Print ",hard-float" for
53356         FLAG_ARM_LIBHF.
53358 2012-11-18  David S. Miller  <davem@davemloft.net>
53360         With help from Joseph Myers.
53361         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
53362         cutoff to 2**-13.
53363         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
53364         cutoff to 2**-25.
53365         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
53366         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
53367         small.
53368         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
53369         * math/libm-test.inc (y0_test): New tests.
53370         (y1_test): New tests.
53371         * sysdeps/i386/fpu/libm-test-ulps: Update.
53372         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53375 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
53377         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
53378         64-bit targets.
53379         * configure: Regenerated.
53381 2012-11-17  David S. Miller  <davem@davemloft.net>
53383         [BZ #14811]
53384         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
53385         nonzero exponents with absolute value below 0x1p-128 to +/-
53386         0x1p-128.
53388 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
53390         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
53392         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
53394         * posix/getconf-speclist.c: New file.
53395         * posix/posix-envs.def: Likewise.
53396         * posix/confstr.c (START_ENV_GROUP): New macro.
53397         (END_ENV_GROUP): Likewise.
53398         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53399         (KNOWN_PRESENT_ENV_STRING): Likewise.
53400         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53401         (UNKNOWN_ENVIRONMENT): Likewise.
53402         (confstr): Include posix-envs.def instead of handling
53403         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
53404         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
53405         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
53406         (END_ENV_GROUP): Likewise.
53407         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53408         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53409         (UNKNOWN_ENVIRONMENT): Likewise.
53410         (__sysconf): Include posix-envs.def instead of handling associated
53411         cases directly here.
53412         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
53413         preprocessing getconf-speclist.c rather than running getconf or
53414         generating empty file.
53416 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
53418         * scripts/check-local-headers.sh: Ignore 'mach' headers.
53420 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
53422         [BZ #14672]
53423         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
53425 2012-11-16  David S. Miller  <davem@davemloft.net>
53427         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
53428         smaller than LDBL_EPSILON/2.0L, just return xm1.
53430 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
53432         * elf/tst-array1.c (init): Set constructor priority to 1000.
53433         (fini): Set destructor priority to 1000.
53434         * elf/tst-array2dep.c: Likewise.
53436 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53438         [BZ #11741]
53439         * libio/fileops.c (_IO_new_file_write): Correctly return error.
53440         (_IO_new_file_xsputn): Also return EOF if none of the input
53441         data was written when overflow failed.
53442         * libio/iopadn.c (_IO_padn): Likewise.
53443         * libio/iowpadn.c (_IO_wpadn): Likewise.
53444         * stdio-common/tst-put-error.c: Add copyright notice.
53445         (do_test): Add case for printing padded string.
53446         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
53447         _IO_padn returned error.
53448         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
53449         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
53450         return EOF.
53452 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53454         * libio/libioP.h: Add comment note that the references to C++
53455         bits are now obsolete.
53457 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53459         * math/libm-test.inc (check_complex): Use asprintf.
53461 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
53463         * debug/pcprofiledump.c (print_version): Update copyright year.
53464         * malloc/memusagestat.c (print_version): Likewise.
53466 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
53468         [BZ #14831]
53469         * elf/Makefile (tests): Add tst-audit8.
53470         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
53471         ($(objpfx)tst-audit8.out): New target.
53472         (tst-audit8-ENV): New variable.
53473         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
53474         audit if l_reloc_result is NULL.
53475         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
53476         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
53477         * elf/tst-audit8.c: New file.
53479 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53481         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
53482         * misc/Makefile (CFLAGS-select.c): Define.
53483         * posix/Makefile (CFLAGS-pause.c): Define.
53485 2012-11-13  David S. Miller  <davem@davemloft.net>
53487         * crypt/Makefile: Move test targets after toplevel Rules
53488         inclusion.  Grab any necessary sysdep routines when linking.
53489         * crypt/md5.c (md5_process_block): Remove define, we will always
53490         name it __md5_process_block.
53491         (md5_finish_ctx): Update md5_process_block call.
53492         (md5_stream): Likewise.
53493         (md5_process_bytes): Likewise.
53494         (md5_process_block): Rename to __md5_process_block and move to ...
53495         * crypt/md5-block.c: ... here.
53496         * crypt/sha256.c (sha256_process_block): Move to ...
53497         * crypt/sha256-block.c: ... here.
53498         * crypt/sha512.c (sha512_process_block): Move to ...
53499         * crypt/sha512-block.c: ... here.
53500         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
53501         path.
53502         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
53503         * sysdeps/sparc/sparc64/multiarch/Makefile
53504         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
53505         crypt subdir.
53506         (localedef-aux): Add md5 crypto assembler when in locale subdir.
53507         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
53508         multiarch changes.
53509         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
53510         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
53511         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
53512         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
53513         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
53514         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
53515         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
53516         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
53517         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
53518         file.
53519         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
53520         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
53521         file.
53522         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
53524 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
53526         * timezone/tzselect.ksh: Update from tzcode git revision
53527         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
53528         * timezone/zdump.c: Likewise.
53529         * timezone/zic.c: Likewise.
53530         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
53531         in TZVERSION setting, not $(PKGVERSION).
53532         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
53533         REPORT_BUGS_TO settings.
53535         [BZ #14838]
53536         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
53537         macro.
53539 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53541         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
53542         detection to immediately after _FP_ROUND().
53543         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
53544         bits are 0.
53546 2012-11-11  David S. Miller  <davem@davemloft.net>
53548         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
53549         inttypes.h
53550         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
53551         __close rather than their public counterparts.
53553 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
53555         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
53556         file.
53557         [UNIX98] (sem_timedwait): Do not expect.
53558         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
53559         [XPG4 || UNIX98] (sockatmark): Do not expect.
53560         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
53561         (clock_getcpuclockid): Do not expect.
53562         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
53563         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
53564         Do not expect.
53565         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
53566         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
53567         [UNIX98] (vwscanf): Likewise.
53568         [UNIX98] (vswscanf): Likewise.
53570 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
53572         * timezone/version.h: Remove file.
53573         * timezone/README: Do not refer to version.h.
53574         * timezone/Makefile ($(objpfx)zic.o): New dependency on
53575         $(objpfx)version.h.
53576         ($(objpfx)zdump.o): Likewise.
53577         ($(objpfx)version.h): New target.
53579         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
53580         2012i.
53581         * timezone/README: Don't mention modification to tzselect.ksh.
53582         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
53583         work on unmodified tzselect.ksh.  Substitute version numbers in
53584         tzselect.ksh.
53586         * Makefile (format-me): Remove.
53587         (INSTALL): Adjust indentation.  Use commands directly instead of
53588         using $(format-me).
53590         * aclocal.m4 (ACX_PKGVERSION): New macro.
53591         (ACX_BUGURL): Likewise.
53592         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
53593         (PKGVERSION): New AC_DEFINE_UNQUOTED.
53594         (REPORT_BUGS_TO): Likewise.
53595         * configure: Regenerated.
53596         * config.h.in (PKGVERSION): New macro.
53597         (REPORT_BUGS_TO): Likewise.
53598         * config.make.in (PKGVERSION): New variable.
53599         (PKGVERSION_TEXI): Likewise.
53600         (REPORT_BUGS_TO): Likewise.
53601         (REPORT_BUGS_TEXI): Likewise.
53602         * Makefile (format-me): Use -I$(common-objpfx)manual.
53603         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
53604         ($(common-objpfx)manual/%): New target.
53605         (manual/%): Remove target.
53606         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
53607         (print_version): Use PKGVERSION.
53608         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
53609         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
53610         and REPORT_BUGS_TO.
53611         ($(objpfx)xtrace): Likewise.
53612         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
53613         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
53614         (print_version): Use PKGVERSION.
53615         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
53616         (do_version): Use PKGVERSION.
53617         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
53618         REPORT_BUGS_TO.
53619         (common-ldd-rewrite): Likewise.
53620         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
53621         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
53622         (print_version): Use PKGVERSION.
53623         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
53624         * elf/pldd.c (argp_program_bug_address): Remove variable.
53625         (more_help): New function.
53626         (argp): Use more_help.
53627         (print_version): Use PKGVERSION.
53628         * elf/sln.c (main): Use PKGVERSION.
53629         (usage): Use REPORT_BUGS_TO.
53630         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
53631         (top level): Use PKGVERSION.
53632         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
53633         (print_version): Use PKGVERSION.
53634         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
53635         (print_version): Use PKGVERSION.
53636         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
53637         (print_version): Use PKGVERSION.
53638         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
53639         (print_version): Use PKGVERSION.
53640         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
53641         (print_version): Use PKGVERSION.
53642         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
53643         (print_version): Use PKGVERSION.
53644         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
53645         and BUGURL.
53646         ($(objpfx)memusage): Likewise.
53647         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
53648         (do_version): Use PKGVERSION.
53649         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
53650         (print_version): Use PKGVERSION.
53651         * malloc/mtrace.pl ($PACKAGE): Remove variable.
53652         ($PKGVERSION): New variable.
53653         ($REPORT_BUGS_TO): Likewise.
53654         (usage): Use $REPORT_BUGS_TO.
53655         (top level): Use $PKGVERSION.
53656         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
53657         ($(objpfx)pkgvers.texi): New rule.
53658         ($(objpfx)stamp-pkgvers): Likewise.
53659         * manual/install.texi: Include pkgvers.texi.
53660         (--with-pkgversion): Document new configure option.
53661         (--with-bugurl): Likewise.
53662         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
53663         than necessarily for this particular distribution.  Use
53664         REPORT_BUGS_TO for where to report bugs.
53665         * INSTALL: Regenerated.
53666         * manual/libc.texinfo: Include pkgvers.texi.
53667         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
53668         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
53669         (print_version): Use PKGVERSION.
53670         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
53671         (print_version): Use PKGVERSION.
53672         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
53673         (print_version): Use PKGVERSION.
53674         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
53675         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
53676         macro.
53677         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
53678         (print_version): Use PKGVERSION.
53679         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
53680         (print_version): Use PKGVERSION.
53681         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
53682         and PKGVERSION.
53684         * timezone/checktab.awk: Update from tzcode 2012i.
53685         * timezone/ialloc.c: Likewise.
53686         * timezone/private.h: Likewise.
53687         * timezone/scheck.c: Likewise.
53688         * timezone/tzfile.h: Likewise.
53689         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
53690         (TZVERSION): Hardcode tzcode version number.
53691         * timezone/zdump.c: Update from tzcode 2012i.
53692         * timezone/zic.c: Likewise.
53693         * timezone/version.h: New file.
53694         * timezone/README: Describe version.h.  Update upstream location.
53696         [BZ #14824]
53697         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
53698         (mktemp): Enable declaration.
53699         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
53700         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
53701         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
53702         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
53703         Likewise.
53704         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
53705         Likewise.
53706         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
53707         Likewise.
53708         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
53709         Likewise.
53710         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
53711         Likewise.
53712         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
53713         Likewise.
53715         [BZ #14821]
53716         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
53717         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
53718         for copies of such integer values.
53719         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53720         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53722 2012-11-09  Andreas Jaeger  <aj@suse.de>
53724         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
53725         definitions and declarations that are provided by
53726         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53728 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53730         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
53731         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
53732         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
53733         definition.
53735 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53737         * elf/elf.h: Update comment before AArch64 relocations.
53739 2012-11-07  David S. Miller  <davem@davemloft.net>
53741         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
53742         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53743         (__start_context): Declare.
53744         (__makecontext_ret): Delete.
53745         (__makecontext): Hook up __start_context instead of
53746         __makecontext_ret.
53747         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
53748         (sysdep_routines): Add __start_context when in stdlib.
53750 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53752         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
53753         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
53754         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
53755         hardcoded "nm".
53756         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
53757         (READELF): New variable.  Use it instead of hardcoded "readelf".
53759 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53761         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
53762         * sysdeps/x86/Makefile: Here.
53763         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
53764         * sysdeps/x86/tst-xmmymm.sh: This.
53766 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53768         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
53769         expectations.
53770         [UNIX98] (pthread_barrier_t): Do not expect.
53771         [UNIX98] (pthread_barrierattr_t): Likewise.
53772         [UNIX98] (pthread_spinlock_t): Likewise.
53773         [UNIX98] (pthread_barrier_destroy): Likewise.
53774         [UNIX98] (pthread_barrier_init): Likewise.
53775         [UNIX98] (pthread_barrier_wait): Likewise.
53776         [UNIX98] (pthread_barrierattr_destroy): Likewise.
53777         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
53778         [UNIX98] (pthread_barrierattr_init): Likewise.
53779         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
53780         [UNIX98] (pthread_getcpuclockid): Likewise.
53781         [UNIX98] (pthread_mutex_timedlock): Likewise.
53782         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
53783         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
53784         [UNIX98] (pthread_sigmask): Likewise.
53785         [UNIX98] (pthread_spin_destroy): Likewise.
53786         [UNIX98] (pthread_spin_init): Likewise.
53787         [UNIX98] (pthread_spin_lock): Likewise.
53788         [UNIX98] (pthread_spin_trylock): Likewise.
53789         [UNIX98] (pthread_spin_unlock): Likewise.
53790         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
53791         Do not expect.
53792         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
53793         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
53794         [XPG3 || XPG4] (pthread_cond_t): Likewise.
53795         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
53796         [XPG3 || XPG4] (pthread_key_t): Likewise.
53797         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
53798         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
53799         [XPG3 || XPG4] (pthread_once_t): Likewise.
53800         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
53801         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
53802         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
53803         [XPG3 || XPG4] (pthread_t): Likewise.
53805         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
53806         not expect.
53807         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
53809         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
53810         Change function return type to int.
53812         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
53813         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
53814         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
53815         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
53816         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
53817         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
53818         [!POSIX] (posix_madvise): Likewise.
53819         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
53820         && !UNIX98].
53821         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
53822         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
53823         (mode_t): Likewise.
53824         (posix_mem_offset): Likewise.
53825         (posix_typed_mem_get_info): Likewise.
53826         (posix_typed_mem_open): Likewise.
53828         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
53829         Change condition to [XOPEN2K8].
53831         * conform/conformtest.pl: Preprocess allow-header data with -x c
53832         instead of from stdin.
53833         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
53834         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
53835         [C99-based standards] (cerfc): Likewise.
53836         [C99-based standards] (cexp2): Likewise.
53837         [C99-based standards] (cexpm1): Likewise.
53838         [C99-based standards] (clog10): Likewise.
53839         [C99-based standards] (clog1p): Likewise.
53840         [C99-based standards] (clog2): Likewise.
53841         [C99-based standards] (clgamma): Likewise.
53842         [C99-based standards] (ctgamma): Likewise.
53843         [C99-based standards] (cerff): Likewise.
53844         [C99-based standards] (cerfcf): Likewise.
53845         [C99-based standards] (cexp2f): Likewise.
53846         [C99-based standards] (cexpm1f): Likewise.
53847         [C99-based standards] (clog10f): Likewise.
53848         [C99-based standards] (clog1pf): Likewise.
53849         [C99-based standards] (clog2f): Likewise.
53850         [C99-based standards] (clgammaf): Likewise.
53851         [C99-based standards] (ctgammaf): Likewise.
53852         [C99-based standards] (cerfl): Likewise.
53853         [C99-based standards] (cerfcl): Likewise.
53854         [C99-based standards] (cexp2l): Likewise.
53855         [C99-based standards] (cexpm1l): Likewise.
53856         [C99-based standards] (clog10l): Likewise.
53857         [C99-based standards] (clog1pl): Likewise.
53858         [C99-based standards] (clog2l): Likewise.
53859         [C99-based standards] (clgammal): Likewise.
53860         [C99-based standards] (ctgammal): Likewise.
53861         * conform/data/inttypes.h-data [C99-based standards]: Include
53862         stdint.h-data.  Remove all expectations for stdint.h contents.
53863         [C99-based standards] (PRI*): Do not allow.
53864         [C99-based standards] (SCN*): Likewise.
53865         [C99-based standards] (*_t): Likewise.
53866         [C99-based-standards] (PRId8): Expect macro.
53867         [C99-based-standards] (PRIi8): Likewise.
53868         [C99-based-standards] (PRIo8): Likewise.
53869         [C99-based-standards] (PRIu8): Likewise.
53870         [C99-based-standards] (PRIx8): Likewise.
53871         [C99-based-standards] (PRIX8): Likewise.
53872         [C99-based-standards] (SCNd8): Likewise.
53873         [C99-based-standards] (SCNi8): Likewise.
53874         [C99-based-standards] (SCNo8): Likewise.
53875         [C99-based-standards] (SCNu8): Likewise.
53876         [C99-based-standards] (SCNx8): Likewise.
53877         [C99-based-standards] (PRIdLEAST8): Likewise.
53878         [C99-based-standards] (PRIiLEAST8): Likewise.
53879         [C99-based-standards] (PRIoLEAST8): Likewise.
53880         [C99-based-standards] (PRIuLEAST8): Likewise.
53881         [C99-based-standards] (PRIxLEAST8): Likewise.
53882         [C99-based-standards] (PRIXLEAST8): Likewise.
53883         [C99-based-standards] (SCNdLEAST8): Likewise.
53884         [C99-based-standards] (SCNiLEAST8): Likewise.
53885         [C99-based-standards] (SCNoLEAST8): Likewise.
53886         [C99-based-standards] (SCNuLEAST8): Likewise.
53887         [C99-based-standards] (SCNxLEAST8): Likewise.
53888         [C99-based-standards] (PRIdFAST8): Likewise.
53889         [C99-based-standards] (PRIiFAST8): Likewise.
53890         [C99-based-standards] (PRIoFAST8): Likewise.
53891         [C99-based-standards] (PRIuFAST8): Likewise.
53892         [C99-based-standards] (PRIxFAST8): Likewise.
53893         [C99-based-standards] (PRIXFAST8): Likewise.
53894         [C99-based-standards] (SCNdFAST8): Likewise.
53895         [C99-based-standards] (SCNiFAST8): Likewise.
53896         [C99-based-standards] (SCNoFAST8): Likewise.
53897         [C99-based-standards] (SCNuFAST8): Likewise.
53898         [C99-based-standards] (SCNxFAST8): Likewise.
53899         [C99-based-standards] (PRId16): Likewise.
53900         [C99-based-standards] (PRIi16): Likewise.
53901         [C99-based-standards] (PRIo16): Likewise.
53902         [C99-based-standards] (PRIu16): Likewise.
53903         [C99-based-standards] (PRIx16): Likewise.
53904         [C99-based-standards] (PRIX16): Likewise.
53905         [C99-based-standards] (SCNd16): Likewise.
53906         [C99-based-standards] (SCNi16): Likewise.
53907         [C99-based-standards] (SCNo16): Likewise.
53908         [C99-based-standards] (SCNu16): Likewise.
53909         [C99-based-standards] (SCNx16): Likewise.
53910         [C99-based-standards] (PRIdLEAST16): Likewise.
53911         [C99-based-standards] (PRIiLEAST16): Likewise.
53912         [C99-based-standards] (PRIoLEAST16): Likewise.
53913         [C99-based-standards] (PRIuLEAST16): Likewise.
53914         [C99-based-standards] (PRIxLEAST16): Likewise.
53915         [C99-based-standards] (PRIXLEAST16): Likewise.
53916         [C99-based-standards] (SCNdLEAST16): Likewise.
53917         [C99-based-standards] (SCNiLEAST16): Likewise.
53918         [C99-based-standards] (SCNoLEAST16): Likewise.
53919         [C99-based-standards] (SCNuLEAST16): Likewise.
53920         [C99-based-standards] (SCNxLEAST16): Likewise.
53921         [C99-based-standards] (PRIdFAST16): Likewise.
53922         [C99-based-standards] (PRIiFAST16): Likewise.
53923         [C99-based-standards] (PRIoFAST16): Likewise.
53924         [C99-based-standards] (PRIuFAST16): Likewise.
53925         [C99-based-standards] (PRIxFAST16): Likewise.
53926         [C99-based-standards] (PRIXFAST16): Likewise.
53927         [C99-based-standards] (SCNdFAST16): Likewise.
53928         [C99-based-standards] (SCNiFAST16): Likewise.
53929         [C99-based-standards] (SCNoFAST16): Likewise.
53930         [C99-based-standards] (SCNuFAST16): Likewise.
53931         [C99-based-standards] (SCNxFAST16): Likewise.
53932         [C99-based-standards] (PRId32): Likewise.
53933         [C99-based-standards] (PRIi32): Likewise.
53934         [C99-based-standards] (PRIo32): Likewise.
53935         [C99-based-standards] (PRIu32): Likewise.
53936         [C99-based-standards] (PRIx32): Likewise.
53937         [C99-based-standards] (PRIX32): Likewise.
53938         [C99-based-standards] (SCNd32): Likewise.
53939         [C99-based-standards] (SCNi32): Likewise.
53940         [C99-based-standards] (SCNo32): Likewise.
53941         [C99-based-standards] (SCNu32): Likewise.
53942         [C99-based-standards] (SCNx32): Likewise.
53943         [C99-based-standards] (PRIdLEAST32): Likewise.
53944         [C99-based-standards] (PRIiLEAST32): Likewise.
53945         [C99-based-standards] (PRIoLEAST32): Likewise.
53946         [C99-based-standards] (PRIuLEAST32): Likewise.
53947         [C99-based-standards] (PRIxLEAST32): Likewise.
53948         [C99-based-standards] (PRIXLEAST32): Likewise.
53949         [C99-based-standards] (SCNdLEAST32): Likewise.
53950         [C99-based-standards] (SCNiLEAST32): Likewise.
53951         [C99-based-standards] (SCNoLEAST32): Likewise.
53952         [C99-based-standards] (SCNuLEAST32): Likewise.
53953         [C99-based-standards] (SCNxLEAST32): Likewise.
53954         [C99-based-standards] (PRIdFAST32): Likewise.
53955         [C99-based-standards] (PRIiFAST32): Likewise.
53956         [C99-based-standards] (PRIoFAST32): Likewise.
53957         [C99-based-standards] (PRIuFAST32): Likewise.
53958         [C99-based-standards] (PRIxFAST32): Likewise.
53959         [C99-based-standards] (PRIXFAST32): Likewise.
53960         [C99-based-standards] (SCNdFAST32): Likewise.
53961         [C99-based-standards] (SCNiFAST32): Likewise.
53962         [C99-based-standards] (SCNoFAST32): Likewise.
53963         [C99-based-standards] (SCNuFAST32): Likewise.
53964         [C99-based-standards] (SCNxFAST32): Likewise.
53965         [C99-based-standards] (PRId64): Likewise.
53966         [C99-based-standards] (PRIi64): Likewise.
53967         [C99-based-standards] (PRIo64): Likewise.
53968         [C99-based-standards] (PRIu64): Likewise.
53969         [C99-based-standards] (PRIx64): Likewise.
53970         [C99-based-standards] (PRIX64): Likewise.
53971         [C99-based-standards] (SCNd64): Likewise.
53972         [C99-based-standards] (SCNi64): Likewise.
53973         [C99-based-standards] (SCNo64): Likewise.
53974         [C99-based-standards] (SCNu64): Likewise.
53975         [C99-based-standards] (SCNx64): Likewise.
53976         [C99-based-standards] (PRIdLEAST64): Likewise.
53977         [C99-based-standards] (PRIiLEAST64): Likewise.
53978         [C99-based-standards] (PRIoLEAST64): Likewise.
53979         [C99-based-standards] (PRIuLEAST64): Likewise.
53980         [C99-based-standards] (PRIxLEAST64): Likewise.
53981         [C99-based-standards] (PRIXLEAST64): Likewise.
53982         [C99-based-standards] (SCNdLEAST64): Likewise.
53983         [C99-based-standards] (SCNiLEAST64): Likewise.
53984         [C99-based-standards] (SCNoLEAST64): Likewise.
53985         [C99-based-standards] (SCNuLEAST64): Likewise.
53986         [C99-based-standards] (SCNxLEAST64): Likewise.
53987         [C99-based-standards] (PRIdFAST64): Likewise.
53988         [C99-based-standards] (PRIiFAST64): Likewise.
53989         [C99-based-standards] (PRIoFAST64): Likewise.
53990         [C99-based-standards] (PRIuFAST64): Likewise.
53991         [C99-based-standards] (PRIxFAST64): Likewise.
53992         [C99-based-standards] (PRIXFAST64): Likewise.
53993         [C99-based-standards] (SCNdFAST64): Likewise.
53994         [C99-based-standards] (SCNiFAST64): Likewise.
53995         [C99-based-standards] (SCNoFAST64): Likewise.
53996         [C99-based-standards] (SCNuFAST64): Likewise.
53997         [C99-based-standards] (SCNxFAST64): Likewise.
53998         [C99-based-standards] (PRIdMAX): Likewise.
53999         [C99-based-standards] (PRIiMAX): Likewise.
54000         [C99-based-standards] (PRIoMAX): Likewise.
54001         [C99-based-standards] (PRIuMAX): Likewise.
54002         [C99-based-standards] (PRIxMAX): Likewise.
54003         [C99-based-standards] (PRIXMAX): Likewise.
54004         [C99-based-standards] (SCNdMAX): Likewise.
54005         [C99-based-standards] (SCNiMAX): Likewise.
54006         [C99-based-standards] (SCNoMAX): Likewise.
54007         [C99-based-standards] (SCNuMAX): Likewise.
54008         [C99-based-standards] (SCNxMAX): Likewise.
54009         [C99-based-standards] (PRIdPTR): Likewise.
54010         [C99-based-standards] (PRIiPTR): Likewise.
54011         [C99-based-standards] (PRIoPTR): Likewise.
54012         [C99-based-standards] (PRIuPTR): Likewise.
54013         [C99-based-standards] (PRIxPTR): Likewise.
54014         [C99-based-standards] (PRIXPTR): Likewise.
54015         [C99-based-standards] (SCNdPTR): Likewise.
54016         [C99-based-standards] (SCNiPTR): Likewise.
54017         [C99-based-standards] (SCNoPTR): Likewise.
54018         [C99-based-standards] (SCNuPTR): Likewise.
54019         [C99-based-standards] (SCNxPTR): Likewise.
54020         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
54021         allow.
54022         * conform/data/stdint.h-data: Update comments to clarify
54023         requirements.
54024         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
54025         type.
54026         [C99-based standards] (INT8_MAX): Likewise.
54027         [C99-based standards] (INT16_MIN): Likewise.
54028         [C99-based standards] (INT16_MAX): Likewise.
54029         [C99-based standards] (INT32_MIN): Likewise.
54030         [C99-based standards] (INT32_MAX): Likewise.
54031         [C99-based standards] (INT64_MIN): Likewise.
54032         [C99-based standards] (INT64_MAX): Likewise.
54033         [C99-based standards] (UINT8_MAX): Likewise.
54034         [C99-based standards] (UINT16_MAX): Likewise.
54035         [C99-based standards] (UINT32_MAX): Likewise.
54036         [C99-based standards] (UINT64_MAX): Likewise.
54037         [C99-based standards] (INT_LEAST8_MIN): Likewise.
54038         [C99-based standards] (INT_LEAST8_MAX): Likewise.
54039         [C99-based standards] (INT_LEAST16_MIN): Likewise.
54040         [C99-based standards] (INT_LEAST16_MAX): Likewise.
54041         [C99-based standards] (INT_LEAST32_MIN): Likewise.
54042         [C99-based standards] (INT_LEAST32_MAX): Likewise.
54043         [C99-based standards] (INT_LEAST64_MIN): Likewise.
54044         [C99-based standards] (INT_LEAST64_MAX): Likewise.
54045         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
54046         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
54047         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
54048         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
54049         [C99-based standards] (INT_FAST8_MIN): Likewise.
54050         [C99-based standards] (INT_FAST8_MAX): Likewise.
54051         [C99-based standards] (INT_FAST16_MIN): Likewise.
54052         [C99-based standards] (INT_FAST16_MAX): Likewise.
54053         [C99-based standards] (INT_FAST32_MIN): Likewise.
54054         [C99-based standards] (INT_FAST32_MAX): Likewise.
54055         [C99-based standards] (INT_FAST64_MIN): Likewise.
54056         [C99-based standards] (INT_FAST64_MAX): Likewise.
54057         [C99-based standards] (UINT_FAST8_MAX): Likewise.
54058         [C99-based standards] (UINT_FAST16_MAX): Likewise.
54059         [C99-based standards] (UINT_FAST32_MAX): Likewise.
54060         [C99-based standards] (UINT_FAST64_MAX): Likewise.
54061         [C99-based standards] (INTPTR_MIN): Likewise.
54062         [C99-based standards] (INTPTR_MAX): Likewise.
54063         [C99-based standards] (UINTPTR_MAX): Likewise.
54064         [C99-based standards] (INTMAX_MIN): Likewise.
54065         [C99-based standards] (INTMAX_MAX): Likewise.
54066         [C99-based standards] (UINTMAX_MAX): Likewise.
54067         [C99-based standards] (PTRDIFF_MIN): Likewise.
54068         [C99-based standards] (PTRDIFF_MAX): Likewise.
54069         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
54070         [C99-based standards] (SIZE_MAX): Likewise.
54071         [C99-based standards] (WCHAR_MAX): Likewise.
54072         [C99-based standards] (WINT_MAX): Likewise.
54073         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
54074         constraint on value.
54075         [C99-based standards] (WCHAR_MIN): Likewise.
54076         [C99-based standards] (WINT_MIN): Likewise.
54077         [C99-based standards] (*_t): Allow.
54078         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
54079         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
54080         Include math.h-data and complex.h-data.  Remove all expectations
54081         of math.h and complex.h contents.
54082         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
54083         at end of line.
54084         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
54085         (struct tm): Expect tag.
54086         [C99-based-standards] (wcstof): Expect function.
54087         [C99-based-standards] (wcstold): Likewise.
54088         [C99-based-standards] (wcstoll): Likewise.
54089         [C99-based-standards] (wcstoull): Likewise.
54090         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
54091         macro-int-constant.  Specify type.
54092         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
54093         constraint on value.
54094         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54095         Specify type.
54096         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
54097         Specify value.
54098         [ISO C standards]: Do not allow headers.
54099         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
54100         wcs[abcdefghijklmnopqrstuvwxyz]*.
54101         [ISO C standards] (*_t): Do not allow.
54102         * conform/data/wctype.h-data [C99-based standards] (iswblank):
54103         Expect function.
54104         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
54105         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54106         Specify type.
54107         [ISO C standards]: Do not allow headers.
54108         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
54109         is[abcdefghijklmnopqrstuvwxyz]*.
54110         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
54111         to[abcdefghijklmnopqrstuvwxyz]*.
54112         [ISO C standards] (*_t): Do not allow.
54113         * conform/data/stdalign.h-data: New file.
54114         * conform/data/stdbool.h-data: Likewise.
54115         * conform/data/stdnoreturn.h-data: Likewise.
54117 2012-11-07  Roland McGrath  <roland@hack.frob.com>
54119         [BZ #14815]
54120         * manual/filesys.texi (Directory Entries): Typo fix.
54121         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
54123 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54125         * elf/elf.h (EM_AARCH64): New macro.
54126         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
54127         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
54128         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
54129         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
54130         (R_AARCH64_TLSDESC): Likewise.
54131         (NT_ARM_TLS): Likewise.
54132         (NT_ARM_HW_BREAK): Likewise.
54133         (NT_ARM_HW_WATCH): Likewise.
54135 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54137         [BZ #14811]
54138         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
54139         (__ieee754_powl): Saturate nonzero exponents with absolute value
54140         below 0x1p-79 to +/- 0x1p-79.
54141         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
54142         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
54143         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
54144         nonzero exponents with absolute value below 0x1p-32 to +/-
54145         0x1p-32.
54146         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
54147         (__ieee754_powl): Saturate nonzero exponents with absolute value
54148         below 0x1p-79 to +/- 0x1p-79.
54149         * math/libm-test.inc (pow_test): Add more tests.
54151 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54153         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
54154         _dl_s390_cap_flags with kernel. Increase string length.
54155         (_dl_s390_platforms): Add z196 and zEC12.
54157 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54159         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
54160         Change XOPEN21K to XOPEN2K.
54162 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
54164         * string/memmove.c: Use memcpy when possible.
54166 2012-11-06  Andreas Jaeger  <aj@suse.de>
54168         * po/eo.po: Update from translation team.
54170 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
54172         [BZ #14793]
54173         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
54174         exponent and small x and y exponents, scale x or y up.  Increase
54175         by 2 the exponent used in scaling up.
54176         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54177         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54178         * math/libm-test.inc (fma_test): Add more tests.
54179         (fma_test_towardzero): Likewise.
54180         (fma_test_downward): Likewise.
54181         (fma_test_upward): Likewise.
54183 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
54185         [BZ #14805]
54186         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
54187         fenv_t *.
54189         [BZ #14801]
54190         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
54191         namespace for names of struct fields.
54192         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
54193         fenv_t fields.
54194         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
54195         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
54197 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54199         [BZ #3665]
54200         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
54202 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54204         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
54205         PTR_DEMANGLE.
54207         [BZ #5246]
54208         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
54209         PTR_DEMANGLE.
54211 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
54213         [BZ #14797]
54214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
54215         definitely overflow as x * y not x * y + z.
54216         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54217         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54218         * math/libm-test.inc (fma_test): Add more tests.
54219         (fma_test_towardzero): Likewise.
54220         (fma_test_downward): Likewise.
54221         (fma_test_upward): Likewise.
54223 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54225         [BZ #157]
54227         * include/stub-tag.h: Remove file.
54228         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
54229         '#include' of it.
54230         * manual/maint.texi (Porting): Don't reference it.
54231         * Makerules ($(objpfx)stubs): Likewise.
54232         * dirent/closedir.c: Don't include <stub-tag.h>.
54233         * dirent/dirfd.c: Likewise.
54234         * dirent/fdopendir.c: Likewise.
54235         * dirent/getdents.c: Likewise.
54236         * dirent/getdents64.c: Likewise.
54237         * dirent/opendir.c: Likewise.
54238         * dirent/readdir.c: Likewise.
54239         * dirent/readdir64.c: Likewise.
54240         * dirent/readdir64_r.c: Likewise.
54241         * dirent/readdir_r.c: Likewise.
54242         * dirent/rewinddir.c: Likewise.
54243         * dirent/seekdir.c: Likewise.
54244         * dirent/telldir.c: Likewise.
54245         * gmon/profil.c: Likewise.
54246         * grp/setgroups.c: Likewise.
54247         * inet/if_index.c: Likewise.
54248         * io/access.c: Likewise.
54249         * io/chdir.c: Likewise.
54250         * io/chmod.c: Likewise.
54251         * io/chown.c: Likewise.
54252         * io/close.c: Likewise.
54253         * io/dup.c: Likewise.
54254         * io/dup2.c: Likewise.
54255         * io/dup3.c: Likewise.
54256         * io/euidaccess.c: Likewise.
54257         * io/faccessat.c: Likewise.
54258         * io/fchdir.c: Likewise.
54259         * io/fchmod.c: Likewise.
54260         * io/fchmodat.c: Likewise.
54261         * io/fchown.c: Likewise.
54262         * io/fchownat.c: Likewise.
54263         * io/fcntl.c: Likewise.
54264         * io/flock.c: Likewise.
54265         * io/fstatfs.c: Likewise.
54266         * io/fstatfs64.c: Likewise.
54267         * io/fstatvfs.c: Likewise.
54268         * io/fstatvfs64.c: Likewise.
54269         * io/futimens.c: Likewise.
54270         * io/fxstat.c: Likewise.
54271         * io/fxstat64.c: Likewise.
54272         * io/fxstatat.c: Likewise.
54273         * io/fxstatat64.c: Likewise.
54274         * io/getcwd.c: Likewise.
54275         * io/isatty.c: Likewise.
54276         * io/lchmod.c: Likewise.
54277         * io/lchown.c: Likewise.
54278         * io/link.c: Likewise.
54279         * io/linkat.c: Likewise.
54280         * io/lseek.c: Likewise.
54281         * io/lseek64.c: Likewise.
54282         * io/lxstat64.c: Likewise.
54283         * io/mkdir.c: Likewise.
54284         * io/mkdirat.c: Likewise.
54285         * io/mkfifo.c: Likewise.
54286         * io/mkfifoat.c: Likewise.
54287         * io/open.c: Likewise.
54288         * io/open64.c: Likewise.
54289         * io/openat.c: Likewise.
54290         * io/openat64.c: Likewise.
54291         * io/pipe.c: Likewise.
54292         * io/pipe2.c: Likewise.
54293         * io/poll.c: Likewise.
54294         * io/posix_fadvise.c: Likewise.
54295         * io/posix_fadvise64.c: Likewise.
54296         * io/posix_fallocate.c: Likewise.
54297         * io/posix_fallocate64.c: Likewise.
54298         * io/read.c: Likewise.
54299         * io/readlink.c: Likewise.
54300         * io/readlinkat.c: Likewise.
54301         * io/rmdir.c: Likewise.
54302         * io/sendfile.c: Likewise.
54303         * io/sendfile64.c: Likewise.
54304         * io/statfs.c: Likewise.
54305         * io/statfs64.c: Likewise.
54306         * io/statvfs.c: Likewise.
54307         * io/statvfs64.c: Likewise.
54308         * io/symlink.c: Likewise.
54309         * io/symlinkat.c: Likewise.
54310         * io/ttyname.c: Likewise.
54311         * io/ttyname_r.c: Likewise.
54312         * io/umask.c: Likewise.
54313         * io/unlink.c: Likewise.
54314         * io/unlinkat.c: Likewise.
54315         * io/utime.c: Likewise.
54316         * io/utimensat.c: Likewise.
54317         * io/write.c: Likewise.
54318         * io/xmknod.c: Likewise.
54319         * io/xmknodat.c: Likewise.
54320         * io/xstat.c: Likewise.
54321         * io/xstat64.c: Likewise.
54322         * login/getpt.c: Likewise.
54323         * login/grantpt.c: Likewise.
54324         * login/unlockpt.c: Likewise.
54325         * math/e_acoshl.c: Likewise.
54326         * math/e_acosl.c: Likewise.
54327         * math/e_asinl.c: Likewise.
54328         * math/e_atan2l.c: Likewise.
54329         * math/e_atanhl.c: Likewise.
54330         * math/e_coshl.c: Likewise.
54331         * math/e_expl.c: Likewise.
54332         * math/e_fmodl.c: Likewise.
54333         * math/e_gammal_r.c: Likewise.
54334         * math/e_hypotl.c: Likewise.
54335         * math/e_j0l.c: Likewise.
54336         * math/e_j1l.c: Likewise.
54337         * math/e_jnl.c: Likewise.
54338         * math/e_lgammal_r.c: Likewise.
54339         * math/e_log10l.c: Likewise.
54340         * math/e_log2l.c: Likewise.
54341         * math/e_logl.c: Likewise.
54342         * math/e_powl.c: Likewise.
54343         * math/e_rem_pio2l.c: Likewise.
54344         * math/e_sinhl.c: Likewise.
54345         * math/e_sqrtl.c: Likewise.
54346         * math/fclrexcpt.c: Likewise.
54347         * math/fedisblxcpt.c: Likewise.
54348         * math/feenablxcpt.c: Likewise.
54349         * math/fegetenv.c: Likewise.
54350         * math/fegetexcept.c: Likewise.
54351         * math/fegetround.c: Likewise.
54352         * math/feholdexcpt.c: Likewise.
54353         * math/fesetenv.c: Likewise.
54354         * math/fesetround.c: Likewise.
54355         * math/feupdateenv.c: Likewise.
54356         * math/fgetexcptflg.c: Likewise.
54357         * math/fraiseexcpt.c: Likewise.
54358         * math/fsetexcptflg.c: Likewise.
54359         * math/ftestexcept.c: Likewise.
54360         * math/k_cosl.c: Likewise.
54361         * math/k_rem_pio2l.c: Likewise.
54362         * math/k_sinl.c: Likewise.
54363         * math/k_tanl.c: Likewise.
54364         * math/s_asinhl.c: Likewise.
54365         * math/s_atanl.c: Likewise.
54366         * math/s_cbrtl.c: Likewise.
54367         * math/s_erfl.c: Likewise.
54368         * math/s_expm1l.c: Likewise.
54369         * math/s_log1pl.c: Likewise.
54370         * math/s_tanhl.c: Likewise.
54371         * misc/acct.c: Likewise.
54372         * misc/brk.c: Likewise.
54373         * misc/chflags.c: Likewise.
54374         * misc/chroot.c: Likewise.
54375         * misc/fchflags.c: Likewise.
54376         * misc/fgetxattr.c: Likewise.
54377         * misc/flistxattr.c: Likewise.
54378         * misc/fremovexattr.c: Likewise.
54379         * misc/fsetxattr.c: Likewise.
54380         * misc/fsync.c: Likewise.
54381         * misc/ftruncate.c: Likewise.
54382         * misc/futimes.c: Likewise.
54383         * misc/futimesat.c: Likewise.
54384         * misc/getdomain.c: Likewise.
54385         * misc/getdtsz.c: Likewise.
54386         * misc/gethostid.c: Likewise.
54387         * misc/gethostname.c: Likewise.
54388         * misc/getloadavg.c: Likewise.
54389         * misc/getpagesize.c: Likewise.
54390         * misc/getsysstats.c: Likewise.
54391         * misc/getxattr.c: Likewise.
54392         * misc/gtty.c: Likewise.
54393         * misc/ioctl.c: Likewise.
54394         * misc/lgetxattr.c: Likewise.
54395         * misc/listxattr.c: Likewise.
54396         * misc/llistxattr.c: Likewise.
54397         * misc/lremovexattr.c: Likewise.
54398         * misc/lsetxattr.c: Likewise.
54399         * misc/lutimes.c: Likewise.
54400         * misc/madvise.c: Likewise.
54401         * misc/mincore.c: Likewise.
54402         * misc/mlock.c: Likewise.
54403         * misc/mlockall.c: Likewise.
54404         * misc/mmap.c: Likewise.
54405         * misc/mprotect.c: Likewise.
54406         * misc/msync.c: Likewise.
54407         * misc/munlock.c: Likewise.
54408         * misc/munlockall.c: Likewise.
54409         * misc/munmap.c: Likewise.
54410         * misc/preadv.c: Likewise.
54411         * misc/preadv64.c: Likewise.
54412         * misc/ptrace.c: Likewise.
54413         * misc/pwritev.c: Likewise.
54414         * misc/pwritev64.c: Likewise.
54415         * misc/readv.c: Likewise.
54416         * misc/reboot.c: Likewise.
54417         * misc/remap_file_pages.c: Likewise.
54418         * misc/removexattr.c: Likewise.
54419         * misc/revoke.c: Likewise.
54420         * misc/select.c: Likewise.
54421         * misc/setdomain.c: Likewise.
54422         * misc/setegid.c: Likewise.
54423         * misc/seteuid.c: Likewise.
54424         * misc/sethostid.c: Likewise.
54425         * misc/sethostname.c: Likewise.
54426         * misc/setregid.c: Likewise.
54427         * misc/setreuid.c: Likewise.
54428         * misc/setxattr.c: Likewise.
54429         * misc/sstk.c: Likewise.
54430         * misc/stty.c: Likewise.
54431         * misc/swapoff.c: Likewise.
54432         * misc/swapon.c: Likewise.
54433         * misc/sync.c: Likewise.
54434         * misc/syncfs.c: Likewise.
54435         * misc/syscall.c: Likewise.
54436         * misc/truncate.c: Likewise.
54437         * misc/ualarm.c: Likewise.
54438         * misc/usleep.c: Likewise.
54439         * misc/ustat.c: Likewise.
54440         * misc/utimes.c: Likewise.
54441         * misc/vhangup.c: Likewise.
54442         * misc/writev.c: Likewise.
54443         * posix/_exit.c: Likewise.
54444         * posix/alarm.c: Likewise.
54445         * posix/execve.c: Likewise.
54446         * posix/fexecve.c: Likewise.
54447         * posix/fork.c: Likewise.
54448         * posix/fpathconf.c: Likewise.
54449         * posix/getaddrinfo.c: Likewise.
54450         * posix/getegid.c: Likewise.
54451         * posix/geteuid.c: Likewise.
54452         * posix/getgid.c: Likewise.
54453         * posix/getgroups.c: Likewise.
54454         * posix/getlogin.c: Likewise.
54455         * posix/getlogin_r.c: Likewise.
54456         * posix/getpgid.c: Likewise.
54457         * posix/getpid.c: Likewise.
54458         * posix/getppid.c: Likewise.
54459         * posix/getresgid.c: Likewise.
54460         * posix/getresuid.c: Likewise.
54461         * posix/getsid.c: Likewise.
54462         * posix/getuid.c: Likewise.
54463         * posix/glob64.c: Likewise.
54464         * posix/nanosleep.c: Likewise.
54465         * posix/pathconf.c: Likewise.
54466         * posix/pause.c: Likewise.
54467         * posix/posix_madvise.c: Likewise.
54468         * posix/pread.c: Likewise.
54469         * posix/pread64.c: Likewise.
54470         * posix/pwrite.c: Likewise.
54471         * posix/pwrite64.c: Likewise.
54472         * posix/sched_getaffinity.c: Likewise.
54473         * posix/sched_getp.c: Likewise.
54474         * posix/sched_gets.c: Likewise.
54475         * posix/sched_primax.c: Likewise.
54476         * posix/sched_primin.c: Likewise.
54477         * posix/sched_rr_gi.c: Likewise.
54478         * posix/sched_setaffinity.c: Likewise.
54479         * posix/sched_setp.c: Likewise.
54480         * posix/sched_sets.c: Likewise.
54481         * posix/sched_yield.c: Likewise.
54482         * posix/setgid.c: Likewise.
54483         * posix/setlogin.c: Likewise.
54484         * posix/setpgid.c: Likewise.
54485         * posix/setresgid.c: Likewise.
54486         * posix/setresuid.c: Likewise.
54487         * posix/setsid.c: Likewise.
54488         * posix/setuid.c: Likewise.
54489         * posix/sleep.c: Likewise.
54490         * posix/spawni.c: Likewise.
54491         * posix/sysconf.c: Likewise.
54492         * posix/times.c: Likewise.
54493         * posix/wait.c: Likewise.
54494         * posix/wait3.c: Likewise.
54495         * posix/wait4.c: Likewise.
54496         * posix/waitpid.c: Likewise.
54497         * resolv/gai_sigqueue.c: Likewise.
54498         * resource/getpriority.c: Likewise.
54499         * resource/getrlimit.c: Likewise.
54500         * resource/getrusage.c: Likewise.
54501         * resource/nice.c: Likewise.
54502         * resource/setpriority.c: Likewise.
54503         * resource/setrlimit.c: Likewise.
54504         * resource/ulimit.c: Likewise.
54505         * rt/aio_cancel.c: Likewise.
54506         * rt/aio_fsync.c: Likewise.
54507         * rt/aio_read.c: Likewise.
54508         * rt/aio_sigqueue.c: Likewise.
54509         * rt/aio_suspend.c: Likewise.
54510         * rt/aio_write.c: Likewise.
54511         * rt/clock_getres.c: Likewise.
54512         * rt/clock_gettime.c: Likewise.
54513         * rt/clock_nanosleep.c: Likewise.
54514         * rt/clock_settime.c: Likewise.
54515         * rt/lio_listio.c: Likewise.
54516         * rt/mq_close.c: Likewise.
54517         * rt/mq_getattr.c: Likewise.
54518         * rt/mq_notify.c: Likewise.
54519         * rt/mq_open.c: Likewise.
54520         * rt/mq_receive.c: Likewise.
54521         * rt/mq_send.c: Likewise.
54522         * rt/mq_setattr.c: Likewise.
54523         * rt/mq_timedreceive.c: Likewise.
54524         * rt/mq_timedsend.c: Likewise.
54525         * rt/mq_unlink.c: Likewise.
54526         * rt/shm_open.c: Likewise.
54527         * rt/shm_unlink.c: Likewise.
54528         * rt/timer_create.c: Likewise.
54529         * rt/timer_delete.c: Likewise.
54530         * rt/timer_getoverr.c: Likewise.
54531         * rt/timer_gettime.c: Likewise.
54532         * rt/timer_settime.c: Likewise.
54533         * setjmp/__longjmp.c: Likewise.
54534         * setjmp/setjmp.c: Likewise.
54535         * signal/kill.c: Likewise.
54536         * signal/killpg.c: Likewise.
54537         * signal/raise.c: Likewise.
54538         * signal/sigaction.c: Likewise.
54539         * signal/sigaltstack.c: Likewise.
54540         * signal/sigblock.c: Likewise.
54541         * signal/sigignore.c: Likewise.
54542         * signal/sigintr.c: Likewise.
54543         * signal/signal.c: Likewise.
54544         * signal/sigpause.c: Likewise.
54545         * signal/sigpending.c: Likewise.
54546         * signal/sigqueue.c: Likewise.
54547         * signal/sigreturn.c: Likewise.
54548         * signal/sigset.c: Likewise.
54549         * signal/sigsetmask.c: Likewise.
54550         * signal/sigstack.c: Likewise.
54551         * signal/sigsuspend.c: Likewise.
54552         * signal/sigtimedwait.c: Likewise.
54553         * signal/sigvec.c: Likewise.
54554         * signal/sigwait.c: Likewise.
54555         * signal/sigwaitinfo.c: Likewise.
54556         * signal/sysv_signal.c: Likewise.
54557         * socket/accept.c: Likewise.
54558         * socket/accept4.c: Likewise.
54559         * socket/bind.c: Likewise.
54560         * socket/connect.c: Likewise.
54561         * socket/getpeername.c: Likewise.
54562         * socket/getsockname.c: Likewise.
54563         * socket/getsockopt.c: Likewise.
54564         * socket/isfdtype.c: Likewise.
54565         * socket/listen.c: Likewise.
54566         * socket/recv.c: Likewise.
54567         * socket/recvfrom.c: Likewise.
54568         * socket/recvmsg.c: Likewise.
54569         * socket/send.c: Likewise.
54570         * socket/sendmsg.c: Likewise.
54571         * socket/sendto.c: Likewise.
54572         * socket/setsockopt.c: Likewise.
54573         * socket/shutdown.c: Likewise.
54574         * socket/sockatmark.c: Likewise.
54575         * socket/socket.c: Likewise.
54576         * socket/socketpair.c: Likewise.
54577         * stdio-common/ctermid.c: Likewise.
54578         * stdio-common/cuserid.c: Likewise.
54579         * stdio-common/remove.c: Likewise.
54580         * stdio-common/rename.c: Likewise.
54581         * stdio-common/renameat.c: Likewise.
54582         * stdio-common/tempname.c: Likewise.
54583         * stdlib/getcontext.c: Likewise.
54584         * stdlib/makecontext.c: Likewise.
54585         * stdlib/setcontext.c: Likewise.
54586         * stdlib/swapcontext.c: Likewise.
54587         * stdlib/system.c: Likewise.
54588         * streams/fattach.c: Likewise.
54589         * streams/fdetach.c: Likewise.
54590         * streams/getmsg.c: Likewise.
54591         * streams/getpmsg.c: Likewise.
54592         * streams/putmsg.c: Likewise.
54593         * streams/putpmsg.c: Likewise.
54594         * sysdeps/unix/bsd/getpt.c: Likewise.
54595         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
54596         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
54597         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54599         Likewise.
54600         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
54601         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54602         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
54603         * sysvipc/msgctl.c: Likewise.
54604         * sysvipc/msgget.c: Likewise.
54605         * sysvipc/msgrcv.c: Likewise.
54606         * sysvipc/msgsnd.c: Likewise.
54607         * sysvipc/semctl.c: Likewise.
54608         * sysvipc/semget.c: Likewise.
54609         * sysvipc/semop.c: Likewise.
54610         * sysvipc/semtimedop.c: Likewise.
54611         * sysvipc/shmat.c: Likewise.
54612         * sysvipc/shmctl.c: Likewise.
54613         * sysvipc/shmdt.c: Likewise.
54614         * sysvipc/shmget.c: Likewise.
54615         * termios/tcdrain.c: Likewise.
54616         * termios/tcflow.c: Likewise.
54617         * termios/tcflush.c: Likewise.
54618         * termios/tcgetattr.c: Likewise.
54619         * termios/tcgetpgrp.c: Likewise.
54620         * termios/tcsendbrk.c: Likewise.
54621         * termios/tcsetattr.c: Likewise.
54622         * termios/tcsetpgrp.c: Likewise.
54623         * time/adjtime.c: Likewise.
54624         * time/clock.c: Likewise.
54625         * time/getitimer.c: Likewise.
54626         * time/gettimeofday.c: Likewise.
54627         * time/setitimer.c: Likewise.
54628         * time/settimeofday.c: Likewise.
54629         * time/stime.c: Likewise.
54630         * time/time.c: Likewise.
54632 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
54634         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
54635         /usr/old/bin.
54637         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
54638         instead of spaces.
54639         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
54641 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
54643         [BZ #14796]
54644         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
54645         FE_TONEAREST before applying Dekker multiplication and Knuth
54646         addition.  Clear inexact exceptions and check for exact zero
54647         results afterwards.
54648         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54649         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54650         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54651         * math/libm-test.inc (fma_test): Add more tests.
54652         (fma_test_towardzero): Likewise.
54653         (fma_test_downward): Likewise.
54654         (fma_test_upward): Likewise.
54655         * sysdeps/generic/math_private.h (default_libc_fesetround): New
54656         function.
54657         (libc_fesetround): New macro.
54658         (libc_fesetroundf): Likewise.
54659         (libc_fesetroundl): Likewise.
54660         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
54661         function.
54662         (libc_fesetround_387): Likewise.
54663         (libc_fesetroundf): New macro.
54664         (libc_fesetround): Likewise.
54665         (libc_fesetroundl): Likewise.
54666         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
54667         function.
54668         (libc_fesetroundf): New macro.
54669         (libc_fesetround): Likewise.
54670         (libc_fesetroundl): Likewise.
54671         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
54672         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
54673         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
54674         libm_hidden_ver.
54675         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
54676         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
54677         libm_hidden_def.
54678         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
54679         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
54680         libm_hidden_ver.
54681         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
54682         libm_hidden_def.
54684         [BZ #3439]
54685         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
54686         integer constant usable in #if and use that to give value to enum
54687         constant.
54688         (FE_DIVBYZERO): Likewise.
54689         (FE_UNDERFLOW): Likewise.
54690         (FE_OVERFLOW): Likewise.
54691         (FE_INVALID): Likewise.
54692         (FE_INVALID_SNAN): Likewise.
54693         (FE_INVALID_ISI): Likewise.
54694         (FE_INVALID_IDI): Likewise.
54695         (FE_INVALID_ZDZ): Likewise.
54696         (FE_INVALID_IMZ): Likewise.
54697         (FE_INVALID_COMPARE): Likewise.
54698         (FE_INVALID_SOFTWARE): Likewise.
54699         (FE_INVALID_SQRT): Likewise.
54700         (FE_INVALID_INTEGER_CONVERSION): Likewise.
54701         (FE_TONEAREST): Likewise.
54702         (FE_TOWARDZERO): Likewise.
54703         (FE_UPWARD): Likewise.
54704         (FE_DOWNWARD): Likewise.
54705         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
54706         (FE_DIVBYZERO): Likewise.
54707         (FE_OVERFLOW): Likewise.
54708         (FE_UNDERFLOW): Likewise.
54709         (FE_INEXACT): Likewise.
54710         (FE_TONEAREST): Likewise.
54711         (FE_DOWNWARD): Likewise.
54712         (FE_UPWARD): Likewise.
54713         (FE_TOWARDZERO): Likewise.
54714         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
54715         (FE_UNDERFLOW): Likewise.
54716         (FE_OVERFLOW): Likewise.
54717         (FE_DIVBYZERO): Likewise.
54718         (FE_INVALID): Likewise.
54719         (FE_TONEAREST): Likewise.
54720         (FE_TOWARDZERO): Likewise.
54721         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
54722         (FE_OVERFLOW): Likewise.
54723         (FE_UNDERFLOW): Likewise.
54724         (FE_DIVBYZERO): Likewise.
54725         (FE_INEXACT): Likewise.
54726         (FE_TONEAREST): Likewise.
54727         (FE_TOWARDZERO): Likewise.
54728         (FE_UPWARD): Likewise.
54729         (FE_DOWNWARD): Likewise.
54730         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
54731         (FE_DIVBYZERO): Likewise.
54732         (FE_OVERFLOW): Likewise.
54733         (FE_UNDERFLOW): Likewise.
54734         (FE_INEXACT): Likewise.
54735         (FE_TONEAREST): Likewise.
54736         (FE_DOWNWARD): Likewise.
54737         (FE_UPWARD): Likewise.
54738         (FE_TOWARDZERO): Likewise.
54740 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
54742         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
54744 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
54746         * scripts/cross-test-ssh.sh (command): Use newlines to separate
54747         commands.  Quote $PWD.
54748         (blacklist_exports): Don't use remove_newlines.  Replace "declare
54749         -x" by "export".
54750         (remove_newlines): Remove.
54752 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
54754         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
54755         * stdlib/stdlib.h (atof): Moved to ...
54756         * include/bits/stdlib-float.h: Here.  New file.
54757         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
54758         * stdlib/bits/stdlib-float.h: New file.
54759         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
54760         -mno-sse -mno-mmx.
54761         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
54762         <xmmintrin.h>.
54764 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54766         * conform/conformtest.pl (@headers): Add fenv.h.
54767         * conform/data/fenv.h-data: New file.
54768         * include/fenv.h [_ISOMAC]: Disable all contents of file except
54769         include of <math/fenv.h>.
54771         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
54772         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
54773         && !UNIX98].  Enables tests for XOPEN2K8.
54774         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
54775         POSIX2008]: Likewise.
54777         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
54778         (struct rusage): Do not expect type or its members.
54780         [BZ #3439]
54781         * math/math.h (FP_NAN): Define macro to integer constant usable in
54782         #if and use that to give value to enum constant.
54783         (FP_INFINITE): Likewise.
54784         (FP_ZERO): Likewise.
54785         (FP_SUBNORMAL): Likewise.
54786         (FP_NORMAL): Likewise.
54788 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
54790         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
54791         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
54792         arguments.
54794 2012-11-02  Roland McGrath  <roland@hack.frob.com>
54796         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
54797         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
54798         autoconf-time if not.
54799         * configure.in: Remove AC_PREREQ.
54801 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54803         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
54804         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
54805         of the internal implementation.
54807 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54809         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
54810         except include of <misc/sys/syslog.h>.
54812 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
54815         function returns with a NULL context exit with zero.
54817 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54819         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
54821 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
54823         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
54824         (run_program_cmd): This.
54825         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
54826         (tst_langinfo): New variable.  Use it.
54828 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
54830         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
54831         floating point opcodes.
54833 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54835         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
54836         variable.
54838         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
54840         * sysdeps/mach/hurd/powerpc: Remove directory.
54841         * sysdeps/mach/powerpc: Likewise.
54843 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54845         * scripts/check-local-headers.sh: Ignore c++ headers.
54847 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54849         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
54850         __libc_cleanup_region_start argument.
54852 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
54854         [BZ #14784]
54855         [BZ #14785]
54856         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
54857         x * y using scaling, not as x * y + z.
54858         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54859         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54860         * math/libm-test.inc (fma_test): Add more tests.
54861         (fma_test_towardzero): Likewise.
54862         (fma_test_downward): Likewise.
54863         (fma_test_upward): Likewise.
54865 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54867         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
54869 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54871         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
54872         New variable.
54874 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
54876         * rt/tst-shm.c (worker): Correct checking for mmap failure.
54878 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54881         Fix sort order.
54882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54883         Likewise.
54885 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54888         Fix the order of the list for glibc 2.17.
54889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54890         Likewise.
54892 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54896 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54898         [BZ #14610]
54899         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
54900         for low part of x being zero before using __atanl (y).
54901         * math/libm-test.inc (atan2_test): Add another test.
54903         * manual/install.texi (Configuring and compiling): Document
54904         general use of test-wrapper and test-wrapper-env.
54905         * INSTALL: Regenerated.
54907         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
54908         (__fma): Do not extract and scale down low bits on after-rounding
54909         systems when result rounded to normal precision would have normal
54910         exponent.
54911         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
54912         (__fmal): Do not extract and scale down low bits on after-rounding
54913         systems when result rounded to normal precision would have normal
54914         exponent.
54915         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
54916         (__fmal): Do not extract and scale down low bits on after-rounding
54917         systems when result rounded to normal precision would have normal
54918         exponent.
54919         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
54920         macro.
54921         (fma_test): Add more tests.
54922         (fma_test_towardzero): Likewise.
54923         (fma_test_downward): Likewise.
54924         (fma_test_upward): Likewise.
54926 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
54928         * sysdeps/i386/tininess.h: Renamed to ...
54929         * sysdeps/x86/tininess.h: This.
54930         * sysdeps/x86_64/tininess.h: Removed.
54932 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54934         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
54935         input.  Use $(build-program-cmd).
54936         ($(objpfx)tst-array1-static.out): Likewise.
54937         ($(objpfx)tst-array2.out): Likewise.
54938         ($(objpfx)tst-array3.out): Likewise.
54939         ($(objpfx)tst-array4.out): Likewise.
54940         ($(objpfx)tst-array5.out): Likewise.
54941         ($(objpfx)tst-array5-static.out): Likewise.
54943 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
54945         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
54946         if defined.
54948         * nss/nsswitch.h (nss_interface_function): Provide new
54949         macro for use with NSS functions.
54950         * grp/initgroups.c: Use new macro.
54951         * nss/getXXbyYY.c: Likewise.
54952         * nss/getXXbyYY_r.c: Likewise.
54953         * nss/getXXent.c: Likewise.
54954         * nss/getXXent_r.c: Likewise.
54955         * sysdeps/posix/getaddrinfo.c: Likewise.
54957 2012-10-30  Andreas Jaeger  <aj@suse.de>
54959         * po/ru.po: Update Russion translation from translation project.
54961 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54963         [BZ #14152]
54964         [BZ #14783]
54965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
54966         result and shift together with sticky bit instead of replicating
54967         round-to-nearest rounding.
54968         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54969         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54970         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
54971         missing underflow exceptions.
54972         (fma_test_towardzero): Add more tests.
54973         (fma_test_downward): Likewise.
54974         (fma_test_upward): Likewise.
54976         [BZ #14047]
54977         * sysdeps/generic/tininess.h: New file.
54978         * sysdeps/i386/tininess.h: Likewise.
54979         * sysdeps/sh/tininess.h: Likewise.
54980         * sysdeps/x86_64/tininess.h: Likewise.
54981         * stdlib/tst-strtod-underflow.c: Likewise.
54982         * stdlib/tst-tininess.c: Likewise.
54983         * stdlib/strtod_l.c: Include <tininess.h>.
54984         (round_and_return): Do not set errno for exact underflow cases.
54985         Force an underflow exception when setting errno for underflow.
54986         Determine underflow based on rounding to normal precision if
54987         TININESS_AFTER_ROUNDING.
54988         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
54989         ERANGE for exact underflow cases.
54990         * stdlib/Makefile (tests): Add tst-tininess and
54991         tst-strtod-underflow.
54992         ($(objpfx)tst-tininess): Use $(link-libm).
54993         ($(objpfx)tst-strtod-underflow): Likewise.
54995 2012-10-30  Andreas Jaeger  <aj@suse.de>
54997         [BZ#14767]
54998         * elf/Makefile (tests): Remove conditional for have-initfini-array
54999         since this is now always required and the variable does not exist
55000         anymore.
55001         (tests-static): Likewise.
55002         (modules-names): Likewise.
55004         * po/eo.po: Add Esperanto translation from translation project.
55006         * elf/tst-array1.c (fini_array): Make writeable so that it can be
55007         merged with constructor/destructor.
55008         (init_array): Likewise.
55009         * elf/tst-array2dep.c (fini_array): Likewise.
55010         (init_array): Likewise.
55012 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
55014         * manual/message.texi: Delete @cartouche tags.
55016 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
55018         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
55019         EOPNOTSUPP.
55020         * sysdeps/mach/hurd/fsync.c: Likewise.
55022         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
55023         [_POSIX_REALTIME_SIGNALS]: Change condition to
55024         [_POSIX_REALTIME_SIGNALS > 0].
55026 2012-10-27  Andreas Jaeger  <aj@suse.de>
55028         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
55029         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
55030         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
55031         [__WORDSIZE != 64]: Likewise.
55033 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
55035         *  iconvdata/tst-table.sh: Remove ${SHELL}.
55036         *  iconvdata/tst-tables.sh: Likewise.
55038 2012-10-25  David S. Miller  <davem@davemloft.net>
55040         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55041         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
55042         of strtoull.
55044         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
55045         ifunc-impl-list.c
55046         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55047         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
55048         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
55049         file.
55051 2012-10-25  Roland McGrath  <roland@hack.frob.com>
55053         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55054         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
55055         __getdirentries.
55057 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55058             Jim Blandy  <jimb@codesourcery.com>
55060         * scripts/cross-test-ssh.sh: New file.
55061         * manual/install.texi (Configuring and compiling): Document use of
55062         cross-test-ssh.sh.
55063         * INSTALL: Regenerated.
55065 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
55067         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
55068         EOPNOTSUPP.
55070 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55072         * Makeconfig (run-program-prefix): Fix comment.
55074 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55075             Jim Blandy  <jimb@codesourcery.com>
55077         * Makeconfig (test-wrapper): New variable,
55078         (test-wrapper-env): Likewise.
55079         [$(cross-compiling) = yes && $(test-wrapper) != ""]
55080         (run-built-tests): Define to yes.
55081         (run-program-prefix): Use $(test-wrapper).
55082         (built-program-cmd): Likewise.
55083         * Rules (make-test-out): Use $(test-wrapper-env) and
55084         $(host-built-program-cmd).
55085         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
55086         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
55087         tst-pathopt.sh.
55088         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
55089         $(test-wrapper-env) to tst-rtld-load-self.sh.
55090         ($(objpfx)order2.out): Use $(test-wrapper).
55091         ($(objpfx)tst-initorder.out): Likewise.
55092         ($(objpfx)tst-initorder2.out): Likewise.
55093         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
55094         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
55095         (test_wrapper_env): New variable.  Use it to run ld.so.
55096         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
55097         Use it to run ld.so.
55098         (test_wrapper_env): Likewise.
55099         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
55100         $(test-wrapper) to run-iconv-test.sh.
55101         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
55102         (ICONV): Use $test_wrapper.
55103         * posix/Makefile ($(objpfx)globtest.out): Pass
55104         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
55105         globtest.sh, not $(run-program-prefix).
55106         * posix/globtest.sh (run_via_rtld_prefix): New variable.
55107         (test_wrapper): Likewise.
55108         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
55109         set together with run_via_rtld_prefix.
55110         (run_program_prefix): Define in terms of test_wrapper and
55111         run_via_rtld_prefix.
55113 2012-10-24  Roland McGrath  <roland@hack.frob.com>
55115         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
55116         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
55117         Targets removed.
55119         [BZ #14743]
55120         * include/time.h: Remove librt_hidden_proto (clock_gettime).
55121         Declare __clock_getres, __clock_gettime, __clock_settime,
55122         __clock_nanosleep, and __clock_getcpuclockid.
55123         * rt/clock_gettime.c: Define __clock_gettime as an alias.
55124         Remove librt_hidden_def (clock_gettime).
55125         * sysdeps/unix/clock_gettime.c: Likewise.
55126         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
55127         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
55128         * rt/clock_getres.c: Define __clock_getres as an alias.
55129         * sysdeps/posix/clock_getres.c: Likewise.
55130         * rt/clock_settime.c: Define __clock_settime as an alias.
55131         * sysdeps/unix/clock_settime.c: Likewise.
55132         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
55133         * sysdeps/unix/clock_nanosleep.c: Likewise.
55134         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
55135         * rt/clock-compat.c: New file.
55136         * rt/Makefile (librt-routines): Add clock-compat and move
55137         $(clock-routines) to ...
55138         (routines): ... here, new variable.
55139         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
55140         Don't add get_clockfreq here.
55141         * rt/Versions (libc: GLIBC_2.17): New version set.
55142         Add clock_* symbols here.
55143         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
55144         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
55145         (GLIBC_2.17): Add clock_* symbols.
55146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55148         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55150         Likewise.
55151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55152         Likewise.
55153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55157         * NEWS: Mention the move.
55159         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55160         Use __open, __read, __close rather than their public counterparts.
55161         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55162         (__get_clockfreq_via_cpuinfo): Likewise.
55163         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
55164         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
55166         * config.h.in (HAVE_IFUNC): New #undef.
55167         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
55168         was successful.
55169         * configure: Regenerated.
55171 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55173         * configure.in: Move READELF check to start of file.
55174         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
55175         libc_cv_asm_gnu_indirect_function in the process.
55176         * configure: Regenerated.
55178 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55180         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
55181         send the output to /dev/null.
55182         (libc_cv_cc_with_libunwind): Likewise.
55183         (libc_cv_as_noexecstack): Likewise.
55184         * configure: Regenerate.
55186 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55188         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
55190         * posix/globtest.sh (TMPDIR): Do not set.
55191         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
55192         (testout): Likewise.
55194 2012-10-24  Andreas Jaeger  <aj@suse.de>
55196         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
55197         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
55198         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
55199         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
55200         posix_fadvise64, posix_fallocate64.
55202         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
55203         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
55204         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
55205         Likewise.
55206         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
55207         Likewise.
55208         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
55210         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
55211         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
55212         <bits/fcntl-linux.h>.
55213         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
55215         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
55216         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
55217         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
55218         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
55219         [__WORDSIZE != 64]: Likewise.
55221 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55223         * Makeconfig (run-built-tests): New variable.
55224         * Rules [$(cross-compiling) = yes]: Change condition to
55225         [$(run-built-tests) = no].
55226         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
55227         to [$(run-built-tests) = yes].
55228         * elf/Makefile [$(cross-compiling) = no]: Likewise.
55229         * grp/Makefile [$(cross-compiling) = no]: Likewise.
55230         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
55231         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
55232         * intl/Makefile [$(cross-compiling) = no]: Likewise.
55233         * io/Makefile [$(cross-compiling) = no]: Likewise.
55234         * libio/Makefile [$(cross-compiling) = no]: Likewise.
55235         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
55236         * misc/Makefile [$(cross-compiling) = no]: Likewise.
55237         * posix/Makefile [$(cross-compiling) = no]: Likewise.
55238         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
55239         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
55240         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
55241         * string/Makefile [$(cross-compiling) = no]: Likewise.
55243         * posix/Makefile ($(objpfx)globtest.out): Pass
55244         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
55245         $(rtld-installed-name).
55246         * posix/globtest.sh (elf_objpfx): Remove variable.
55247         (rtld_installed_name): Likewise.
55248         (library_path): Likewise.
55249         (run_program_prefix): New variable.  Use for running globtest
55250         binary.
55252 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
55253             Joseph Myers  <joseph@codesourcery.com>
55255         * Makeconfig (host-built-program-cmd): New variable.
55256         * elf/Makefile (tst-stackguard1-ARGS): Use
55257         $(host-built-program-cmd).
55258         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
55259         (tst-spawn-ARGS): Likewise.
55260         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
55262 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55263             Jim Blandy  <jimb@codesourcery.com>
55265         * Makeconfig (run-via-rtld-prefix): New variable.
55266         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
55267         (built-program-cmd): Likewise.
55269 2012-10-22  Andreas Jaeger  <aj@suse.de>
55271         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
55272         __O_RSYNC if it exists, otherwise to O_SYNC.
55274 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
55275             Joseph Myers  <joseph@codesourcery.com>
55277         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
55278         /dev/null.
55279         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
55280         from /dev/null
55281         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
55282         /dev/null.
55284 2012-10-22  Andreas Jaeger  <aj@suse.de>
55286         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
55287         Define always.
55288         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
55290         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55291         bits/fcntl-linux.h.
55293         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
55294         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55296         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
55297         to __O_LARGEFILE.
55298         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
55299         to __O_LARGEFILE.
55301 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
55302             Joseph Myers  <joseph@codesourcery.com>
55304         * config.make.in (NM): New variable.
55306 2012-10-21  Andreas Jaeger  <aj@suse.de>
55308         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
55309         definitions and declarations that are provided by
55310         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55312 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55314         [BZ #14683]
55315         * elf/Makefile (tests-static): Add tst-leaks1-static.
55316         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
55317         ($(objpfx)tst-leaks1-static): New rule.
55318         ($(objpfx)tst-leaks1-static-mem): Likewise.
55319         (tst-leaks1-static-ENV): New macro.
55320         * elf/dl-open.c (dl_open_worker): Check the main application
55321         only if SHARED is defined.
55322         * elf/tst-leaks1-static.c: New file.
55324 2012-10-20  Andreas Jaeger  <aj@suse.de>
55326         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
55327         generic values for Linux.
55328         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
55329         and declarations that are provided by <bits/fcntl-linux.h> and
55330         include <bits/fcntl-linux.h>.
55331         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55332         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55334 2012-10-20  Roland McGrath  <roland@hack.frob.com>
55336         * io/fcntl.h: Move include of <bits/types.h> to the top and
55337         include it unconditionally.
55339 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55341         * wcsmbs/Makefile (tests-ifunc): New variable.
55342         (tests): Add $(tests-ifunc).
55343         * wcsmbs/test-wcschr-ifunc.c: New file.
55344         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
55345         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
55346         * wcsmbs/test-wcslen-ifunc.c: Likewise.
55347         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
55348         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
55350         * string/Makefile (tests-ifunc): New variable.
55351         (tests): Add $(tests-ifunc).
55352         * string/test-memccpy.c (TEST_NAME): New macro.
55353         * string/test-memchr.c (TEST_NAME): Likewise.
55354         * string/test-memcmp.c (TEST_NAME): Likewise.
55355         * string/test-memcpy.c (TEST_NAME): Likewise.
55356         * string/test-memmem.c (TEST_NAME): Likewise.
55357         * string/test-memmove.c (TEST_NAME): Likewise.
55358         * string/test-memset.c (TEST_NAME): Likewise.
55359         * string/test-rawmemchr.c (TEST_NAME): Likewise.
55360         * string/test-stpcpy.c (TEST_NAME): Likewise.
55361         * string/test-stpncpy.c (TEST_NAME): Likewise.
55362         * string/test-strcasecmp.c (TEST_NAME): Likewise.
55363         * string/test-strcasestr.c (TEST_NAME): Likewise.
55364         * string/test-strcat.c (TEST_NAME): Likewise.
55365         * string/test-strchr.c (TEST_NAME): Likewise.
55366         * string/test-strcmp.c(TEST_NAME): Likewise.
55367         * string/test-strcpy.c (TEST_NAME): Likewise.
55368         * string/test-strcspn.c (TEST_NAME): Likewise.
55369         * string/test-strlen.c (TEST_NAME): Likewise.
55370         * string/test-strncasecmp.c (TEST_NAME): Likewise.
55371         * string/test-strncmp.c (TEST_NAME): Likewise.
55372         * string/test-strncpy.c (TEST_NAME): Likewise.
55373         * string/test-strnlen.c (TEST_NAME): Likewise.
55374         * string/test-strpbrk.c (TEST_NAME): Likewise.
55375         * string/test-strrchr.c (TEST_NAME): Likewise.
55376         * string/test-strspn.c (TEST_NAME): Likewise.
55377         * string/test-strstr.c (TEST_NAME): Likewise.
55378         * string/test-bcopy-ifunc.c: New file.
55379         * string/test-bzero-ifunc.c: Likewise.
55380         * string/test-memccpy-ifunc.c: Likewise.
55381         * string/test-memchr-ifunc.c: Likewise.
55382         * string/test-memcmp-ifunc.c: Likewise.
55383         * string/test-memcpy-ifunc.c: Likewise.
55384         * string/test-memmem-ifunc.c: Likewise.
55385         * string/test-memmove-ifunc.c: Likewise.
55386         * string/test-mempcpy-ifunc.c: Likewise.
55387         * string/test-memset-ifunc.c: Likewise.
55388         * string/test-rawmemchr-ifunc.c: Likewise.
55389         * string/test-stpcpy-ifunc.c: Likewise.
55390         * string/test-stpncpy-ifunc.c: Likewise.
55391         * string/test-strcasecmp-ifunc.c: Likewise.
55392         * string/test-strcasestr-ifunc.c: Likewise.
55393         * string/test-strcat-ifunc.c: Likewise.
55394         * string/test-strchr-ifunc.c: Likewise.
55395         * string/test-strchrnul-ifunc.c: Likewise.
55396         * string/test-strcmp-ifunc.c: Likewise.
55397         * string/test-strcpy-ifunc.c: Likewise.
55398         * string/test-strcspn-ifunc.c: Likewise.
55399         * string/test-strlen-ifunc.c: Likewise.
55400         * string/test-strncasecmp-ifunc.c: Likewise.
55401         * string/test-strncat-ifunc.c: Likewise.
55402         * string/test-strncmp-ifunc.c: Likewise.
55403         * string/test-strncpy-ifunc.c: Likewise.
55404         * string/test-strnlen-ifunc.c: Likewise.
55405         * string/test-strpbrk-ifunc.c: Likewise.
55406         * string/test-strrchr-ifunc.c: Likewise.
55407         * string/test-strspn-ifunc.c: Likewise.
55408         * string/test-strstr-ifunc.c: Likewise.
55410         * debug/Makefile (tests-ifunc): New variable.
55411         (tests): Add $(tests-ifunc).
55412         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
55413         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
55414         * debug/test-stpcpy_chk-ifunc.c: New file.
55415         * debug/test-strcpy_chk-ifunc.c: Likewise.
55417 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55419         [BZ #13601]
55420         * elf/dl-load.c (open_verify): Retry read if the entire ELF
55421         header is not read in.
55423 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
55425         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
55426         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
55427         directly.  Pass built executable to script as
55428         $(built-program-cmd).
55429         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
55430         $testprogram without using LD_LIBRARY_PATH and $ldso.
55432         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
55433         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
55434         $(rtld-installed-name).
55435         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
55436         (rtld_installed_name): Likewise.
55437         (library_path): Likewise.
55438         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
55439         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
55440         $(run-program-prefix) to tst-tables.sh.
55441         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
55442         it to run tst-table-from and tst-table-to.
55443         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
55444         Pass it to tst-table.sh.
55445         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
55446         $(run-program-prefix) to tst-gettext.sh.
55447         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
55448         tst-translit.sh.
55449         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
55450         tst-gettext2.sh.
55451         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
55452         to run tst-gettext.
55453         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
55454         to run tst-gettext2.
55455         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
55456         to run tst-translit.
55457         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
55458         $(run-program-prefix) to tst-mtrace.sh.
55459         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
55460         to run tst-mtrace.
55461         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
55462         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
55463         $(rtld-installed-name).
55464         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
55465         (rtld_installed_name): Likewise.
55466         (run_program_prefix): New variable.  Use it to run wordexp-test.
55468         * Makeconfig (ARCH): Remove all definitions.
55469         (machine): Likewise.
55470         [ARCH]: Remove conditional code.
55471         [!objdir]: Give error.
55472         [!objdir] (objpfx): Remove.
55473         [!objdir] (common-objpfx): Likewise.
55474         [!objdir] (common-objdir): Likewise.
55475         * configure.in (config_makefile): Remove.  Hardcode Makefile in
55476         AC_CONFIG_FILES call.
55477         * configure: Regenerated.
55479         [BZ #13888]
55480         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
55481         or TMPDIR.
55482         (testout): Likewise.
55484         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
55485         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
55486         $(rtld-installed-name).
55487         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
55488         (rtld_installed_name): Likwise.
55489         (runit): Remove function.
55490         (run_getconf): New variable,  Use it for running getconf binary.
55492 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
55494         [BZ #14716]
55495         * string/test-memmem.c (check_result): New function.
55496         (do_one_test): Use it.
55497         (check1): New function.
55498         (test_main): Use it.
55500 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
55502         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
55504 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
55506         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
55507         (_G_LSEEK64): Likewise.
55508         (_G_MMAP64): Likewise.
55509         (_G_FSTAT64): Likewise.
55510         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
55511         (_G_LSEEK64): Likewise.
55512         (_G_MMAP64): Likewise.
55513         (_G_FSTAT64): Likewise.
55514         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
55515         unconditional.  Call __mmap64 directly.
55516         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
55517         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
55518         __lseek64 directly.
55519         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
55520         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
55521         __mmap64 directly.
55522         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
55523         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55524         __lseek64 directly.
55525         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
55526         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55527         __lseek64 directly.
55528         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
55529         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
55530         __lseek64 directly.
55531         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
55532         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
55533         __fxstat64 directly.
55534         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
55535         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
55536         unconditional.
55537         (freopen64) [!_G_OPEN64]: Remove conditional code.
55538         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
55539         unconditional.
55540         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
55541         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
55542         unconditional.
55543         (ftello64) [!_G_LSEEK64]: Remove conditional code.
55544         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
55545         unconditional.
55546         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55547         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
55548         unconditional.
55549         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
55550         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
55551         unconditional.
55552         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55553         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
55554         unconditional.
55555         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55556         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
55557         unconditional.
55558         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55560 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55562         [BZ #12140]
55563         * manual/memory.texi (Malloc Tunable Parameters): Add note
55564         about free list pointers overwriting some perturb bytes.
55565         Wording suggested by Roland McGrath.
55567 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
55569         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
55570         (lgamma_test): Likewise.
55571         (tgamma_test): Likewise.
55573 2012-10-16  Florian Weimer  <fweimer@redhat.com>
55575         [BZ #14700]
55576         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
55577         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
55579 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
55581         * NEWS: Mention BZ #14716.
55582         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
55583         when removing AVAILABLE1_USES_J macro.
55585 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
55587         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
55588         (__bswap_64): __uint64_t for unsigned 64-bit int.
55590 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
55592         * include/string.h (memmem): Declare libc hidden alias.
55593         * string/memmem.c (memmem): Define libc hidden alias.
55594         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
55595         __read, __close instead of open, read, close.
55597 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
55599         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
55600         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
55601         global and hidden.
55602         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
55603         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
55604         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
55605         Likewise.
55606         (__rawmemchr_sse2): Likewise.
55607         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
55608         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
55609         (__strchr_sse2): Likewise.
55610         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
55611         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
55612         (__strcasecmp_sse2): Likewise.
55613         (__strncasecmp_sse2): Likewise.
55614         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
55615         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
55616         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
55617         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
55618         (__strrchr_sse2): Likewise.
55619         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
55620         ifunc-impl-list.c.
55621         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
55622         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
55623         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
55624         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55625         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
55626         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
55627         * sysdeps/x86_64/multiarch/memset.S: Likewise.
55628         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
55629         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
55630         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
55631         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
55632         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
55633         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
55634         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
55635         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
55636         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55637         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
55638         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
55639         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
55640         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
55641         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
55642         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
55643         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
55644         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55645         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
55646         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55647         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
55648         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55649         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
55650         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
55652         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
55653         global and hidden.
55654         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
55655         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
55656         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
55657         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
55658         Likewise.
55659         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
55660         Likewise.
55661         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
55662         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
55663         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
55664         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
55665         ifunc-impl-list.c.
55666         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55667         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55668         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55669         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55670         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55671         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55672         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55673         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55674         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55675         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55676         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55677         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55678         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55679         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
55680         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
55681         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55682         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
55683         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
55684         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55685         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55686         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55687         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55688         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55689         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55690         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55691         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
55692         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
55693         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
55694         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
55695         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55696         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
55697         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55698         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55699         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
55700         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55701         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55702         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55703         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55704         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55705         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55706         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
55708         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
55709         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
55710         * include/ifunc-impl-list.h: New file.
55711         * misc/ifunc-impl-list.c: Likewise.
55712         * misc/Makefile (routines): Add ifunc-impl-list.
55713         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
55714         * string/test-string.h: Include <ifunc-impl-list.h>.
55715         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
55716         TEST_NAME]: New variables.
55717         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
55718         are defined.
55719         (test_init): Call __libc_ifunc_impl_list to initialize
55720         func_list if TEST_IFUNC and TEST_NAME are defined.
55722         * string/Makefile (strop-tests): Add bcopy and bzero.
55723         * string/test-bcopy.c: New file.
55724         * string/test-bzero.c: Likewise.
55725         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
55726         defined.
55727         * string/test-memset.c: Support bzero test if TEST_BZERO is
55728         defined.
55729         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
55730         __libc_memmove.
55731         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
55732         __libc_memset.
55733         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
55734         of memset.
55736 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
55738         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
55739         * configure: Regenerated.
55741         * Makeconfig (+link-static-before-libc): Don't include
55742         $(link-static-libc).
55744         * libio/libio.h (_IO_pos_t): Remove.
55746 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55748         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
55749         McGrath.
55751 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55753         * crypt/crypt-entry.c: Include fips-private.h.
55754         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
55755         * crypt/md5c-test.c (main): Tolerate disabled MD5.
55756         * sysdeps/unix/sysv/linux/fips-private.h: New file.
55757         * sysdeps/generic/fips-private.h: New file, dummy fallback.
55759 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55761         * crypt/crypt-private.h: Include stdbool.h.
55762         (_ufc_setup_salt_r): Return bool.
55763         * crypt/crypt-entry.c: Include errno.h.
55764         (__crypt_r): Return NULL with EINVAL for bad salt.
55765         * crypt/crypt_util.c (bad_for_salt): New.
55766         (_ufc_setup_salt_r): Check that salt is long enough and within
55767         the specified alphabet.
55768         * crypt/badsalttest.c: New file.
55769         * crypt/Makefile (tests): Add it.
55770         ($(objpfx)badsalttest): New.
55772 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
55774         * NEWS: Add entry for BZ #14602.
55776 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55778         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
55779         type-generic.
55780         * math/libm-test.inc: Update comment listing what functions and
55781         macros are tested.
55782         (isgreater_test): New function.
55783         (isgreaterequal_test): Likewise.
55784         (isless_test): Likewise.
55785         (islessequal_test): Likewise.
55786         (islessgreater_test): Likewise.
55787         (isunordered_test): Likewise.
55788         (main): Call the new functions.
55790 2012-10-09  Roland McGrath  <roland@hack.frob.com>
55792         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
55793         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
55794         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
55795         * sysdeps/i386/configure: Regenerated.
55796         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
55797         * sysdeps/mach/configure: Regenerated.
55798         * sysdeps/mach/hurd/configure: Regenerated.
55799         * sysdeps/powerpc/configure: Regenerated.
55800         * sysdeps/powerpc/powerpc32/configure: Regenerated.
55801         * sysdeps/powerpc/powerpc64/configure: Regenerated.
55802         * sysdeps/s390/s390-32/configure: Regenerated.
55803         * sysdeps/s390/s390-64/configure: Regenerated.
55804         * sysdeps/sh/configure: Regenerated.
55805         * sysdeps/sparc/configure: Regenerated.
55806         * sysdeps/unix/sysv/linux/configure: Regenerated.
55807         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
55808         * sysdeps/x86_64/configure: Regenerated.
55810         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
55811         defined.  Don't check if MAP is NULL.
55813 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55815         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
55816         (_G_stat64): Likewise.
55817         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
55818         (_G_stat64): Likewise.
55819         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
55820         instead of struct _G_stat64.
55821         * libio/fileops.c (mmap_remap_check): Likewise.
55822         (decide_maybe_mmap): Likewise.
55823         (_IO_new_file_seekoff): Likewise.
55824         (_IO_file_stat): Likewise.
55825         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
55826         _G_off64_t.
55827         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
55828         instead of struct _G_stat64.
55829         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55831 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
55833         [BZ #14602]
55834         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55835         Replace with ...
55836         (CHECK_EOL): New macro.
55837         (two_way_short_needle): Check beginning of haystack for EOL.  Use
55838         CHECK_EOL.
55839         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55840         Replace with CHECK_EOL.
55841         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55842         Replace with CHECK_EOL.
55844 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
55846         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
55847         type-generic.
55848         * math/libm-test.inc: Update comment listing what functions and
55849         macros are tested.
55850         (finite_test): New function.
55851         (isinf_test): Likewise.
55852         (isnan_test): Likewise.
55853         (fpclassify_test): Test subnormal input.
55854         (isfinite_test): Likewise.
55855         (isnormal_test): Likewise.
55856         (main): Call the new functions.
55858 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
55860         [BZ #14660]
55861         * Makerules (%.dynsym): Force C locale when running
55862         $(OBJDUMP) --dynamic-syms.
55864 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
55866         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
55867         <stdint.h>.
55869 2012-10-06  David S. Miller  <davem@davemloft.net>
55871         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
55872         upper 32-bits of the length value in %o2 since we use branch-on-register
55873         tests which consider the entire 64-bit register.
55875 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
55877         * string/test-strstr.c (check2): Add a test for page boundary.
55879 2012-10-05  David S. Miller  <davem@davemloft.net>
55881         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
55882         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
55883         file.
55884         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55885         sysdep_routines.
55886         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55887         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
55888         and bzero when HWCAP_SPARC_CRYPTO is present.
55890 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
55892         [BZ #14602]
55893         * string/test-strstr.c (check2): New function.
55894         (test_main): Call check2.
55896         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
55897         and bug-strchr1.
55898         * string/bug-strcasestr1.c (do_test): Moved to ...
55899         * string/test-strcasestr.c (check1): Here.  New function.
55900         (do_one_test): Break out result checking code into ...
55901         (check_result): This.  New function.
55902         (do_one_test): Call check_result.
55903         (test_main): Call check1.
55904         * string/bug-strchr1.c (do_test): Moved to ...
55905         * string/test-strchr.c (check1): Here.  New function.
55906         (do_one_test): Break out result checking code into ...
55907         (check_result): This.  New function.
55908         (do_one_test): Call check_result.
55909         (test_main): Call check1.
55910         * string/bug-strstr1.c (main): Moved to ...
55911         * string/test-strstr.c (check1): Here.  New function.
55912         (do_one_test): Break out result checking code into ...
55913         (check_result): This.  New function.
55914         (do_one_test): Call check_result.
55915         (test_main): Call check1.
55916         * string/bug-strcasestr1.c: Removed.
55917         * string/bug-strchr1.c: Likewise.
55918         * string/bug-strstr1.c: Likewise.
55920         * elf/Makefile (dl-routines): Add hwcaps.
55921         * elf/dl-support.c (_dl_important_hwcaps): Removed.
55922         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
55923         (_dl_important_hwcaps): Moved to ...
55924         * elf/dl-hwcaps.c: Here.  New file.
55925         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
55927         [BZ #14557]
55928         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
55929         if IS_IN_rtld isn't defined.
55931         * elf/dl-support.c (_dl_sysinfo_map): New.
55932         Include "get-dynamic-info.h" and "setup-vdso.h".
55933         (_dl_non_dynamic_init): Call setup_vdso.
55934         * elf/dynamic-link.h: Don't include <assert.h>.
55935         (elf_get_dynamic_info): Moved to ...
55936         * elf/get-dynamic-info.h: Here.  New file.
55937         * elf/dynamic-link.h: Include "get-dynamic-info.h".
55938         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
55939         * elf/setup-vdso.h: Here.  New file.
55940         * elf/rtld.c: Include "setup-vdso.h".
55941         (dl_main): Call setup_vdso.
55943 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
55945         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
55946         creal in comment listing functions tested.  List finite, isinf,
55947         isnan, isless, islessequal, isgreater, isgreaterequal,
55948         islessgreater, isunordered, lgamma_r and pow10 as functions and
55949         macros not tested.  Mention which functions not tested are aliases
55950         for other functions.  Fix typo.  Note that signs of NaNs are not
55951         tested.
55953         * scripts/config.guess: Update from config.git.
55954         * scripts/config.sub: Likewise.
55956 2012-10-04  Roland McGrath  <roland@hack.frob.com>
55958         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
55959         * misc/madvise.c (madvise): Renamed to __madvise.
55960         Make madvise a weak alias.
55961         * include/sys/mman.h: Declare __madvise.
55962         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
55963         * sysdeps/unix/syscalls.list
55964         (madvise): Make __madvise the strong name, and madvise a weak alias.
55965         * sysdeps/unix/sysv/linux/syscalls.list
55966         (madvise, mmap): Remove redundant entries.
55967         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
55968         * malloc/malloc.c (mtrim): Likewise.
55969         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
55971 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55973         * sysdeps/mach/hurd/dl-cache.c: File removed.
55974         * config.h.in (USE_LDCONFIG): New #undef.
55975         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
55976         * configure: Regenerated.
55977         * elf/Makefile (dl-routines): Add dl-cache only under
55978         [$(use-ldconfig) = yes].
55979         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
55980         cache on [USE_LDCONFIG].
55981         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
55982         [USE_LDCONFIG].
55983         * elf/rtld.c (dl_main): Likewise.
55985 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
55987         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
55988         _SC_LEVEL4_CACHE_LINESIZE.
55990 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55992         * sysdeps/unix/bsd/confstr.h: File removed.
55994 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
55996         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
55997         sys/sdt-config.h.
55999 2012-10-02  Roland McGrath  <roland@hack.frob.com>
56001         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
56002         Make 'mapoff' field ElfW(Off) rather than off_t.
56004 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
56006         * nscd/Makefile: Remove nscd-cflags and all its users.
56007         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
56008         (CFLAGS-nonlib): Add compiler flags for nscd modules.
56010         [BZ #10631]
56011         * malloc.c (malloc_printerr): Clarify error message.
56013 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
56015         [BZ #14648]
56016         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56017         Set bit_FMA_Usable if FMA is supported.
56018         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
56019         macro.
56020         (bit_FMA4_Usable): Updated.
56021         (index_FMA_Usable): New macro.
56022         (CPUID_FMA): Likewise.
56023         (HAS_FMA): Defined with bit_FMA_Usable.
56025 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56027         * bits/types.h (__swblk_t): Type removed.
56028         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
56029         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
56030         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56031         (__SWBLK_T_TYPE): Likewise.
56032         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56033         (__SWBLK_T_TYPE): Likewise.
56034         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56035         (__SWBLK_T_TYPE): Likewise.
56036         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56037         (__SWBLK_T_TYPE): Likewise.
56039 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
56040             Honza Horak <hhorak@redhat.com>
56042         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
56043         (xdr_mapname): Use YPMAXMAP as maxsize.
56044         (xdr_peername): Use YPMAXPEER as maxsize.
56045         (xdr_keydat): Use YPAXRECORD as maxsize.
56046         (xdr_valdat): Use YPMAXRECORD as maxsize.
56048 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56050         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
56052         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
56053         * csu/init-first.c: ... here.
56054         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
56055         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
56056         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
56057         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
56058         * sysdeps/i386/init-first.c: File removed.
56059         * sysdeps/sh/init-first.c: File removed.
56061 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
56063         [BZ #14645]
56064         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
56065         if x * y might underflow to zero and z is zero.
56066         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56067         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56068         * math/libm-test.inc (min_subnorm_value): New variable.
56069         (fma_test): Add more tests.
56070         (fma_test_towardzero): Likewise.
56071         (fma_test_downward): Likewise.
56072         (fma_test_upward): Likewise.
56073         (initialize): Set min_subnorm_value.
56075 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
56077         [BZ #14638]
56078         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
56079         0 + 0.
56080         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
56081         mode for addition resulting in exact zero.
56082         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
56083         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
56084         exact 0 + 0.
56085         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56086         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56087         * math/libm-test.inc (fma_test): Add more tests.
56088         (fma_test_towardzero): New function.
56089         (fma_test_downward): Likewise.
56090         (fma_test_upward): Likewise.
56091         (main): Call the new functions.
56093 2012-09-28  David S. Miller  <davem@davemloft.net>
56095         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
56097 2012-09-28  Roland McGrath  <roland@hack.frob.com>
56099         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
56100         instead of SIGALRM.
56102         * sysdeps/gnu/_G_config.h: Moved to ...
56103         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
56104         * sysdeps/mach/hurd/_G_config.h: Moved to ...
56105         * sysdeps/generic/_G_config.h: ... here.
56107         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
56109         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
56111         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
56112         Conditionalize target on [libnss_test1.so-version].
56114         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
56116         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
56117         (elfobjdir): Move out of conditionals.
56119         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
56120         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
56121         (__nss_lookup_function): Conditionalize label remove_from_tree on
56122         [!DO_STATIC_NSS || SHARED], matching its only use.
56124 2012-09-28  David S. Miller  <davem@davemloft.net>
56126         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
56127         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
56128         file.
56129         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56130         sysdep_routines.
56131         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56132         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
56133         when HWCAP_SPARC_CRYPTO is present.
56135 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56137         * io/tst-mknodat.c: Create a FIFO instead of a socket.
56139 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
56141         [BZ #6530]
56142         * stdio-common/vfprintf.c (process_string_arg): Revert
56143         2000-07-22 change.
56145 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
56147         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
56148         for testcase.
56149         * stdio-common/tst-sprintf.c: Include <locale.h>
56150         (main): Test sprintf's handling of incomplete multibyte
56151         characters.
56153 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
56155         * elf/dl-runtime.c (VERSYMIDX): Removed.
56156         * elf/dl-version.c (VERSYMIDX): Likewise.
56157         * elf/do-rel.h (VERSYMIDX): Likewise.
56158         (VALIDX): Likewise.
56159         * elf/dynamic-link.h (VERSYMIDX): Likewise.
56160         * elf/rtld.c (VALIDX): Likewise.
56161         (ADDRIDX): Likewise.
56162         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
56163         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
56164         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
56165         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
56166         (VALIDX): Likewise.
56167         (ADDRIDX): Likewise.
56169 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56171         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
56173 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
56175         [BZ #11438]
56176         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
56177         to global scope.
56178         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
56179         addresses are in the same scope as 192.0.2/24.
56180         * posix/gai.conf: Document new scope table defaults.
56182 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56184         [BZ #5298]
56185         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
56186         for ftell.  Compute offsets from write pointers instead.
56187         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56189 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56191         [BZ #14543]
56192         * libio/Makefile (tests): New test case tst-fseek.
56193         * libio/tst-fseek.c: New test case to verify that fseek/ftell
56194         combination works in wide mode.
56195         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
56196         state when the external buffer state changes.
56198 2012-09-27  David S. Miller  <davem@davemloft.net>
56200         [BZ #14376]
56201         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
56202         pass reloc->r_addend in as the 'high' argument to
56203         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
56205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56207 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56209         * rt/tst-aio2.c: Include <pthread.h>.
56210         * rt/tst-aio3.c: Likewise.
56212 2012-09-27  Steve Ellcey  <sellcey@mips.com>
56214         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
56216 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
56218         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
56219         contents on [SHARED].
56221 2012-09-26  Marek Polacek  <polacek@redhat.com>
56223         [BZ #14530]
56224         [BZ #13741]
56225         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
56226         for C++ and GCC <4.3 as well as for non GCC compilers.
56228 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
56230         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56232 2012-09-25  Roland McGrath  <roland@hack.frob.com>
56234         * Makefile.in (all, install): Declare with .PHONY.
56235         Reported by Michael Hope <michael.hope@linaro.org>.
56237 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56239         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
56240         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
56241         system header.
56242         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
56243         Likewise.
56244         (sydep_routines): Add the new and the internal functions.
56245         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
56246         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
56247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
56248         (GLIBC_2.17): Add the new function.
56249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56250         (GLIBC_2.17): Likewise.
56251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
56252         (GLIBC_2.17): Likewise.
56253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
56254         (GLIBC_2.17): Likewise.
56255         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
56257 2012-09-25  Alan Modra  <amodra@gmail.com>
56259         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
56260         Add release barrier before setting once_control to say
56261         initialisation is done.  Add hints on lwarx.  Use macro in
56262         place of isync.
56263         (clear_once_control): Add release barrier.
56265 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56267         [BZ #13629]
56268         * math/s_clog.c (__clog): Handle more values close to |z| = 1
56269         specially.
56270         * math/s_clog10.c (__clog10): Likewise.
56271         * math/s_clog10f.c (__clog10f): Likewise.
56272         * math/s_clog10l.c (__clog10l): Likewise.
56273         * math/s_clogf.c (__clogf): Likewise.
56274         * math/s_clogl.c (__clogl): Likewise.
56275         * math/Makefile (libm-calls): Add x2y2m1.
56276         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
56277         (__x2y2m1): Likewise.
56278         (__x2y2m1l): Likewise.
56279         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
56280         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
56281         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
56282         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56283         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
56284         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
56285         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
56286         * sysdeps/i386/fpu/libm-test-ulps: Update.
56287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56289         [BZ #14621]
56290         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
56291         int as type of variable DEPTH.
56292         (glob): Use size_t instead of int as type of variables NEWCOUNT
56293         and OLD_PATHC.
56295 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56297         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56298         Add s_sincosf-sse2.
56299         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
56300         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
56301         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
56302         macros for using routine as __sincosf_ia32.
56303         Use macro for function declaration and weak_alias.
56304         * sysdeps/i386/fpu/libm-test-ulps: Update.
56306         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
56307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56309         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
56310         subnormal argument.
56311         * math/s_cexpf.c (__cexpf): Likewise.
56312         * math/s_csinf.c (__csinf): Likewise.
56313         * math/s_csinhf.c (__csinhf): Likewise.
56314         * math/s_ctanf.c (__ctanf): Likewise.
56315         * math/s_ctanhf.c (__ctanhf): Likewise.
56316         * math/s_ccosh.c (__ccoshf): Likewise.
56317         * math/s_cexp.c (__cexpl): Likewise.
56318         * math/s_csin.c (__csin): Likewise.
56319         * math/s_csinh.c (__csinh): Likewise.
56320         * math/s_ctan.c (__ctan): Likewise.
56321         * math/s_ctanh.c (ctanh): Likewise.
56322         * math/s_ccoshl.c (__ccoshl): Likewise.
56323         * math/s_cexpl.c (__cexpl): Likewise.
56324         * math/s_csinl.c (__csinl): Likewise.
56325         * math/s_csinhl.c (__csinhl): Likewise.
56326         * math/s_ctanl.c (__ctanl): Likewise.
56327         * math/s_ctanhl.c (__ctanhl): Likewise.
56329 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56331         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
56332         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
56333         (_IO_off_t): Define to __off_t, not _G_off_t.
56334         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
56335         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
56336         (_IO_wint_t): Define to wint_t, not _G_wint_t.
56337         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
56338         type of __dummy and __dummy2 fields.
56339         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
56340         (_G_ssize_t): Likewise.
56341         (_G_off_t): Likewise.
56342         (_G_pid_t): Likewise.
56343         (_G_uid_t): Likewise.
56344         (_G_wchar_t): Likewise.
56345         (_G_wint_t): Likewise.
56346         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
56347         (_G_ssize_t): Likewise.
56348         (_G_off_t): Likewise.
56349         (_G_pid_t): Likewise.
56350         (_G_uid_t): Likewise.
56351         (_G_wchar_t): Likewise.
56352         (_G_wint_t): Likewise.
56353         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
56354         (_G_ssize_t): Likewise.
56355         (_G_off_t): Likewise.
56356         (_G_pid_t): Likewise.
56357         (_G_uid_t): Likewise.
56358         (_G_wchar_t): Likewise.
56359         (_G_wint_t): Likewise.
56361 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56363         * malloc/arena.c: Include malloc-sysdep.h.
56364         (shrink_heap): Use check_may_shrink_heap to decide if madvise
56365         is sufficient to shrink the heap or an unmap is needed.
56366         * sysdeps/generic/malloc-sysdep.h: New file.  Define
56367         new function check_may_shrink_heap.
56368         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
56369         new function check_may_shrink_heap.
56371 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56373         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
56374         comments.
56376 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
56378         * catgets/test-gencat.sh: Add "set -e".
56379         * elf/tst-pathopt.sh: Likewise.
56380         * grp/tst_fgetgrent.sh: Likewise.
56381         * iconvdata/run-iconv-test.sh: Likewise.
56382         * intl/tst-gettext.sh: Likewise.
56383         * intl/tst-gettext2.sh: Likewise.
56384         * intl/tst-gettext4.sh: Likewise.
56385         * intl/tst-gettext6.sh: Likewise.
56386         * intl/tst-translit.sh: Likewise.
56387         * io/ftwtest-sh: Likewise.
56388         * libio/test-freopen.sh: Likewise.
56389         * malloc/tst-mtrace.sh: Likewise.
56390         * posix/globtest.sh: Likewise.
56391         * posix/tst-getconf.sh: Likewise.
56392         * posix/wordexp-tst.sh: Likewise.
56393         * stdio-common/tst-printf.sh: Likewise.
56394         * stdio-common/tst-unbputc.sh: Likewise.
56395         * stdlib/tst-fmtmsg.sh: Likewise.
56396         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56397         * catgets/Makefile: Do not specify -e option when running
56398         testsuite shell scripts.
56399         * elf/Makefile: Likewise.
56400         * grp/Makefile: Likewise.
56401         * iconvdata/Makefile: Likewise.
56402         * intl/Makefile: Likewise.
56403         * io/Makefile: Likewise.
56404         * libio/Makefile: Likewise.
56405         * malloc/Makefile: Likewise.
56406         * posix/Makefile: Likewise.
56407         * stdio-common/Makefile: Likewise.
56408         * stdlib/Makefile: Likewise.
56409         * sysdeps/x86_64/Makefile: Likewise.
56411         * io/ftwtest-sh: Add copyright header.
56412         * posix/globtest.sh: Likewise.
56413         * posix/tst-getconf.sh: Likewise.
56414         * posix/wordexp-tst.sh: Likewise.
56415         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56417 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
56419         [BZ #13679]
56420         * Makeconfig (+link): Defined as $(+link-static) if
56421         $(build-shared) isn't yes.
56422         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
56423         isn't yes.
56424         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
56426         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
56428         [BZ #14562]
56429         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
56430         new chunk size with MALLOC_ALIGN_MASK.
56432 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
56434         [BZ #5044]
56435         * stdio-common/printf_fphex.c: Include <stdbool.h> and
56436         <rounding-mode.h>.
56437         (__printf_fphex): Determine rounding using get_rounding_mode and
56438         round_away.
56439         * stdio-common/tst-printf-round.c (struct hex_test): New
56440         structure.
56441         (hex_tests): New variable.
56442         (test_hex_in_one_mode): New function.
56443         (do_test): Also run tests for hex float output.
56445 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
56447         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56448         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56449         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
56450         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56451         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56452         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
56453         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56454         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56456 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
56458         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
56459         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
56460         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
56461         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
56463 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
56465         [BZ #14579]
56466         * elf/rtld.c (dl_main): Limit the check for self loading to normal
56467         mode only.
56468         * elf/tst-rtld-load-self.sh: New test.
56469         * elf/Makefile: Run it.
56471 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
56473         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
56474         (tst-writev-ENV): Remove.
56475         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
56477 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
56479         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
56481 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
56483         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
56484         unconditional.
56485         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
56486         Likewise.
56487         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
56488         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
56489         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
56490         Likewise.
56492 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
56494         [BZ #14587]
56495         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
56496         * config.make.in (have-cpp-asm-debuginfo): Removed.
56497         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
56498         * configure: Regenerated.
56500 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
56502         [BZ #5044]
56503         * stdio-common/printf_fp.c: Include <stdbool.h> and
56504         <rounding-mode.h>.
56505         (___printf_fp): Determine rounding using get_rounding_mode and
56506         round_away.
56507         * stdio-common/tst-printf-round.c: New file.
56508         * stdio-common/Makefile (tests): Add tst-printf-round.
56509         (link-libm): New variable.
56510         ($(objpfx)tst-printf-round): Depend in $(link-libm).
56512 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
56514         [BZ #14576]
56515         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
56516         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
56517         Likewise.
56518         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
56519         Likewise.
56521 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
56523         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
56524         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56525         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56526         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56528 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
56530         [BZ #14518]
56531         * include/rounding-mode.h: New file.
56532         * sysdeps/generic/get-rounding-mode.h: Likewise.
56533         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
56534         * stdlib/strtod_l.c: Include <rounding-mode.h>.
56535         (MAX_VALUE): New macro.
56536         (MIN_VALUE): Likewise.
56537         (overflow_value): New function.
56538         (underflow_value): Likewise.
56539         (round_and_return): Use overflow_value and underflow_value to
56540         determine return values in overflow and underflow cases.  Use
56541         round_away to determine rounding depending on rounding mode.
56542         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
56543         determine return values in overflow and underflow cases.
56544         * stdlib/tst-strtod-round.c: Include <fenv.h>.
56545         (struct test_results): New structure.
56546         (struct test): Use struct test_results to store expected results
56547         for all rounding modes.
56548         (TEST): Include expected results for all rounding modes.
56549         (test_in_one_mode): New function.
56550         (do_test): Use test_in_one_mode to compute and check results.
56551         Check results for all rounding modes.
56552         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
56553         $(link-libm).
56555 2012-12-09  Allan McRae  <allan@archlinux.org>
56557         * sysdeps/i386/fpu/libm-test-ulps: Update
56559 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
56561         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
56562         (_G_int32_t): Likewise.
56563         (_G_uint16_t): Likewise.
56564         (_G_uint32_t): Likewise.
56565         (_G_HAVE_BOOL): Likewise.
56566         (_G_HAVE_ATEXIT): Likewise.
56567         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56568         (_G_HAVE_IO_FILE_OPEN): Likewise.
56569         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
56570         (_G_int32_t): Likewise.
56571         (_G_uint16_t): Likewise.
56572         (_G_uint32_t): Likewise.
56573         (_G_HAVE_BOOL): Likewise.
56574         (_G_HAVE_ATEXIT): Likewise.
56575         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56576         (_G_HAVE_IO_FILE_OPEN): Likewise.
56577         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
56578         (_G_int32_t): Likewise.
56579         (_G_uint16_t): Likewise.
56580         (_G_uint32_t): Likewise.
56581         (_G_HAVE_BOOL): Likewise.
56582         (_G_HAVE_ATEXIT): Likewise.
56583         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56584         (_G_HAVE_IO_FILE_OPEN): Likewise.
56586 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
56588         * csu/libc-tls.c: Update copyright years.
56590 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
56592         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
56593         [!_G_USING_THUNKS]: Remove conditional code.
56594         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
56595         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
56597         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
56598         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
56599         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56600         (_G_VTABLE_LABEL_PREFIX): Likewise.
56601         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56602         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56603         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56604         (_G_VTABLE_LABEL_PREFIX): Likewise.
56605         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56606         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56607         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56608         (_G_VTABLE_LABEL_PREFIX): Likewise.
56609         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56611 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
56613         * libio/Makefile: Include ../Makeconfig before tests.
56614         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
56615         only if $(build-shared) is yes.
56617         * iconv/gconv_db.c: Update copyright years.
56619 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56621         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
56622         unwind info if defined PIC. Fix special cases description.
56623         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
56625         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
56626         DP_HI_MASK entry.
56627         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
56629 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
56631         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
56633         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
56634         is NULL.
56636         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
56637         (LDLIBS-tst-chk4): This.
56638         (LDFLAGS-tst-chk5): Renamed to ...
56639         (LDLIBS-tst-chk5): This.
56640         (LDFLAGS-tst-chk6): Renamed to ...
56641         (LDLIBS-tst-chk6): This.
56642         (LDFLAGS-tst-lfschk4): Renamed to ...
56643         (LDLIBS-tst-lfschk4): This.
56644         (LDFLAGS-tst-lfschk5): Renamed to ...
56645         (LDLIBS-tst-lfschk5): This.
56646         (LDFLAGS-tst-lfschk6): Renamed to ...
56647         (LDLIBS-tst-lfschk6): This.
56649         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
56650         on $(common-objpfx)soversions.mk.
56652 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
56654         [BZ #10014]
56655         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
56656         example host name.
56658 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56660         * malloc/arena.c (arena_get_retry): New function that gets
56661         another arena for the caller to try its request on.
56662         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
56663         current arena cannot fulfill the request.
56664         (__libc_memalign): Likewise.
56665         (__libc_memalign): Likewise.
56666         (__libc_pvalloc): Likewise.
56667         (__libc_calloc): Likewise.
56669 2012-09-05  John Tobey  <john.tobey@gmail.com>
56671         [BZ #13542]
56672         * manual/arith.texi (Operations on Complex): Fix description
56673         of carg branch cut.
56675 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56677         [BZ #10014]
56678         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
56679         host name.
56681         [BZ #10038]
56682         * manual/memory.texi (Memory): Make order of menu items match
56683         order of sections.
56685 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56687         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
56688         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
56689         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
56691 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56693         * csu/libc-tls.c (static_dtv): Renamed to ...
56694         (_dl_static_dtv): This.  Make it global.
56695         (_dl_initial_dtv): Removed.
56696         (__libc_setup_tls): Updated.
56697         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
56698         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
56699         DL_INITIAL_DTV.
56701 2012-09-06  Petr Machata  <pmachata@redhat.com>
56703         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
56704         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
56705         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
56706         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
56708 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56710         [BZ #14545]
56711         * csu/libc-tls.c (_dl_initial_dtv): New variable.
56712         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
56713         freeing dtv[-1].
56715 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56717         [BZ #14544]
56718         * Makeconfig (link-static-before-libc): Replace $(+prector)
56719         with $(+prectorT).
56720         (link-static-after-libc): Replace $(+postctor) with
56721         $(+postctorT).
56722         (link-bounded): Replace $(+prector)/$(+postctor) with
56723         $(+prectorT)/$(+postctorT).
56724         (+prectorT): New macro.
56725         (+postctorT): Likewise.
56727 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56729         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
56730         (round_str): Handle values above the maximum for IBM long double
56731         as inexact.
56732         * stdlib/tst-strtod-round.c (tests): Regenerated.
56734 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56736         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
56737         assembler flag.
56738         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
56739         zarch_nohighgprs around the zarch optimized routines.
56740         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
56741         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
56742         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
56743         for zarch.
56745 2012-09-05  David S. Miller  <davem@davemloft.net>
56747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56749         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
56750         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
56751         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
56752         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56753         entries.
56755 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56757         * malloc/arena.c: Fold copyright years.
56758         * malloc/mcheck.c, malloc/memusage.c: Likewise.
56760 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56762         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
56764 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56766         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
56768 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56770         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
56771         change internal state upon failure.
56773 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56775         * malloc/mcheck.c (mcheck_check_all): Fix typo.
56776         * malloc/memusage.c (mmap): Likewise.
56777         (mmap64, mremap): Likewise.  Adjust name in comment.
56779 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56781         * libio/fileops.c: Fix typos in comments.
56782         * libio/oldfileops.c: Likewise.
56783         * libio/wfileops.c: Likewise.
56785 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56787         [BZ #1349]
56788         * malloc/Makefile (tests): Add tst-malloc-usable test case.
56789         (tst-malloc-usable-ENV): Set environment for test case.
56790         * malloc/hooks.c (malloc_check_get_size): New function to get
56791         requested size.
56792         * malloc/malloc.c (musable): Use malloc_check_get_size.
56793         * malloc/tst-malloc-usable.c: New test case.
56795 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56797         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
56799 2012-09-05  Allan McRae  <allan@archlinux.org>
56801         [BZ #13966]
56802         * configure.in (CXX_SYSINCLUDES): Use compiler output to
56803         determine header location.
56804         * configure: Regenerated.
56806 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56808         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
56809         float format.
56810         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
56811         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
56812         format.
56813         (test): Regenerate.
56815 2012-09-04  David S. Miller  <davem@davemloft.net>
56817         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
56818         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
56819         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
56821 2012-09-04  Florian Weimer  <fweimer@redhat.com>
56823         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
56824         failures.
56826         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
56828 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
56830         [BZ #9914]
56831         * libio/iogetdelim.c: Include <limits.h>.
56832         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
56833         + len + 1 would overflow.
56835 2012-09-03  Andreas Jaeger  <aj@suse.de>
56837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56838         * sysdeps/i386/fpu/libm-test-ulps: Update.
56840 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56842         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56843         Add s_sinf-sse2, s_conf-sse2.
56845         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
56846         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
56847         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
56848         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
56850         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
56851         for using routine as __sinf_ia32.
56852         Use macro for function declaration and weak_alias.
56853         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
56854         for using routine as __cosf_ia32.
56855         Use macro for function declaration and weak_alias.
56857         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
56858         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
56860         * sysdeps/x86_64/fpu/s_sinf.S: New file.
56861         * sysdeps/x86_64/fpu/s_cosf.S: New file.
56862         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56864         * math/libm-test.inc (cos_test): Add more test cases.
56865         (sin_test): Likewise.
56866         (sincos_test): Likewise.
56868 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56870         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
56871         (IFUNC_RESOLVE): Make pointers to the specialized implementations
56872         hidden.
56873         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56875 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
56877         [BZ #14538]
56878         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
56879         first element of the GOT.
56880         (elf_machine_load_address): Return the difference between
56881         the runtime address of _DYNAMIC and elf_machine_dynamic ().
56883 2012-09-01  Allan McRae  <allan@archlinux.org>
56885         [BZ #13412]
56886         * configure.in (AWK): Require gawk version 3.0 or later.
56887         * configure: Regenerated.
56889 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
56891         * sysdeps/unix/sysv/linux/kernel-features.h
56892         (__ASSUME_POSIX_CPU_TIMERS): Remove.
56893         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56894         [__NR_clock_getres]: Make code unconditional.
56895         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
56896         (clock_getcpuclockid): Remove code left unreachable by removal of
56897         conditionals.
56898         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
56899         code unconditional.
56900         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56901         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56902         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
56903         Make code unconditional.
56904         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56905         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56906         * sysdeps/unix/sysv/linux/clock_settime.c
56907         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
56908         conditional code.
56909         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
56910         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56912 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
56914         [BZ #14476]
56915         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
56916         scripts/test-installation.pl.
56918         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
56919         and $ld_so_version if it is set.
56921 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56923         [BZ #14516]
56924         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
56925         failure if reading from procfs failed.
56926         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
56928 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56930         * sysdeps/unix/sysv/linux/kernel-features.h
56931         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
56932         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56933         Remove conditional code.
56934         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56935         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
56936         Remove conditional code.
56937         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56938         * sysdeps/unix/sysv/linux/i386/fxstat.c
56939         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56940         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56941         * sysdeps/unix/sysv/linux/i386/fxstatat.c
56942         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56943         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56944         * sysdeps/unix/sysv/linux/i386/lxstat.c
56945         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56946         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56947         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
56948         Remove conditional code.
56949         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56950         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56951         Remove conditional code.
56952         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56953         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
56954         <kernel-features.h>.
56955         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
56956         Remove.
56957         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
56958         Remove conditional code.
56959         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56960         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
56961         Remove conditional.
56963 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
56965         [BZ #5400]
56966         * NEWS: Add fixed bug number.
56968 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56970         [BZ #14519]
56971         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
56972         underflowing exponent in case of negative sign.
56973         * stdlib/tst-strtod-round-data: Add more tests.
56974         * stdlib/tst-strtod-round.c (tests): Regenerated.
56976         [BZ #3479]
56977         * stdlib/strtod_l.c (NDIG): Remove.
56978         (HEXNDIG): Likewise.
56979         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
56980         smallest representable value.
56981         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
56982         lie within an exact representation of 1/2 ulp of the result.
56983         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
56984         unconditionally.
56985         (TENS_P9_IDX): Define unconditionally.
56986         (TENS_P9_SIZE): Likewise.
56987         (TENS_P10_IDX): Likewise.
56988         (TENS_P10_SIZE): Likewise.
56989         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
56990         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
56991         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
56992         entries for 10^2^13 and 10^2^14.
56993         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
56994         (TENS_P13_IDX): Define.
56995         (TENS_P13_SIZE): Likewise.
56996         (TENS_P14_IDX): Likewise.
56997         (TENS_P14_SIZE): Likewise.
56998         (_fpioconst_pow10): Change array size to
56999         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
57000         unconditional.
57001         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
57002         1024]: Add entries for 10^2^13 and 10^2^14.
57003         [LAST_POW10 > _LAST_POW10]: Remove #error.
57004         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
57005         (_fpioconst_pow10): Change array size to
57006         FPIOCONST_POW10_ARRAY_SIZE.
57007         * stdlib/gen-fpioconst.c: New file.
57008         * stdlib/gen-tst-strtod-round.c: Likewise.
57009         * stdlib/tst-strtod-round-data: Likewise.
57010         * stdlib/tst-strtod-round.c: Likewise.
57011         * stdlib/Makefile (tests): Add tst-strtod-round.
57013         [BZ #14459]
57014         * stdlib/strtod_l.c: Include <stdint.h>.
57015         (NDEBUG): Do not define.
57016         (round_and_return): Change EXPONENT parameter to type intmax_t.
57017         Rearrange calculations to avoid internal overflow possibilities.
57018         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
57019         Rearrange calculations to avoid internal overflow possibilities.
57020         Assert that number fits inside MPNSIZE limbs.
57021         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
57022         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
57023         calculations and add assertions to avoid internal overflow
57024         possibilities.  Add casts to avoid signed/unsigned operations.
57025         * stdlib/tst-strtod-overflow.c: New file.
57026         * stdlib/Makefile (tests): Add tst-strtod-overflow.
57028 2012-08-25  Marek Polacek  <polacek@redhat.com>
57030         * time/time.h: Fix some typos in comments.
57032 2012-08-23  Roland McGrath  <roland@hack.frob.com>
57034         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
57035         * posix/tst-rfc3484-2.c: Likewise.
57036         * posix/tst-rfc3484-3.c: Likewise.
57038 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
57040         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
57041         (EF_ARM_ABI_FLOAT_HARD): Likewise.
57043 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
57045         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
57046         #include of fxstatat64.c.
57048 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57050         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
57051         * shadow/getspent_r.c: Likewise.
57052         * shadow/getspnam.c: Likewise.
57053         * shadow/getspnam_r.c: Likewise.
57054         * gshadow/getsgent.c: Likewise.
57055         * gshadow/getsgent_r.c: Likewise.
57056         * gshadow/getsgnam.c: Likewise.
57057         * gshadow/getsgnam_r.c: Likewise.
57058         * inet/getnetbyad.c: Likewise.
57059         * inet/getnetbyad_r.c: Likewise.
57060         * inet/getnetbynm.c: Likewise.
57061         * inet/getnetbynm_r.c: Likewise.
57062         * inet/getnetent.c: Likewise.
57063         * inet/getnetent_r.c: Likewise.
57064         * inet/getproto.c: Likewise.
57065         * inet/getproto_r.c: Likewise.
57066         * inet/getprtent.c: Likewise.
57067         * inet/getprtent_r.c: Likewise.
57068         * inet/getprtname.c: Likewise.
57069         * inet/getprtname_r.c: Likewise.
57070         * inet/getrpcbyname.c: Likewise.
57071         * inet/getrpcbyname_r.c: Likewise.
57072         * inet/getrpcbynumber.c: Likewise.
57073         * inet/getrpcbynumber_r.c: Likewise.
57074         * inet/getrpcent.c: Likewise.
57075         * inet/getrpcent_r.c: Likewise.
57076         * inet/getaliasent.c: Likewise.
57077         * inet/getaliasent_r.c: Likewise.
57078         * inet/getaliasname.c: Likewise.
57079         * inet/getaliasname_r.c: Likewise.
57080         * nscd/getgrgid_r.c: Likewise.
57081         * nscd/getgrnam_r.c: Likewise.
57082         * nscd/gethstbyad_r.c: Likewise.
57083         * nscd/gethstbynm3_r.c: Likewise.
57084         * nscd/getpwnam_r.c: Likewise.
57085         * nscd/getpwuid_r.c: Likewise.
57086         * nscd/getsrvbynm_r.c: Likewise.
57087         * nscd/getsrvbypt_r.c: Likewise.
57088         * nscd/gai.c: Likewise.
57090         * configure.in (build_nscd): New substituted variable, set
57091         by --disable-build-nscd and defaults to $use_nscd.
57092         * configure: Regenerated.
57093         * config.make.in (build-nscd): New substituted variable.
57094         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
57095         Change conditional to require [$(build-nscd) = yes] as well.
57096         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
57098         [BZ# 13696]
57099         * configure.in (use_nscd): New substituted variable, set by
57100         --disable-nscd.  If enabled, define USE_NSCD.
57101         * configure: Regenerated.
57102         * config.h.in: Add USE_NSCD.
57103         * config.make.in (use-nscd): New substituted variable.
57104         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
57105         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
57106         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
57107         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
57108         (CFLAGS-getgrnam_r.c): Likewise.
57109         (CFLAGS-initgroups.c): Likewise.
57110         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
57111         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
57112         Variables removed.
57113         * inet/getnetgrent_r.c
57114         (nscd_setnetgrent): New function, broken out of ...
57115         (setnetgrent): ... here.  Call it.
57116         (innetgr): Conditionalize nscd bits on [USE_NSCD].
57117         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
57118         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
57119         * nscd/Makefile (routines, aux): Move definitions after include of
57120         Makeconfig.  Conditionalize on [$(use-nscd) != no].
57121         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
57122         Conditionalize on [USE_NSCD].
57123         (is_nscd, nscd_init_cb): Likewise.
57124         (nss_load_library): Conditionalize init callback on [USE_NSCD].
57125         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
57126         * nss/nss_db/db-init.c: Likewise.
57127         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
57128         [USE_NSCD].
57129         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
57130         (make_request): Use it.
57131         (cache_valid_p): New function.
57132         (__check_pf): Use it.
57133         * NEWS: Add item for --disable-nscd.
57135 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
57137         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
57138         to support sed >= 4.2.1-20-ga9bf076.
57139         * configure: Regenerated.
57141 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57143         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
57144         Conditionalize whole body on [IREL].
57146 2012-08-22  Jeff Law <law@redhat.com>
57148         [BZ #14505]
57149         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
57150         if the family is PF_UNSPEC.
57152 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
57154         * Makerules (lib-version): Rename from V.
57155         (install-lib-nosubdir): Change V to lib-version.
57157 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
57159         [BZ #14252]
57160         * powerpc32/power6/wcschr.c: New file.
57161         * powerpc32/power6/wcscpy.c: New file.
57162         * powerpc32/power6/wcsrchr.c: New file.
57163         * powerpc64/power6/wcschr.c: New file.
57164         * powerpc64/power6/wcscpy.c: New file.
57165         * powerpc64/power6/wcsrchr.c: New file.
57167 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57169         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
57170         (two_way_short_needle): Use it.
57171         * string/strstr.c (AVAILABLE1_USES_J): Define.
57172         * string/strcasestr.c: Likewise.
57174         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
57175         array references.
57176         * string/strcasestr.c (TOLOWER): Make side-effect safe.
57178         [BZ #11607]
57179         * NEWS: Add an entry.
57180         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
57181         define their defaults.
57182         (two_way_short_needle): Detect end-of-string on-the-fly.
57183         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
57184         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
57185         * string/bug-strcasestr1.c: New test.
57186         * string/Makefile: Run it.
57188 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57190         [BZ #11607]
57191         * string/str-two-way.h (two_way_short_needle): Optimize matching of
57192         the first character.
57194 2012-08-21  Roland McGrath  <roland@hack.frob.com>
57196         * csu/elf-init.c (__libc_csu_irel): Function removed.
57197         * csu/libc-start.c (apply_irel): New function.
57198         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
57200 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
57202         * sysdeps/unix/sysv/linux/kernel-features.h
57203         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
57204         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57205         <kernel-features.h>.
57206         [__NR_fadvise64_64]: Make code unconditional.
57207         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
57208         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57209         !__NR_fadvise64_64)]: Likewise.
57210         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57211         !__NR_fadvise64_64))]: Likewise.
57212         [__NR_fadvise64]: Make code unconditional.
57213         [!__NR_fadvise64]: Remove conditional code.
57214         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
57215         <kernel-features.h>.
57216         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57217         unconditional.
57218         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57219         conditional code.
57220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
57221         not include <kernel-features.h>.
57222         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57223         unconditional.
57224         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57225         conditional code.
57226         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
57227         include <kernel-features.h>.
57228         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57229         unconditional.
57230         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57231         conditional code.
57233 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57235         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
57236         slight instruction rearrangements per scrollpipe analysis.
57237         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57239 2012-08-20  Roland McGrath  <roland@hack.frob.com>
57241         * manual/syslog.texi (syslog; vsyslog, closelog):
57242         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
57243         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
57245         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
57246         DSOCAPS to match condition on defining it.
57248 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
57250         * sysdeps/unix/sysv/linux/kernel-features.h
57251         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
57252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
57253         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57254         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
57256         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57257         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
57259         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57260         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57262         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
57263         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
57265         * sysdeps/unix/sysv/linux/kernel-features.h
57266         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
57267         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
57268         unconditional.
57269         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57270         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
57271         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57272         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57273         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
57274         Make code unconditional.
57275         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57276         (__mmap64) [!__NR_mmap2]: Likewise.
57277         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
57278         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57279         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57280         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
57281         [__NR_mmap2]: Make code unconditional.
57282         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57283         (__mmap64) [!__NR_mmap2]: Likewise.
57285 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57287         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
57289 2012-08-18  Andreas Jaeger  <aj@suse.de>
57291         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
57293 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57295         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
57296         * include/unistd.h (__have_sock_cloexec): Likewise.
57297         (__have_pipe2): Likewise.
57298         (__have_dup3): Likewise.
57300 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57302         [BZ #9685]
57303         * include/unistd.h (__have_pipe2): Change define into an extern int.
57304         (__have_dup3): Likewise.
57305         * socket/have_sock_cloexec.c: Include fcntl.h.
57306         (__have_pipe2): New variable.
57307         (__have_dup3): Likewise.
57309 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
57311         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
57313 2012-08-17  Marek Polacek  <polacek@redhat.com>
57315         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
57316         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
57318 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57320         * configure.in: Add AC_SUBST for sysheaders.
57321         * configure: Regenerated.
57322         * config.make.in (sysheaders): New substituted variable.
57324         * sysdeps/unix/mkfifo.c: Moved ...
57325         * sysdeps/posix/mkfifo.c: ... here.
57326         * sysdeps/unix/mkfifoat.c: Moved ...
57327         * sysdeps/posix/mkfifoat.c: ... here.
57329         * sysdeps/unix/utime.c: Moved ...
57330         * sysdeps/posix/utime.c: ... here.
57332         * sysdeps/unix/time.c: Moved ...
57333         * sysdeps/posix/time.c: ... here.
57334         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
57335         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
57337         * sysdeps/unix/nice.c: Moved ...
57338         * sysdeps/posix/nice.c: ... here.
57340         * sysdeps/unix/alarm.c: Moved ...
57341         * sysdeps/posix/alarm.c: ... here.
57343         * intl/Makefile ($(codeset_mo)): Depend on the input file.
57345 2012-08-17  Jeff Law <law@redhat.com>
57347         * intl/Makefile (codeset_mo): New variable.
57348         ($(codeset_mo)): New target.
57349         (tst-codeset.out): Depend on that.  Remove explicit rule.
57350         (tst-gettext3.out, tst-gettext5.out): Likewise.
57351         (LOCPATH-ENV, tst-codeset-ENV): New variables.
57352         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
57353         * intl/tst-codeset.sh: Remove.
57354         * intl/tst-gettext3.sh: Likewise.
57355         * intl/tst-gettext5.sh: Likewise.
57357 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57359         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
57360         * sysdeps/unix/syscalls.list: ... here.
57362         * sysdeps/posix/getaddrinfo.c
57363         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
57364         (gaiconf_init, gaiconf_reload): Use them.
57365         [!_STATBUF_ST_NSEC]
57366         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
57367         Define using time_t rather than struct timespec.
57369         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
57370         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
57371         Macros removed.
57372         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
57373         [!NO_THREADS].
57374         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
57375         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
57376         Likewise.
57378         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
57379         __libc_cleanup_push argument.
57381         * bits/param.h: New file.
57382         * misc/sys/param.h: New file.
57383         * include/sys/param.h: New file.
57384         * misc/Makefile (headers): Add bits/param.h.
57385         * sysdeps/generic/sys/param.h: File removed.
57386         * sysdeps/unix/sysv/linux/bits/param.h: New file.
57387         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
57388         * sysdeps/mach/hurd/bits/param.h: New file.
57389         * sysdeps/mach/hurd/sys/param.h: File removed.
57391         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
57392         last change.
57394         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
57395         [_IO_MTSAFE_IO].
57396         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
57397         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
57398         New macros.
57400         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
57401         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
57402         rather than -D_IO_MTSAFE_IO conditionally.
57403         * stdio-common/Makefile (CPPFLAGS): Likewise.
57404         * wcsmbs/Makefile (CPPFLAGS): Likewise.
57405         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
57406         Use $(libio-mtsafe).
57407         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
57408         of -D_IO_MTSAFE_IO.
57409         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
57410         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
57411         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
57412         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
57413         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
57414         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
57415         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
57416         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
57417         (CFLAGS-fread_u_chk.c): Likewise.
57418         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
57419         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
57420         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
57421         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
57422         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
57423         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
57424         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
57425         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
57426         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
57428         * libio/Makefile: Test [$(libc-reentrant) = yes]
57429         instead of [$(filter %REENTRANT, $(defines)) nonempty].
57431         * Makeconfig
57432         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
57433         * sysdeps/pthread/configure: File removed.
57434         * sysdeps/pthread/Makeconfig: New file.
57435         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
57436         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
57438 2012-08-16  Gary Benson  <gbenson@redhat.com>
57440         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
57441         unmapping the first object in a namespace.
57443 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57445         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
57446         (__internal_setnetgrent): ... this.  Add internal_function to
57447         definition.  Add libc_hidden_def.
57448         (setnetgrent): Update caller.
57449         (internal_endnetgrent): Renamed to ...
57450         (__internal_endnetgrent): ... this.  Add internal_function to
57451         definition.  Add libc_hidden_def.
57452         (endnetgrent): Update caller.
57453         (internal_getnetgrent_r): Renamed to ...
57454         (__internal_getnetgrent_r): ... this.  Add internal_function to
57455         definition.  Add libc_hidden_def.
57456         (__getnetgrent_r): Update caller.
57457         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
57459 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57461         * stdlib/longlong.h: Update from GCC.
57463 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57465         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
57466         on _QL, which is set by umul_ppmm but never used.
57467         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
57468         variables, which are set by GMP macros but never used.
57469         * stdio-common/_itowa.c (_itowa): Likewise.
57470         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
57471         * stdlib/mod_1.c (mpn_mod_1): Likewise.
57473 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
57475         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
57476         struct La_sh_regs is not constant.
57477         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
57478         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
57479         and struct La_sparc64_regs are not constant.
57481 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57483         * sysdeps/unix/sysv/linux/kernel-features.h
57484         (__ASSUME_POSIX_TIMERS): Remove.
57485         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57486         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57487         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
57488         Make code unconditional.
57489         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57490         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
57491         Make code unconditional.
57492         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57493         * sysdeps/unix/sysv/linux/clock_nanosleep.c
57494         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
57495         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57496         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
57497         Make code unconditional.
57498         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57499         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
57500         (__libc_missing_posix_timers): Remove.
57502 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57504         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
57505         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
57507         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
57509         * elf/dl-sym.c: Include <stdlib.h>.
57511         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
57512         constants, which avoids warnings in 32-bit builds.
57514         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
57515         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
57517         * misc/lseek.c: File moved to ...
57518         * io/lseek.c: ... here.
57520         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
57522         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
57523         shifting LEN more than 31 bits at once.
57525 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57527         [BZ #14195]
57528         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
57529         segmentation fault for a case of two empty input strings.
57530         * string/test-strncasecmp.c (check1): Renamed to...
57531         (bz12205): ...this.
57532         (bz14195): Add new testcase for two empty input strings and N > 0.
57533         (test_main): Call new testcase, adapt for renamed function.
57535 2012-08-15  Andreas Jaeger  <aj@suse.de>
57537         [BZ #14090]
57538         * crypt/md5test2.c: New test, based on test supplied by Serge
57539         Belyshev <belyshev@depni.sinp.msu.ru>.
57540         * crypt/Makefile (xtests): Add md5test-giant..
57541         * crypt/Makefile ($(objpfx)md5test-giant): Add.
57543 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
57545         [BZ #14090]
57546         * crypt/md5.c (md5_process_block): Don't assume the buffer
57547         length is less than 2**32.
57548         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
57549         length is less than 2**64.
57551 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57553         * string/str-two-way.h: Include <sys/param.h>.
57554         (MAX): Macro removed.
57556         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
57557         Move #define and #undef of memmove to just before and after
57558         including <string.h>.
57560         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
57561         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
57562         and after including <string.h>.  Move declarations of
57563         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
57564         to before #include "string/memmove.c".
57566         * include/dirent.h: Declare __getdirentries.
57568         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
57569         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
57571 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
57573         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
57574         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
57575         * sysdeps/i386/configure: Regenerated.
57576         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
57577         STABS_CURRENT_FILE, and STABS_FUN.
57578         (END): Remove call to STABS_FUN_END.
57579         (STABS_CURRENT_FILE1): Delete.
57580         (STABS_CURRENT_FILE): Likewise.
57581         (STABS_FUN): Likewise.
57582         (STABS_FUN_END): Likewise.
57583         (STABS_FUN2): Likewise.
57584         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
57585         * sysdeps/x86_64/configure: Regenerated.
57587 2012-08-14  Roland McGrath  <roland@hack.frob.com>
57589         * elf/dl-open.c: Include <atomic.h>.
57590         * elf/dl-lookup.c: Likewise.
57592 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
57594         * sysdeps/unix/sysv/linux/kernel-features.h
57595         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
57596         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
57597         unconditionally.
57598         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
57599         unconditionally.
57600         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
57601         condition on __ASSUME_CLONE_THREAD_FLAGS.
57603 2012-08-14  Andreas Jaeger  <aj@suse.de>
57605         * sysdeps/i386/fpu/libm-test-ulps: Update.
57607 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
57609         * include/atomic.h (atomic_exchange_and_add): Split into ...
57610         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
57611         New atomic macros.
57613 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
57615         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57617 2012-08-13  Jeff Law <law@redhat.com>
57619         * manual/stdio.texi (snprintf): Clarify handling of the trailing
57620         null byte in the output string.
57622 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
57624         * sysdeps/unix/sysv/linux/kernel-features.h
57625         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
57626         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
57627         (__ASSUME_ARG_MAX_STACK_BASED): Define.
57628         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
57629         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
57630         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
57631         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
57633 2012-08-09  Jeff Law <law@redhat.com>
57635         [BZ #13939]
57636         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
57637         When avoid_arena is set, don't retry in the that arena.  Pick the
57638         next one, whatever it might be.
57639         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
57640         (arena_lock): Pass in new parameter to arena_get2.
57641         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
57642         arena_get2.
57643         (__libc_malloc): Unify retrying after main arena failure with
57644         __libc_memalign version.
57645         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
57647 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
57649         [BZ #14166]
57650         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
57651         to __redirect_strstr.
57652         (__strstr_sse42): Use typeof __redirect_strstr.
57653         (__strstr_ia32): Likewise.
57654         (__libc_strstr): New prototype.
57655         (strstr): Renamed to ...
57656         (__libc_strstr): This.
57657         (strstr): New strong alias of __libc_strstr.
57658         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57659         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
57660         __redirect_time.
57661         Include <time.h>.
57662         (__libc_time): New prototype.
57663         (time_ifunc): Replace time with __libc_time.
57664         (time): New strong alias and hidden definition of __libc_time.
57665         (__GI_time): Remove strong alias.
57666         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
57667         Include <stddef.h>.
57668         (memmove): Redefined to __redirect_memmove.
57669         (__memmove_sse2): Use typeof __redirect_memmove.
57670         (__memmove_ssse3): Likewise.
57671         (__memmove_ssse3_back): Likewise.
57672         (__libc_memmove): New prototype.
57673         (memmove): Renamed to ...
57674         (__libc_memmove): This.
57675         (memmove): New strong alias of __libc_memmove.
57677 2012-08-08  Mark Salter  <msalter@redhat.com>
57679         * elf/elf.h
57680         (R_MN10300_TLS_GD): Define.
57681         (R_MN10300_TLS_LD): Likewise.
57682         (R_MN10300_TLS_LDO): Likewise.
57683         (R_MN10300_TLS_GOTIE): Likewise.
57684         (R_MN10300_TLS_IE): Likewise.
57685         (R_MN10300_TLS_LE): Likewise.
57686         (R_MN10300_TLS_DTPMOD): Likewise.
57687         (R_MN10300_TLS_DTPOFF): Likewise.
57688         (R_MN10300_TLS_TPOFF): Likewise.
57689         (R_MN10300_SYM_DIFF): Likewise.
57690         (R_MN10300_ALIGN): Likewise.
57691         (R_MN10300_NUM): Update.
57693 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
57695         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
57696         Remove.
57698 2012-08-08  Roland McGrath  <roland@hack.frob.com>
57700         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
57702         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
57703         sysdeps/unix -> sysdeps/posix move.
57704         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57706 2012-08-07      Allan McRae     <allan@archlinux.org>
57708         [BZ #14303]
57709         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
57710         (SUNOS_CPP): Likewise.
57711         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
57712         not found.
57713         (open_input): Call CPP using execvp.
57715 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57717         * sysdeps/unix/sysv/linux/kernel-features.h
57718         (__ASSUME_PROT_GROWSUPDOWN): Remove.
57719         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57720         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57721         (__ASSUME_WAITID_SYSCALL): Likewise.
57722         * sysdeps/unix/sysv/linux/dl-execstack.c
57723         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
57724         code unconditional.
57725         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
57726         conditional code.
57727         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
57728         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
57729         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
57730         code.
57731         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
57732         unconditional.
57733         [__ASSUME_WAITID_SYSCALL]: Likewise.
57734         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
57736 2012-08-07  Roland McGrath  <roland@hack.frob.com>
57738         * sysdeps/unix/closedir.c: Renamed to ...
57739         * sysdeps/posix/closedir.c: ... here.
57740         * sysdeps/unix/dirfd.c: Renamed to ...
57741         * sysdeps/posix/dirfd.c: ... here.
57742         * sysdeps/unix/dirstream.h: Renamed to ...
57743         * sysdeps/posix/dirstream.h: ... here.
57744         * sysdeps/unix/fdopendir.c: Renamed to ...
57745         * sysdeps/posix/fdopendir.c: ... here.
57746         * sysdeps/unix/opendir.c: Renamed to ...
57747         * sysdeps/posix/opendir.c: ... here.
57748         * sysdeps/unix/readdir.c: Renamed to ...
57749         * sysdeps/posix/readdir.c: ... here.
57750         * sysdeps/unix/readdir_r.c: Renamed to ...
57751         * sysdeps/posix/readdir_r.c: ... here.
57752         * sysdeps/unix/rewinddir.c: Renamed to ...
57753         * sysdeps/posix/rewinddir.c: ... here.
57754         * sysdeps/unix/seekdir.c: Renamed to ...
57755         * sysdeps/posix/seekdir.c: ... here.
57756         * sysdeps/unix/telldir.c: Renamed to ...
57757         * sysdeps/posix/telldir.c: ... here.
57758         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
57759         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
57760         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
57761         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
57763         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
57764         * bits/fcntl.h: ... here.
57766         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
57767         not 0.
57768         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
57769         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
57770         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
57771         (struct flock): Move l_start, l_len to the beginning.
57772         Use __pid_t for l_pid.
57773         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
57774         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
57775         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
57776         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
57777         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
57778         [__USE_LARGEFILE64] (struct flock64): New type.
57779         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
57781         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
57782         * bits/dirent.h: ... here.
57784         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
57785         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
57787 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57789         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57790         Change from 2.6.0 to 2.6.16.
57791         * sysdeps/unix/sysv/linux/configure: Regenerated.
57792         * sysdeps/unix/sysv/linux/kernel-features.h
57793         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
57794         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
57795         version.
57796         (__ASSUME_UTIMES): Likewise.
57797         (__ASSUME_CLONE_STOPPED): Remove.
57798         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
57799         architectures, not kernel version.
57800         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
57801         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57802         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57803         (__ASSUME_WAITID_SYSCALL): Likewise.
57804         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
57805         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
57806         * README: State 2.6.16 as minimum Linux kernel version.  Do not
57807         refer to older versions.
57809 2012-08-06  Roland McGrath  <roland@hack.frob.com>
57811         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
57812         Define alphasort64 as an alias.
57813         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
57814         Define versionsort64 as an alias.
57815         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
57816         Define scandir64 as an alias.
57817         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
57818         Define scandirat64 as an alias.
57819         * dirent/alphasort64.c (alphasort64):
57820         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
57821         * dirent/versionsort64.c: Likewise.
57822         * dirent/scandir64.c: Likewise.
57823         * dirent/scandirat64.c: Likewise.
57824         * sysdeps/wordsize-64/alphasort.c: File removed.
57825         * sysdeps/wordsize-64/alphasort64.c: File removed.
57826         * sysdeps/wordsize-64/scandir.c: File removed.
57827         * sysdeps/wordsize-64/scandir64.c: File removed.
57828         * sysdeps/wordsize-64/scandirat.c: File removed.
57829         * sysdeps/wordsize-64/scandirat64.c: File removed.
57830         * sysdeps/wordsize-64/versionsort.c: File removed.
57831         * sysdeps/wordsize-64/versionsort64.c: File removed.
57832         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
57833         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
57834         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
57835         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
57836         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
57837         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
57838         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
57839         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
57841         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
57842         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57843         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
57844         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57845         [defined __arch64__ || defined __sparcv9]
57846         (__INO_T_MATCHES_INO64_T): New macro.
57847         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57848         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
57849         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
57850         * sysdeps/unix/sysv/linux/bits/dirent.h
57851         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
57852         (_DIRENT_MATCHES_DIRENT64): New macro.
57854         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
57855         Define lockf64 as an alias.
57856         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
57857         Define fseeko64 as an alias.
57858         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
57859         Define ftello64 as an alias.
57860         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
57861         Define _IO_fgetpos64 and fgetpos64 as aliases.
57862         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
57863         Define _IO_fsetpos64 and fsetpos64 as aliases.
57864         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
57865         Conditionalize body on this.
57866         * libio/fseeko64.c: Likewise.
57867         * libio/ftello64.c: Likewise.
57868         * libio/iofgetpos64.c: Likewise.
57869         * libio/iofsetpos64.c: Likewise.
57870         * sysdeps/wordsize-64/lockf.c: File removed.
57871         * sysdeps/wordsize-64/lockf64.c: File removed.
57872         * sysdeps/wordsize-64/fseeko.c: File removed.
57873         * sysdeps/wordsize-64/fseeko64.c: File removed.
57874         * sysdeps/wordsize-64/ftello.c: File removed.
57875         * sysdeps/wordsize-64/ftello64.c: File removed.
57876         * sysdeps/wordsize-64/iofgetpos.c: File removed.
57877         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
57878         * sysdeps/wordsize-64/iofsetpos.c: File removed.
57879         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
57880         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
57881         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
57882         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
57883         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
57884         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
57885         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
57886         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
57887         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
57888         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
57889         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
57891         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57892         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57893         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
57894         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57895         [defined __arch64__ || defined __sparcv9]
57896         (__OFF_T_MATCHES_OFF64_T): New macro.
57897         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57898         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57899         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57900         (__OFF_T_MATCHES_OFF64_T): New macro.
57902 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57904         * stdlib/secure-getenv.c (__secure_getenv): Replace
57905         GLIBC_2_16 with GLIBC_2_17.
57907 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57909         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
57910         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57912 2012-08-03  David S. Miller  <davem@davemloft.net>
57914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57916 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57918         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
57919         Remove.
57920         (__ASSUME_CORRECT_SI_PID): Likewise.
57921         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
57922         (__ASSUME_TMPFS_NAME): Likewise.
57923         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
57924         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
57925         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
57926         (HAVE_AUX_SECURE): Make definition unconditional.
57927         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
57928         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
57930 2012-08-03  Roland McGrath  <roland@hack.frob.com>
57932         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
57933         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
57934         * sysdeps/mach/hurd/eloop-threshold.h: New file.
57935         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57936         __eloop_threshold instead of SYMLOOP_MAX.
57938         * sysdeps/generic/eloop-threshold.h: New file.
57939         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
57940         of MAXSYMLINKS.
57941         * elf/chroot_canon.c (chroot_canon): Likewise.
57943 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57945         [BZ #13717]
57946         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57947         Change to 2.6.0 everywhere.
57948         * sysdeps/unix/sysv/linux/configure: Regenerated.
57949         * sysdeps/unix/sysv/linux/kernel-features.h
57950         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
57951         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
57952         kernel versions.
57953         (__ASSUME_POSIX_TIMERS): Define unconditionally.
57954         (__ASSUME_FUTEX_REQUEUE): Remove.
57955         (__ASSUME_STATFS64): Define unconditionally.
57956         (__ASSUME_AT_SECURE): Likewise.
57957         (__ASSUME_CORRECT_SI_PID): Likewise.
57958         (__ASSUME_TGKILL): Define without depending on kernel version for
57959         i386.
57960         (__ASSUME_UTIMES): Likewise.
57961         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
57962         kernel version.
57963         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
57964         (__ASSUME_TMPFS_NAME): Likewise.
57965         * README: Update reference to Linux kernel versions.
57967 2012-08-02  Marek Polacek  <polacek@redhat.com>
57969         [BZ# 14150]
57970         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
57971         libc_cv_asm_type_prefix with %.
57972         * configure: Regenerated.
57973         * include/libc-symbols.h: Remove comment about
57974         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57975         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
57976         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
57977         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
57978         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
57979         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57980         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
57981         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
57982         * elf/tst-unique2mod1.c: Likewise.
57983         * elf/tst-unique1mod2.c: Likewise.
57984         * elf/tst-unique1mod1.c: Likewise.
57985         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
57986         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
57987         Replace ASM_TYPE_DIRECTIVE with .type.
57988         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57989         * sysdeps/i386/sysdep.h: Likewise.
57990         * sysdeps/x86_64/sysdep.h: Likewise.
57991         * sysdeps/sh/sysdep.h: Likewise.
57992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57993         Do not define ASM_TYPE_DIRECTIVE.
57994         * sysdeps/powerpc/sysdep.h: Likewise.
57995         * sysdeps/powerpc/powerpc32/sysdep.h:
57996         Replace ASM_TYPE_DIRECTIVE with .type.
57997         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57998         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57999         * sysdeps/i386/fpu/e_powf.S: Likewise.
58000         * sysdeps/i386/fpu/e_expl.S: Likewise.
58001         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58002         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58003         * sysdeps/i386/fpu/e_pow.S: Likewise.
58004         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58005         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58006         * sysdeps/i386/fpu/s_expm1.S: Likewise.
58007         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58008         * sysdeps/i386/fpu/e_log2.S: Likewise.
58009         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58010         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58011         * sysdeps/i386/fpu/e_powl.S: Likewise.
58012         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58013         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58014         * sysdeps/i386/fpu/e_logl.S: Likewise.
58015         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58016         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58017         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58018         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58019         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58020         * sysdeps/i386/fpu/e_log.S: Likewise.
58021         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58022         * sysdeps/i386/fpu/e_logf.S: Likewise.
58023         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58024         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58025         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58026         * sysdeps/i386/fpu/e_log10.S: Likewise.
58027         * sysdeps/i386/fpu/s_frexp.S: Likewise.
58028         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58029         * sysdeps/i386/fpu/s_asinh.S: Likewise.
58030         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58031         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58032         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
58033         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58034         * sysdeps/i386/i686/strtok.S: Likewise.
58035         * sysdeps/i386/i386-mcount.S: Likewise.
58036         * sysdeps/i386/strtok.S: Likewise.
58037         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
58038         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58039         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58040         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58041         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
58042         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58043         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58044         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58045         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58046         * sysdeps/x86_64/_mcount.S: Likewise.
58047         * sysdeps/x86_64/strtok.S: Likewise.
58048         * sysdeps/sh/_mcount.S: Likewise.
58050 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58052         * libio/iofopen.c: Include <fcntl.h>.
58053         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
58054         (_IO_fopen64, fopen64): Define as aliases.
58055         * libio/iofopen64.c: Include <fcntl.h>.
58056         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
58057         Conditionalize body on this.
58058         * sysdeps/wordsize-64/iofopen.c: File removed.
58059         * sysdeps/wordsize-64/iofopen64.c: File removed.
58061 2012-08-01  Marek Polacek  <polacek@redhat.com>
58063         * libc/Makeconfig: Use elf in place of binfmt-subdir.
58064         Use dlfcn directly instead of a variable.
58065         (binfmt-subdir): Do not define.
58066         (dlfcn): Likewise.
58068 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
58070         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
58071         Remove all definitions.
58072         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
58073         <kernel-features.h>.
58074         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58075         (miss_F_GETOWN_EX): Remove all definitions.
58076         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
58077         macro definition.
58078         [!__ASSUME_FCNTL64]: Remove conditional code.
58079         [__ASSUME_FCNTL64]: Make code unconditional.
58080         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
58081         <kernel-features.h>.
58082         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58083         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
58084         (lockf64) [__NR_fcntl64]: Make code unconditional.
58085         (lockf64) [__ASSUME_FCNTL64]: Likewise.
58087         * sysdeps/unix/sysv/linux/kernel-features.h
58088         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
58089         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
58090         Make code unconditional.
58091         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58092         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
58094         [__NR_vfork]: Make code unconditional.
58095         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58096         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
58098         [__NR_vfork]: Make code unconditional.
58099         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58100         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58102 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58104         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
58105         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
58107         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58108         Define mkstemp64 as an alias.
58109         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58110         Define mkstemps64 as an alias.
58111         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58112         Define mkostemp64 as an alias.
58113         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58114         Define mkostemps64 as an alias.
58115         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
58116         Conditionalize body on this.
58117         * misc/mkostemp64.c: Likewise.
58118         * misc/mkostemps64.c: Likewise.
58119         * misc/mkstemps64.c: Likewise.
58120         * sysdeps/wordsize-64/mkstemp64.c: File removed.
58121         * sysdeps/wordsize-64/mkostemp64.c: File removed.
58122         * sysdeps/wordsize-64/mkostemp.c: File removed.
58123         * sysdeps/wordsize-64/mkstemp.c: File removed.
58124         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
58125         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
58126         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
58127         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
58129         [BZ #14138]
58130         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
58131         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
58132         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
58133         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
58135         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
58136         compat_symbol macros from <shlib-compat.h> rather than the underlying
58137         default_symbol_version and symbol_version macros, so that DEFAULT
58138         lines in shlib-versions are respected.
58139         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
58141 2012-08-01  Florian Weimer  <fweimer@redhat.com>
58143         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
58144         Declare with warn_unused_result.
58145         (setgid, setregid, setegid, setresgid): Likewise.
58146         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
58147         Likewise.
58148         * WUR-REPORT: Remove set*id functions.
58150 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
58152         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
58154 2012-07-31  Roland McGrath  <roland@hack.frob.com>
58156         [BZ #10191]
58157         * include/sys/socket.h (__libc_accept, __libc_accept4):
58158         Add attribute_hidden.
58159         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
58161         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
58162         use of PTR_MANGLE.
58163         * inet/getnetgrent_r.c (setup): Likewise.
58165         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
58167 2012-07-31  David S. Miller  <davem@davemloft.net>
58169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58171 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
58173         [BZ #13629]
58174         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
58175         value between 1.0 and 2.0 and smaller part has absolute value less
58176         than 1.0.
58177         * math/s_clog10.c (__clog10): Likewise.
58178         * math/s_clog10f.c (__clog10f): Likewise.
58179         * math/s_clog10l.c (__clog10l): Likewise.
58180         * math/s_clogf.c (__clogf): Likewise.
58181         * math/s_clogl.c (__clogl): Likewise.
58182         * math/libm-test.inc (clog_test): Add more tests.
58183         (clog10_test): Likewise.
58184         * sysdeps/i386/fpu/libm-test-ulps: Update.
58185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58187 2012-07-31  Florian Weimer  <fweimer@redhat.com>
58189         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
58190         Exit with zero in case no suitable GID is found, and write a
58191         message to standard error.
58193 2012-07-30  Roland McGrath  <roland@hack.frob.com>
58195         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
58196         rather than to 1.
58197         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
58198         (MAXPATHLEN): Removed.
58199         (NOGROUP, NODEV): New macros.
58200         (setbit, clrbit, isset, isclr): New macros.
58201         (howmany, roundup, powerof2): New macros.
58202         (DEV_BSIZE): New macro.
58204         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
58205         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
58207         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
58208         definition on [!__NO_LONG_DOUBLE_MATH].
58210         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
58211         PTR_MANGLE and PTR_DEMANGLE.
58213         * socket/accept4.c (accept4): Rename to __libc_accept4.
58214         Define accept4 as a weak alias.
58216         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
58217         on [_DIRENT_HAVE_D_TYPE].
58218         * io/ftw.c (ftw_dir): Likewise.
58220         * io/xmknod.c (__xmknod): Don't check PATH for being null.
58222         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
58224         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
58225         Use the BSD numbers rather than the arbitrary ones we had.
58226         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
58227         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
58228         (SIGXCPU, SIGXFSZ): New macros.
58229         (_NSIG): Now 32.
58231         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
58232         initializer on [_LIBC_REENTRANT].
58234         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
58235         definitions inside [_POSIX_MAPPED_FILES].
58237         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
58239         * dirent/opendir.c: Include <fcntl.h>.
58241         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
58242         (__libc_getspecific): Likewise.
58243         (__libc_key_create): Likewise.
58245         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
58246         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
58247         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
58248         (tmpfile64): Define as alias.
58249         * sysdeps/wordsize-64/tmpfile.c: File removed.
58250         * sysdeps/wordsize-64/tmpfile64.c: File removed.
58251         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
58252         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
58254         * stdio-common/vfscanf.c: Include <stdbool.h>.
58255         * nss/makedb.c: Likewise.
58256         * stdio-common/_i18n_number.h: Likewise.
58257         * argp/argp-help.c: Likewise.
58258         * posix/wordexp.c: Likewise.
58259         * sysdeps/posix/spawni.c: Likewise.
58260         * nss/nss_files/files-initgroups.c: Likewise.
58261         * stdio-common/reg-modifier.c: Include <stdlib.h>.
58262         * nss/nss_files/files-initgroups.c: Likewise.
58263         * nss/nss_db/db-netgrp.c: Likewise.
58264         * nss/nss_db/db-initgroups.c: Likewise.
58265         * io/fchmodat.c: Include <sys/stat.h>.
58267         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
58268         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
58270         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
58271         [HAVE_MMAP].
58273         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
58274         Add multiple inclusion protection.
58276 2012-07-27  David S. Miller  <davem@davemloft.net>
58278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58280 2012-07-27  Gary Benson  <gbenson@redhat.com>
58282         [BZ #14298]
58283         * elf/rtld.c: Include <stap-probe.h>.
58284         (dl_main): Added static probes "init_start" and "init_complete".
58285         * elf/dl-load.c: Include <stap-probe.h>.
58286         (lose): Take new parameter "nsid".
58287         Added static probe "map_failed".
58288         (_dl_map_object_from_fd): Pass namespace id to lose.
58289         Added static probe "map_start".
58290         (open_verify): Pass namespace id to lose.
58291         * elf/dl-open.c: Include <stap-probe.h>.
58292         (dl_open_worker) Added static probes "map_complete", "reloc_start"
58293         and "reloc_complete".
58294         * elf/dl-close.c: Include <stap-probe.h>.
58295         (_dl_close_worker): Added static probes "unmap_start" and
58296         "unmap_complete".
58297         * elf/rtld-debugger-interface.txt: New file documenting the above.
58299 2012-07-26  Roland McGrath  <roland@hack.frob.com>
58301         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
58302         rather than a string variable.
58303         * sunrpc/rpc_main.c (h_output): Likewise.
58304         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
58306 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
58308         * inet/check_native.c: New file.
58310 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
58312         [BZ #13629]
58313         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
58314         if larger part has absolute value 1.0.
58315         * math/s_clog10.c (__clog10): Likewise.
58316         * math/s_clog10f.c (__clog10f): Likewise.
58317         * math/s_clog10l.c (__clog10l): Likewise.
58318         * math/s_clogf.c (__clogf): Likewise.
58319         * math/s_clogl.c (__clogl): Likewise.
58320         * math/libm-test.inc (clog_test): Add more tests.
58321         (clog10_test): Likewise.
58322         * sysdeps/i386/fpu/libm-test-ulps: Update.
58323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58325         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
58326         (pltexit): Likewise.
58327         (La_regs): Likewise.
58328         (La_retval): Likewise.
58329         (int_retval): Likewise.
58330         Update #error for removed macros to refer only to definitions in
58331         tst-audit.h.
58332         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
58333         macro.
58334         (pltexit): Likewise.
58335         (La_regs): Likewise.
58336         (La_retval): Likewise.
58337         (int_retval): Likewise.
58338         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
58339         macro.
58340         (pltexit): Likewise.
58341         (La_regs): Likewise.
58342         (La_retval): Likewise.
58343         (int_retval): Likewise.
58344         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
58345         macro.
58346         (pltexit): Likewise.
58347         (La_regs): Likewise.
58348         (La_retval): Likewise.
58349         (int_retval): Likewise.
58350         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
58351         macro.
58352         (pltexit): Likewise.
58353         (La_regs): Likewise.
58354         (La_retval): Likewise.
58355         (int_retval): Likewise.
58356         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
58357         macro.
58358         (pltexit): Likewise.
58359         (La_regs): Likewise.
58360         (La_retval): Likewise.
58361         (int_retval): Likewise.
58362         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
58363         macro.
58364         (pltexit): Likewise.
58365         (La_regs): Likewise.
58366         (La_retval): Likewise.
58367         (int_retval): Likewise.
58368         * sysdeps/generic/tst-audit.h: Update comment to refer only to
58369         macro definitions in tst-audit.h.
58370         * sysdeps/i386/tst-audit.h: New file.
58371         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
58372         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
58373         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
58374         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
58375         * sysdeps/sh/tst-audit.h: Likewise.
58376         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
58377         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
58378         * sysdeps/x86_64/tst-audit.h: Likewise.
58380 2012-07-26  Andreas Jaeger  <aj@suse.de>
58382         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
58383         ptrace.
58385         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
58386         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
58387         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
58388         PTRACE_O_MASK.
58389         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
58390         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
58391         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
58393         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
58394         value.
58396         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
58397         _sigsys.
58398         (si_call_addr, si_syscall, si_arch): Define new macro.
58399         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
58400         _sigsys.
58401         (si_call_addr, si_syscall, si_arch): Define new marcro.
58402         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
58403         _sigsys.
58404         (si_call_addr, si_syscall, si_arch): Define new macro.
58405         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
58406         _sigsys.
58407         (si_call_addr, si_syscall, si_arch): Define new macro.
58409 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58411         [BZ #13717]
58412         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58413         Change to 2.4.21 where previously 2.4.1.
58414         * sysdeps/unix/sysv/linux/configure: Regenerated.
58415         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
58416         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
58417         Linux kernel version.
58418         (__ASSUME_STD_AUXV): Remove.
58419         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
58420         kernel version.
58421         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
58422         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
58423         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
58424         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
58425         (__ASSUME_NETLINK_SUPPORT): Likewise.
58426         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
58427         (__no_netlink_support): Remove conditional definition.
58428         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
58429         Remove.
58430         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58431         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
58432         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
58433         (if_nameindex_ioctl): Remove.
58434         (if_nameindex_netlink): Do not handle __no_netlink_support.
58435         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58436         code.
58437         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
58438         Remove conditional code.
58439         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58440         code.
58441         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
58442         unconditional.
58443         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58444         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
58445         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
58446         Remove.
58447         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
58448         [!__ASSUME_STD_AUXV]: Remove conditional code.
58449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
58450         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
58451         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
58452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
58453         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
58454         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58455         code.
58456         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58458         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
58459         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58460         conditional code.
58461         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58463         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58464         code.
58465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58466         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58467         conditional code.
58468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
58469         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58470         code unconditional.
58471         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58472         conditional code.
58473         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58474         unconditional.
58475         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58476         conditional code.
58477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58478         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58479         unconditional.
58480         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58481         conditional code.
58482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
58483         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58484         code unconditional.
58485         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58486         conditional code.
58487         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58488         unconditional.
58489         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58490         conditional code.
58491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
58492         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58493         code unconditional.
58494         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58495         conditional code.
58496         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58497         unconditional.
58498         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58499         conditional code.
58501 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
58503         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
58504         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
58505         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
58506         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
58507         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
58508         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
58509         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
58510         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
58511         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
58512         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
58513         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
58514         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
58515         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
58516         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
58517         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
58518         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
58519         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
58520         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
58521         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
58522         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
58523         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
58524         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
58525         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58527 2012-07-25  Florian Weimer  <fweimer@redhat.com>
58529         * Versions.def: Add GLIBC_2.17.
58530         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
58531         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
58532         Introduce __libc_secure_getenv.
58533         * stdlib/Versions (2.17): Add secure_getenv
58534         (GLIBC_PRIVATE): Add __libc_secure_getenv.
58535         * stdlib/secure-getenv.c: Rename __secure_getenv to
58536         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
58537         symbol __secure_getenv for GLIBC_2.0.
58538         * stdlib/tst-secure-getenv.c: New.
58539         * stdlib/Makefile (tests): Add testcase.
58540         * manual/startup.texi (Environment Access): Document
58541         secure_getenv.
58542         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
58543         __libc_secure_getenv.
58544         * inet/ruserpass.c (ruserpass): Likewise.
58545         * malloc/mtrace.c (mtrace): Likewise.
58546         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
58547         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
58548         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
58549         * sysdeps/posix/tempname.c: Likewise.  Evaluate
58550         HAVE_SECURE_GETENV.
58551         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
58552         __secure_getenv to __libc_secure_getenv.
58553         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
58554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58555         Likewise.
58556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58557         Likewise.
58558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58560         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58564         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58566 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58568         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
58569         (struct La_i86_retval): Likewise.
58570         (struct La_x86_64_regs): Likewise.
58571         (struct La_x86_64_retval): Likewise.
58572         (struct La_x32_regs): Likewise.
58573         (struct La_x32_retval): Likewise.
58574         (struct La_ppc32_regs): Likewise.
58575         (struct La_ppc32_retval): Likewise.
58576         (struct La_ppc64_regs): Likewise.
58577         (struct La_ppc64_retval): Likewise.
58578         (struct La_sh_regs): Likewise.
58579         (struct La_sh_retval): Likewise.
58580         (struct La_s390_32_regs): Likewise.
58581         (struct La_s390_32_retval): Likewise.
58582         (struct La_s390_64_regs): Likewise.
58583         (struct La_s390_64_retval): Likewise.
58584         (struct La_sparc32_regs): Likewise.
58585         (struct La_sparc32_retval): Likewise.
58586         (struct La_sparc64_regs): Likewise.
58587         (struct La_sparc64_retval): Likewise.
58588         (struct audit_ifaces): Remove architecture-specific pltenter and
58589         pltexit members.
58590         * sysdeps/i386/ldsodefs.h: New file.
58591         * sysdeps/powerpc/ldsodefs.h: Likewise.
58592         * sysdeps/s390/ldsodefs.h: Likewise.
58593         * sysdeps/sh/ldsodefs.h: Likewise.
58594         * sysdeps/sparc/ldsodefs.h: Likewise.
58595         * sysdeps/x86_64/ldsodefs.h: Likewise.
58597 2012-07-25  Marek Polacek  <polacek@redhat.com>
58599         [BZ #6808]
58600         * math/libm-test.inc (yn_test): Add another test.
58601         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
58602         to ERANGE when the result is +-Inf.
58603         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58604         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
58605         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
58606         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
58608 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
58610         * conform/data/time.h-data (NULL): Use macro-constant.  Require
58611         equal to 0.
58612         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
58613         clock_t.
58614         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
58616 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
58618         * configure.in <sysdeps resolving>: Correct printing
58619         Implies_before.
58620         * configure: Regenerate.
58622 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
58624         * math/w_ilogb.c: Include <limits.h>.
58625         * math/w_ilogbl.c: Likewise.
58627 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58629         * manual/lang.texi (__va_copy): Document primarily as ISO C99
58630         va_copy.  Document allowing for unavailable va_copy only as
58631         pre-C99 compatibility.
58632         * manual/string.texi (Copying and Concatenation): Use va_copy
58633         instead of __va_copy in concat example.
58635 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
58637         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
58638         (__sendto): Use create_address_port.  Initialize APORT and deallocate
58639         it if not null.
58641         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
58642         with O_NOLINK passed to __file_name_lookup.
58644         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
58645         with O_NOLINK passed to __file_name_lookup.
58647         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
58648         negative N or less than NGIDS.
58650         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
58651         type to string_t.  Set ERANGE as errno and return it if NAME is not big
58652         enough.  Use memcpy instead of strncpy.
58654 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58656         * elf/Makefile (check-data): Remove.
58657         (localplt.data): New vpath directive.
58658         ($(objpfx)check-localplt.out): Use localplt.data from vpath
58659         instead of $(check-data).
58660         * scripts/data/localplt-generic.data: Move to ...
58661         * sysdeps/generic/localplt.data: ... here.
58662         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
58663         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
58664         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
58665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
58666         ... here.
58667         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
58668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
58669         ... here.
58670         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
58671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
58672         ... here.
58673         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
58674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
58675         ... here.
58676         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
58677         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
58678         ... here.
58679         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
58680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
58681         ... here.
58683 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58685         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
58686         PPC32 and PPC64 files.
58687         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
58688         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
58690 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58692         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
58693         __makecontext_ret to ...
58694         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
58695         ... here and call exit if uc_link is NULL.  New file.
58696         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
58697         __makecontext_ret.S.
58698         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
58699         __makecontext_ret to ...
58700         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
58701         ... here and call exit if uc_link is NULL.  New file.
58702         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
58703         __makecontext_ret.S.
58705 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58707         * elf/elf.h (R_390_IRELATIVE): New definition.
58708         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
58709         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
58710         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
58711         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58712         (elf_machine_lazy_rel): Likewise.
58713         * sysdeps/s390/dl-irel.h: New file.
58714         * sysdeps/s390/s390-64/memcpy.S: New asm code.
58715         * sysdeps/s390/s390-64/memset.S: New asm code.
58716         * sysdeps/s390/s390-64/memcmp.S: New asm code.
58717         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
58718         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
58719         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
58720         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
58721         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
58722         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
58723         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
58724         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
58725         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
58726         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
58727         * sysdeps/s390/s390-32/memcpy.S: New asm code.
58728         * sysdeps/s390/s390-32/memset.S: New asm code.
58729         * sysdeps/s390/s390-32/memcmp.S: New asm code.
58731 2012-07-17  Marek Polacek  <polacek@redhat.com>
58733         [BZ #14349]
58734         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
58735         * sysdeps/s390/s390-64/configure.in: Likewise.
58736         * sysdeps/sparc/configure.in: Likewise.
58737         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
58738         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
58739         * sysdeps/i386/configure.in: Likewise.
58740         * sysdeps/x86_64/configure.in: Likewise.
58741         * sysdeps/sh/configure.in: Likewise.
58742         * sysdeps/s390/s390-32/configure: Regenerated.
58743         * sysdeps/s390/s390-64/configure: Likewise.
58744         * sysdeps/x86_64/configure: Likewise.
58745         * sysdeps/sh/configure: Likewise.
58746         * sysdeps/powerpc/powerpc64/configure: Likewise.
58747         * sysdeps/powerpc/powerpc32/configure: Likewise.
58748         * sysdeps/sparc/configure: Likwise.
58749         * sysdeps/i386/configure: Likewise.
58751         * elf/dl-open.c: Comment fixes.
58753 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
58755         * Makefile [CXX] (check-data): Remove.
58756         [CXX] (c++-types.data): New vpath directive.
58757         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
58758         vpath.  Do not allow for C++ type data being missing.
58759         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
58760         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
58761         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
58762         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
58763         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
58764         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
58765         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
58766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
58767         ... here.
58768         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
58769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
58770         ... here.
58771         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
58772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
58773         ... here.
58774         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
58775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
58776         ... here.
58777         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
58778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
58779         ... here.
58780         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
58781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
58782         ... here.
58783         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
58784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
58785         ... here.
58786         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
58787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
58789         * elf/tls-macros.h (TLS_LE): Move architecture-specific
58790         definitions to architecture-specific files.
58791         (TLS_IE): Likewise.
58792         (TLS_LD): Likewise.
58793         (TLS_GD): Likewise.
58794         * sysdeps/i386/tls-macros.h: New file.
58795         * sysdeps/powerpc/tls-macros.h: Likewise.
58796         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
58797         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
58798         * sysdeps/sh/tls-macros.h: Likewise.
58799         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
58800         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
58801         * sysdeps/x86_64/tls-macros.h: Likewise.
58803 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58805         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
58806         zero value for regular exit case.
58808         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
58809         (__start_context): Preserve zero value for regular exit case.
58811 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58812             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58814         * manual/setjmp.texi (setcontext): Clarify normal process
58815         termination when uc_link is the null pointer.
58816         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
58817         exit call.
58819 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
58821         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
58822         preprocessor.  Test for each exception mask separately.
58824 2012-07-16  Andreas Jaeger  <aj@suse.de>
58826         * po/ru.po: Update from translation team.
58828 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
58830         * conform/data/string.h-data (NULL): Use macro-constant.  Require
58831         equal to 0.
58832         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58833         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58834         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
58835         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
58836         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58838 2012-07-13  Andreas Jaeger  <aj@suse.de>
58840         * po/fr.po: Update from translation team.
58842 2012-07-12  Marek Polacek  <polacek@redhat.com>
58844         [BZ #14173]
58845         * math/libm-test.inc (yn_test): Add test for BZ #14173.
58846         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
58847         loop condition.
58849 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
58851         [BZ #13717]
58852         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58853         Change to 2.4.1 where previously 2.4.0.
58854         * sysdeps/unix/sysv/linux/configure: Regenerated.
58855         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
58856         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
58857         version.
58858         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
58859         (__ASSUME_AT_CLKTCK): Remove.
58860         (__ASSUME_AT_PAGESIZE): Likewise.
58861         (__ASSUME_AT_XID): Likewise.
58862         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
58863         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
58864         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
58865         unconditionally.
58866         (HAVE_AUX_PAGESIZE): Likewise.
58867         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
58868         [__ASSUME_AT_CLKTCK]: Make code unconditional.
58869         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
58871 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
58873         [BZ #14307]
58874         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
58875         the temporary buffer used to invoke __gethostbyname2_r,
58876         __gethostbyaddr_r and gethostbyname4_r to make room for struct
58877         host_data / struct gaih_addrtuple.
58878         * resolv/nss_dns/dns-host.c (global scope): Move definition of
58879         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
58880         header file nss/nsswitch.h.
58881         * nss/nsswitch.h (global scope): Add definition of implementation
58882         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
58883         resolv/nss_dns/dns-host.c).
58885 2012-07-11  Andreas Jaeger  <aj@suse.de>
58887         * po/fr.po: Update from translation team.
58889         * po/sv.po: Update from translation team
58890         * po/fr.po: Another update from translation team.
58892 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58894         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
58895         for subnormals or multiply small sinh result by itself.
58896         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
58897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58899 2012-07-11  David S. Miller  <davem@davemloft.net>
58901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58903 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
58905         [BZ #14347]
58906         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
58907         (INTERNAL_MARK): Shift it here.
58909 2012-07-10  Marek Polacek  <polacek@redhat.com>
58911         [BZ #14151]
58912         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
58913         libc_cv_asm_global_directive with .globl.
58914         * configure: Regenerated.
58915         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
58916         with .globl.
58917         * sysdeps/i386/configure: Regenerated.
58918         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
58919         with .globl.
58920         * sysdeps/x86_64/configure: Regenerated.
58921         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
58922         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
58923         * elf/tst-unique2mod2.c: Likewise.
58924         * elf/tst-unique2mod1.c: Likewise.
58925         * elf/tst-unique1mod2.c: Likewise.
58926         * elf/tst-unique1mod1.c: Likewise.
58927         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58928         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58929         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58930         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58931         * sysdeps/mach/sysdep.h: Likewise.
58932         * sysdeps/i386/sysdep.h: Likewise.
58933         * sysdeps/i386/i386-mcount.S: Likewise.
58934         * sysdeps/x86_64/_mcount.S: Likewise.
58935         * sysdeps/x86_64/sysdep.h: Likewise.
58936         * sysdeps/sh/_mcount.S: Likewise.
58937         * sysdeps/sh/sysdep.h: Likewise.
58938         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
58939         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
58940         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
58941         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58942         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
58943         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
58944         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
58945         * locale/localeinfo.h: Likewise.
58946         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
58947         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
58949 2012-07-09  Roland McGrath  <roland@hack.frob.com>
58951         [BZ #14336]
58952         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
58953         system".
58954         * manual/message.texi (The Uniforum approach): Likewise.
58955         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
58956         (glibc iconv Implementation): Likewise.
58958 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
58960         [BZ #14337]
58961         * math/s_clog.c (__clog): Avoid scaling a value down where that
58962         could result in underflow.
58963         * math/s_clog10.c (__clog10): Likewise.
58964         * math/s_clog10f.c (__clog10f): Likewise.
58965         * math/s_clog10l.c (__clog10l): Likewise.
58966         * math/s_clogf.c (__clogf): Likewise.
58967         * math/s_clogl.c (__clogl): Likewise.
58968         * math/libm-test.inc (clog_test): Add more tests.
58969         (clog10_test): Likewise.
58970         * sysdeps/i386/fpu/libm-test-ulps: Update.
58971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58973 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
58975         [BZ #14283]
58976         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
58977         by 7 not 8 to examine high bit of fractional part.
58979         [BZ #14042]
58980         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
58981         for call to __mcount_internal.
58982         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
58983         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
58984         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
58986 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
58988         [BZ #14154]
58989         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
58990         approximation for values within 0x1p-13f of an odd multiple of
58991         pi/4.
58992         * math/libm-test.inc (tan_test): Do not allow spurious underflow
58993         exception.  Add more tests.
58994         * sysdeps/i386/fpu/libm-test-ulps: Update.
58996         [BZ #6778]
58997         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
58998         inputs and return -1 for them.  Do not check for +Inf in case not
58999         reachable for +Inf.
59000         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59001         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
59002         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59003         and return -1 for them.  Do not check for +Inf in case not
59004         reachable for +Inf.
59005         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
59006         define.
59007         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59008         and return -1 for them.  Do not check for +Inf in case not
59009         reachable for +Inf.
59010         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
59011         spurious underflow.
59012         * sysdeps/i386/fpu/libm-test-ulps: Update.
59013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59015 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
59017         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
59019 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
59021         [BZ #14157]
59022         [BZ #14331]
59023         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
59024         could result in spurious underflow.  Scale down values above
59025         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
59026         * math/s_csqrtf.c (__csqrtf): Likewise.
59027         * math/s_csqrtl.c (__csqrtl): Likewise.
59028         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
59029         spurious underflow.
59030         * sysdeps/i386/fpu/libm-test-ulps: Update.
59031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59033 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
59035         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
59036         xopen-msg.sed.
59037         * catgets/xopen-msg.awk: New file.
59038         * catgets/xopen-msg.sed: Removed.
59040         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
59041         po2text.sed.
59042         * intl/po2test.awk: New file.
59043         * intl/po2test.sed: Removed.
59045 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
59047         [BZ #14328]
59048         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
59049         or multiply small sinh result by itself.
59050         * math/s_ctanf.c (__ctanf): Likewise.
59051         * math/s_ctanh.c (__ctanh): Likewise.
59052         * math/s_ctanhf.c (__ctanhf): Likewise.
59053         * math/s_ctanhl.c (__ctanhl): Likewise.
59054         * math/s_ctanl.c (__ctanl): Likewise.
59055         * math/libm-test.inc (ctan_test_tonearest): New function.
59056         (ctan_test_towardzero): Likewise.
59057         (ctan_test_downward): Likewise.
59058         (ctan_test_upward): Likewise.
59059         (ctanh_test_tonearest): Likewise.
59060         (ctanh_test_towardzero): Likewise.
59061         (ctanh_test_downward): Likewise.
59062         (ctanh_test_upward): Likewise.
59063         (main): Call these new functions.
59064         * sysdeps/i386/fpu/libm-test-ulps: Update.
59065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59067 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
59069         * .gitignore: Delete /ports entry.
59071 2012-07-03  Andreas Jaeger  <aj@suse.de>
59073         * po/bg.po: Update from translation team.
59074         * po/cs.po: Likewise.
59075         * po/de.po: Likewise.
59076         * po/hr.po: Likewise.
59077         * po/nl.pl: Likewise.
59078         * po/pl.po: Likewise.
59079         * po/vi.po: Likewise.
59081 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
59083         * Makeconfig [!+link] (+link-before-libc): New variable.
59084         [!+link] (+link-after-libc): Likewise.
59085         [!+link] (+link-tests): Likewise.
59086         [!+link] (+link): Define in terms of $(+link-before-libc) and
59087         $(+link-after-libc).
59088         [!+link-static] (+link-static-before-libc): New variable.
59089         [!+link-static] (+link-static-after-libc): Likewise.
59090         [!+link-static] (+link-static-tests): Likewise.
59091         [!+link-static] (+link-static): Define in terms of
59092         $(+link-static-before-libc) and $(+link-static-after-libc).
59093         [build-shared] (link-libc-before-gnulib): New variable.
59094         [build-shared] (link-libc-tests): Likewise.
59095         [build-shared] (link-libc): Define in terms of
59096         $(link-libc-before-gnulib).
59097         [!build-shared] (link-libc-tests): New variable.
59098         (link-libc-static-tests): New variable.
59099         [!gnulib] (gnulib-arch): New variable.
59100         [!gnulib] (gnulib-tests): Likewise.
59101         [!gnulib] (static-gnulib-arch): Likewise.
59102         [!gnulib] (static-gnulib-tests): Likewise.
59103         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
59104         Define with "=" instead of ":=".
59105         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
59106         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
59107         * Rules (binaries-all-notests): New variable.
59108         (binaries-all-tests): Likewise.
59109         (binaries-static-notests): Likewise.
59110         (binaries-static-tests): Likewise.
59111         (binaries-all): Define using $(binaries-all-notests) and
59112         $(binaries-all-tests).
59113         (binaries-static): Define using $(binaries-static-notests) and
59114         $(binaries-static-tests).
59115         (binaries-shared-tests): New variable.
59116         (binaries-shared-notests): Likewise.
59117         (binaries-shared): Remove variable.
59118         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
59119         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
59120         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
59121         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
59122         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
59123         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
59124         * elf/Makefile (sln-modules): New variable.
59125         (extra-objs): Add $(sln-modules:=.o).
59126         (ldconfig-modules): Add static-stubs.
59127         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
59128         * elf/static-stubs.c: New file.
59130         [BZ #14283]
59131         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
59132         by 7 not 8 to examine high bit of fractional part.  Use volatile
59133         variables when splitting into final array of floats if
59134         __FLT_EVAL_METHOD__ != 0.
59135         * math/libm-test.inc (cos_test): Add another test.
59136         (sin_test): Likewise.
59137         * sysdeps/i386/fpu/libm-test-ulps: Update.
59139         [BZ #14273]
59140         * math/libm-test.inc (cosh_test): Add more tests.
59142         * version.h (RELEASE): Set to "development".
59143         (VERSION): Set to "2.16.90".
59145 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
59147         * NEWS: Update copyright. Remove last-updated date.
59148         Mention math library bug fixes and timezone data changes.
59149         * README: Mention GNU/Hurd, x32, and HPPA support status.
59151 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
59153         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
59155 2012-06-27  Andreas Jaeger  <aj@suse.de>
59157         * manual/contrib.texi (Contributors): Add Samuel Thibault.
59159 2012-06-25  Andreas Jaeger  <aj@suse.de>
59161         * sysdeps/s390/fpu/libm-test-ulps: Update.
59163 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
59164             Thomas Schwinge  <thomas@codesourcery.com>
59166         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
59167         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
59168         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
59169         fanotify_mark.
59171 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
59173         * sysdeps/mach/start.c: Remove file.
59174         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
59175         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
59176         * sysdeps/sh/init-first.c: Likewise.
59178         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
59179         registers for frame unwinding purposes, add CFI directives.
59180         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59181         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
59182         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
59183         Likewise.
59185         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
59186         __fortify_fail returning.
59187         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59189         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
59190         sysdeps/sh/____longjmp_chk.S.
59191         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
59192         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
59193         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
59194         (gen-as-const-headers): Append sigaltstack-offsets.sym.
59196         * sysdeps/sh/abort-instr.h: New file.
59197         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
59198         process in case exit returns.
59200         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
59201         initialize the GOT register before use.
59203         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
59204         calculation of ARGC > 4.
59206         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
59207         meaningful names to some local labels.
59209 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59210             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59212         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
59213         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
59214         (__arch_compare_and_exchange_val_16_acq): Likewise.
59215         (__arch_compare_and_exchange_val_32_acq): Likewise.
59216         (atomic_exchange_and_add): Fix gUSA sequence.
59217         (atomic_add): Likewise.
59218         (atomic_add_negative): Likewise.
59219         (atomic_add_zero): Likewise.
59220         (atomic_bit_test_set): Likewise.
59222 2012-06-22  Andreas Schwab  <schwab@redhat.com>
59224         [BZ #13579]
59225         * include/link.h (struct link_map): Add l_free_initfini.
59226         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
59227         l_initfini.
59228         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
59229         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
59230         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
59231         set.
59233 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
59235         * configure.in: Use AC_LANG_SOURCE.
59236         * configure: Regenerate.
59238 2012-06-22  Roland McGrath  <roland@hack.frob.com>
59240         * configure.in (libc_cv_localstatedir): New substituted variable.
59241         * configure: Regenerated.
59242         * config.make.in (localstatedir): New variable, substituted from
59243         libc_cv_localstatedir.
59244         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
59245         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
59246         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
59247         * sysdeps/gnu/configure: Regenerated.
59249 2012-06-21  Jeff Law  <law@redhat.com>
59251         [BZ #14277]
59252         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
59253         free.  Simplify list management for _LIBC case.
59255 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
59257         [BZ #14273]
59258         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
59259         Clear sign bit of 64-bit integer value before comparing against
59260         overflow value.
59262         * sysdeps/mach/configure: Regenerated.
59264 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
59266         [BZ #14278]
59267         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
59269 2012-06-21  Jeff Law  <law@redhat.com>
59271         [BZ #13882]
59272         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
59273         uint16_t for elements in the "seen" array to avoid char overflows.
59274         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59275         * elf/dl-open.c (dl_open_worker): Likewise.
59277 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
59279         * scripts/list-sources.sh: Scan PORTS for translations.
59280         * po/libc.pot: Regenerated.
59282 2012-06-21  Andreas Jaeger  <aj@suse.de>
59284         [BZ #12194]
59285         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
59286         warning.
59287         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
59288         * bits/byteswap-16.h (__bswap_16): Likewise.
59289         * bits/byteswap.h (__bswap_constant_16): Likewise.
59291 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
59293         [BZ #14117]
59294         * sysdeps/i386/fpu_control.h: Removed.
59295         * sysdeps/x86_64/fpu_control.h: Moved to ...
59296         * sysdeps/x86/fpu_control.h: Here.
59298         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
59299         (_FPU_SETCW): Likewise.
59301 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
59303         [BZ #14117]
59304         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
59305         * sysdeps/x86/fpu/bits/mathinline.h: This.
59306         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
59308         [BZ #14050]
59309         [BZ #14117]
59310         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
59311         functions if __x86_64__ is defined.
59313 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
59315         * string/endian.h: Add !__ASSEMBLER__ condition for including
59316         conversion interfaces.
59318 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
59320         [BZ #14241]
59321         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
59322         of ABS(x) in calculating zero to negative powers other than odd
59323         integers.
59324         * math/libm-test.inc (pow_test): Add more tests.
59326 2012-06-15  Andreas Jaeger  <aj@suse.de>
59328         * manual/contrib.texi (Contributors): Update entry of Liubov
59329         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
59330         Machado Filho.
59332 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
59334         * string/string.h: Add __wur to GNU version of strerror_r.
59336 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
59338         [BZ #14229]
59339         * string/Makefile (tests): Add tst-strtok_r.
59340         * string/tst-strtok_r.c: New file.
59341         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
59342         RAX_LP/RDX_LP on SAVE_PTR.
59344 2012-06-14  Roland McGrath  <roland@hack.frob.com>
59346         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
59348 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
59350         * libm_test.inc (csqrt_test): Allow more spurious underflow
59351         exceptions.
59352         (j0_test): Likewise.
59353         (j1_test): Likewise.
59354         (y0_test): Likewise.
59355         (y1_test): Likewise.
59357 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
59359         * po/Makefile (libc.pot): Use UTF-8 charset.
59361 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
59363         [BZ #14210]
59364         Suppress sign-conversion warning from FD_SET.
59365         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
59366         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
59367         not unsigned long int.
59368         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
59370 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
59372         [BZ #14050]
59373         [BZ #14117]
59374         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
59375         __extern_always_inline instead of __extern_inline.
59376         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
59377         (__signbit): Likewise.
59378         (__signbitl): Support C++ namespace.
59379         (lrintf): New inline function.
59380         (lrint): Likewise.
59381         (llrintf): Likewise.
59382         (llrint): Likewise.
59383         (fmaxf): Likewise.
59384         (fmax): Likewise.
59385         (fminf): Likewise.
59386         (fmin): Likewise.
59387         (rint): Likewise.
59388         (rintf): Likewise.
59389         (ceil): Likewise.
59390         (ceilf): Likewise.
59391         (floor): Likewise.
59392         (floorf): Likewise.
59393         (nearbyint): Likewise.
59394         (nearbyintf): Likewise.
59396 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
59398         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
59399         non-default versions.
59401 2012-06-11  Roland McGrath  <roland@hack.frob.com>
59403         [BZ #14218]
59404         * manual/argp.texi (Argp): Reword argp_parse description slightly.
59406 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
59408         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
59409         (FE_UPWARD, FE_DOWNWARD): Don't define.
59410         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
59411         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59413         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
59414         reading it.
59415         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59416         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59418 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59420         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59421         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
59422         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
59423         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
59425 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
59427         [BZ #14117]
59428         * sysdeps/i386/fpu/bits/fenv.h: Removed.
59429         * sysdeps/i386/fpu/Implies: New file.
59430         * sysdeps/x86_64/fpu/Implies: Likewise.
59431         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
59432         * sysdeps/x86/fpu/bits/fenv.h: This.
59434         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
59435         __SSE_MATH__.
59437 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59439         [BZ #14134]
59440         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
59441         character 0xffff that matches the last element of the
59442         conversion table.
59444 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59446         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
59447         fmodl commit.
59449 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59451         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
59452         values higher than 25.6283.
59454 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59456         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
59457         subnormal exponent extraction and add some __builtin_expect.
59458         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
59459         Fix for subnormal mantissa calculation.
59461 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
59463         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
59464         cpu2 is -1 and errno is not ENOSYS.
59466 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
59468         [BZ #14117]
59469         * sysdeps/i386/i486/bits/string.h: Renamed to ...
59470         * sysdeps/x86/bits/string.h: This.
59471         * sysdeps/x86_64/bits/string.h: Removed.
59473         * sysdeps/i386/i486/bits/string.h: Define inline functions only
59474         if not compiling for x86-64, but compiling for >= i486.
59476         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
59477         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
59479         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
59480         New macro from Linux kernel 3.4.0.
59481         (FP_XSTATE_MAGIC2): Likewise.
59482         (FP_XSTATE_MAGIC2_SIZE): Likewise.
59483         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
59484         (struct _fpx_sw_bytes): New struct.
59485         (struct _xsave_hdr): Likewise.
59486         (struct _ymmh_state): Likewise.
59487         (struct _xstate): Likewise.
59489         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
59490         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
59491         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
59492         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
59493         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
59494         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
59496         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
59497         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
59498         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
59499         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
59500         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
59501         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
59503 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59505         [BZ #13743]
59506         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
59507         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
59508         (sysdep_headers): Include sys/platform/ppc.h.
59509         * sysdeps/powerpc/test-gettimebase.c: Test for
59510         __ppc_get_timebase() to catch future ISA opcode/insn changes.
59511         * manual/Makefile (appendices): Include platform.texi.
59512         * manual/contrib.texi (Contributors): Update @node pointers.
59513         * manual/maint.texi (Maintenance): Likewise.
59514         (Platform): New node.
59515         * manual/platform.texi: New file.  Document the new features.
59517 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59518             Jakub Jelinek  <jakub@redhat.com>
59520         [BZ #14188]
59521         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
59522         where __builtin_expect is unavailable.
59524 2012-06-03  David S. Miller  <davem@davemloft.net>
59526         * stdlib/longlong.h: Updated from GCC.
59528 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
59530         [BZ #14042]
59531         * sysdeps/powerpc/powerpc32/mcount.c: New file.
59532         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
59533         __mcount_internal.
59534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59535         (GLIBC_2.16): Likewise.
59537 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59539         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
59541 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
59544         (default-abi): New variable.
59545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
59546         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
59547         variable.
59548         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
59549         Likewise.
59550         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
59551         Likewise.
59552         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
59553         Likewise.
59555         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
59556         definition.  Document in comment.
59558 2012-06-01  David S. Miller  <davem@davemloft.net>
59560         * stdlib/longlong.h: Updated from GCC.
59562 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59564         [BZ #14117]
59565         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
59566         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
59567         sys/debugreg.h sys/io.h here.
59568         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
59569         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
59570         sys/io.h.
59571         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
59572         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
59573         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
59574         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
59575         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
59576         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
59578         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
59579         Define only if __x86_64__ is defined.
59581 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59583         [BZ #14048]
59584         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
59585         Use int64_t for variable i.
59586         * math/libm-test.inc (fmod_test): Add more tests.
59588         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
59589         z computation is not scheduled after fetestexcept.
59590         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
59591         Use math_force_eval instead of asm to ensure calculation scheduled
59592         before exception test.
59593         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
59594         Ensure a1 + u.d computation is not scheduled after fetestexcept.
59596 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
59598         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
59599         computation is not scheduled after fetestexcept.
59601 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59603         [BZ #14117]
59604         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
59605         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
59607 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59609         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
59610         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59612 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59614         [BZ #14117]
59615         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
59616         <bits/wordsize.h>.
59617         (__WCHAR_MIN): Support __WORDSIZE == 64.
59618         (__WCHAR_MAX): Likewise.
59620         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
59621         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
59623         [BZ #14183]
59624         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
59625         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
59627         [BZ #14117]
59628         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
59629         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
59631         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
59632         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
59634         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
59635         Defined to 1 if __x86_64__ isn't defined.
59636         (_STAT_VER_LINUX_OLD): New.
59637         (st_atime): Remove duplicate.
59638         (st_mtime): Likewise.
59639         (st_ctime): Likewise.
59641 2012-05-31  David S. Miller  <davem@davemloft.net>
59643         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
59644         entries.
59646 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
59648         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
59649         gen-libm-test.pl.
59651         [BZ #14132]
59652         * elf/dl-reloc.c: Include <_itoa.h>.
59653         (_dl_reloc_bad_type): Remove use of INTUSE.
59654         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
59655         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
59656         * stdio-common/psiginfo.c (psiginfo): Likewise.
59657         * stdio-common/psignal.c (psignal): Likewise.
59658         * string/strsignal.c (strsignal): Likewise.
59659         * include/signal.h (_sys_siglist): Declare hidden proto.
59660         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
59661         INTVARDEF with libc_hidden_data_def.
59662         * stdio-common/itoa-udigits.c: Likewise.
59663         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
59664         (_itoa_lower_digits_internal): Remove declaration.
59665         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
59666         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
59667         (_sys_sigabbrev_internal): Remove aliases.
59668         (_sys_siglist): Define hidden alias.
59670 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
59672         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59673         bits/sysctl.h.
59675 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59677         [BZ #14117]
59678         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
59679         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
59681         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
59682         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
59683         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
59684         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
59685         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
59686         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
59688         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
59689         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
59690         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
59692         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
59693         with __addr.
59694         (insw): Likewise.
59695         (insl): Likewise.
59696         (outsb): Likewise.
59697         (outsw): Likewise.
59698         (outsl): Likewise.
59700         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
59701         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
59702         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
59704         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
59705         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
59706         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
59707         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
59708         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
59709         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
59711         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
59712         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
59714         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
59715         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
59717         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
59718         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
59719         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
59721         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
59722         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
59723         to ...
59724         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
59726         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
59727         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
59728         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
59730         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
59731         for x86-64.
59732         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
59734 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
59736         * math/math.h (M_El): Use two more decimal places.
59737         (M_LOG2El): Likewise.
59738         (M_LOG10El): Likewise.
59739         (M_LN2l): Likewise.
59740         (M_LN10l): Likewise.
59741         (M_PIl): Likewise.
59742         (M_PI_2l): Likewise.
59743         (M_PI_4l): Likewise.
59744         (M_1_PIl): Likewise.
59745         (M_2_PIl): Likewise.
59746         (M_2_SQRTPIl): Likewise.
59747         (M_SQRT2l): Likewise.
59748         (M_SQRT1_2l): Likewise.
59750 2012-05-31  David S. Miller  <davem@davemloft.net>
59752         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
59753         values between float registers.
59754         * sysdeps/sparc/sparc64/memset.S: Likewise.
59755         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59757 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
59759         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
59760         -D_FORTIFY_SOURCE=1.
59761         (CPPFLAGS-tst-longjmp_chk.c): Define.
59762         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
59763         (CPPFLAGS-tst-longjmp_chk2.c): Define.
59764         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
59765         CFLAGS-tst-wchar-h.c.
59767 2012-05-31  Marek Polacek  <polacek@redhat.com>
59769         [BZ #14132]
59770         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
59771         __endmntent_internal): Remove declaration.
59772         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
59773         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
59774         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
59776 2012-05-30  David S. Miller  <davem@davemloft.net>
59778         * sysdeps/sparc/sparc32/soft-fp/q_util.c
59779         (___Q_simulate_exceptions): Use real FP ops rather than writing
59780         into the %fsr.
59781         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
59782         Likewise.
59784 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59786         [BZ #14117]
59787         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
59788         * sysdeps/x86/bits/xtitypes.h: This.
59790         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
59791         * sysdeps/x86/bits/wordsize.h: This.
59793         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
59794         * sysdeps/x86/bits/huge_vall.h: This.
59796         * sysdeps/i386/bits/select.h: Removed.
59797         * sysdeps/x86_64/bits/select.h: Renamed to ...
59798         * sysdeps/x86/bits/select.h: This.
59800         * sysdeps/i386/bits/setjmp.h: Removed.
59801         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
59802         * sysdeps/x86/bits/setjmp.h: This.
59804         * sysdeps/i386/bits/mathdef.h: Removed.
59805         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
59806         * sysdeps/x86/bits/mathdef.h: This.
59808 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
59810         [BZ #14132]
59811         * include/sys/socket.h (__connect_internal)
59812         (__libc_sa_len_internal): Remove declaration.
59813         (__connect, __libc_sa_len): Declare hidden_proto.
59814         (SA_LEN): Remove use of INTUSE.
59815         * socket/connect.c: Add libc_hidden_def.
59816         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
59817         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
59818         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
59819         alias.
59820         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
59821         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
59822         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
59823         of adding _internal alias.
59825 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59827         [BZ #14117]
59828         * sysdeps/i386/bits/link.h: Removed.
59829         * sysdeps/i386/bits/linkmap.h: Likewise.
59830         * sysdeps/x86_64/bits/link.h: Renamed to ...
59831         * sysdeps/x86/bits/link.h: This.
59832         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
59833         * sysdeps/x86/bits/linkmap.h: This.
59835         * sysdeps/i386/bits/endian.h: Removed.
59836         * sysdeps/x86_64/bits/endian.h: Renamed to ...
59837         * sysdeps/x86/bits/endian.h: This.
59839         * sysdeps/i386/bits/byteswap.h: Removed.
59840         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59841         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
59842         * sysdeps/x86/bits/byteswap.h: This.
59843         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
59844         * sysdeps/x86/bits/byteswap-16.h: This.
59845         * sysdeps/i386/Implies: Add x86.
59846         * sysdeps/x86_64/Implies: Likewise.
59848 2012-05-30  David S. Miller  <davem@davemloft.net>
59850         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
59851         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
59852         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
59853         (FP_TRAPPING_EXCEPTIONS): Define.
59854         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
59855         (FP_TRAPPING_EXCEPTIONS): Define.
59856         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
59857         subnormals only when inexact has been signalled or underflow
59858         exceptions are enabled.
59859         (_FP_PACK_CANONICAL): Likewise.
59861 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59863         [BZ #14183]
59864         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
59865         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
59867 2012-05-30  Richard Henderson  <rth@twiddle.net>
59869         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
59870         with #ifndef NOT_IN_libc.
59872         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
59873         marked to avoid plt entry.
59875 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59877         [BZ #14112]
59878         * Makeconfig (default-abi): New macro.
59879         (abi-includes): Likewise.
59880         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
59881         $(abi-$(default-abi)-lib-soname) for soname if defined.
59882         ($(common-objpfx)gnu/lib-names.stmp): Generate from
59883         abi-variants.
59884         * Makefile (installed-stubs): Likewise.
59885         * include/stubs-biarch.h: Removed.
59886         * scripts/lib-names.awk: Only handle one library at a time.
59887         * scripts/soversions.awk: Remove WORDSIZE support.
59888         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
59889         entries.
59890         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
59891         Removed.
59892         (syscall-list-default-condition): Likewise.
59893         (syscall-list-default-condition): Likewise.
59894         (syscall-list-includes): Likewise.
59895         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
59896         syscall-list-* with abi-*.  Handle undefined abi-variants.
59897         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
59898         * sysdeps/unix/sysv/linux/i386/Implies: New file.
59899         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
59900         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
59901         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
59902         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
59903         Removed.
59904         (syscall-list-32-options): Likewise.
59905         (syscall-list-32-condition): Likewise.
59906         (syscall-list-64-options): Likewise.
59907         (syscall-list-64-condition): Likewise.
59908         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
59909         macro.
59910         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
59911         Renamed to ...
59912         (abi-*): This.
59913         (abi-64-ld-soname): New macro.
59914         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
59915         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
59916         Renamed to ...
59917         (abi-*): This.
59918         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
59919         * sysdeps/x86_64/x32/shlib-versions: Likewise.
59921 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
59923         * sysdeps/unix/sysv/linux/kernel-features.h
59924         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
59925         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
59926         include <kernel-features.h>.
59927         [!__NR_ftruncate64]: Remove conditional code.
59928         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59929         [__NR_ftruncate64]: Make code unconditional.
59930         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59931         * sysdeps/unix/sysv/linux/truncate64.c: Do not
59932         include <kernel-features.h>.
59933         [!__NR_ftruncate64]: Remove conditional code.
59934         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59935         [__NR_ftruncate64]: Make code unconditional.
59936         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
59938         include <kernel-features.h>.
59939         [!__NR_ftruncate64]: Remove conditional code.
59940         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59941         [__NR_ftruncate64]: Make code unconditional.
59942         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59944         include <kernel-features.h>.
59945         [!__NR_ftruncate64]: Remove conditional code.
59946         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59947         [__NR_ftruncate64]: Make code unconditional.
59948         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59950         * configure.in (libc_cv_fpie): Weaken to a compile test using
59951         LIBC_TRY_CC_OPTION.
59952         * configure: Regenerated.
59954 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
59957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
59958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
59959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59960         Refreshed.
59961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
59962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
59963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
59964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
59965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
59966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59967         Refreshed.
59969 2012-05-27  David S. Miller  <davem@davemloft.net>
59971         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
59972         (___Q_zero): New.
59973         (__Q_simulate_exceptions): Return void.  Change to simulate
59974         exceptions by writing into the %fsr.
59975         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
59976         (__Qp_handle_exceptions): Likewise.
59977         (numbers): Delete.
59978         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
59979         __Qp_handle_exceptions.
59980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
59981         __Qp_handle_exceptions.
59982         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59983         as unused and give dummy FP_RND_NEAREST initializer.
59984         (FP_INHIBIT_RESULTS): Define.
59985         (___Q_simulate_exceptions): Update declaration.
59986         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
59987         formatting.
59988         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59989         as unused and give dummy FP_RND_NEAREST initializer.
59990         (__Qp_handle_exceptions): Update declaration.
59991         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
59992         formatting.
59994 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
59996         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
59997         the temporary FPU control word.
59998         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
59999         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
60000         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
60001         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60002         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60003         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
60004         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
60005         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60006         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
60007         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
60008         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60010 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60012         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
60013         fields.
60015 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
60017         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
60018         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
60019         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
60020         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
60021         Likewise.
60022         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
60023         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
60024         Likewise.
60026 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
60028         * po/h.po: Update from translation team.
60030 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
60032         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
60034         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
60035         handling of denormals.
60036         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60037         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
60038         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60039         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60040         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60041         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
60042         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
60043         Likewise.
60045 2012-05-26  Marek Polacek  <polacek@redhat.com>
60047         [BZ #14152]
60048         * math/libm-test.inc (fma_test): Don't always expect underflow
60049         exception.
60051 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60053         [BZ #12416]
60054         * elf/tst-execstack.c: Include stackinfo.h.
60055         (do_test): Adjust test case to ensure that pthread_getattr_np
60056         behaviour remains the same after marking stack executable.
60058 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60060         * sysdeps/unix/sysv/linux/kernel-features.h
60061         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
60062         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
60063         kernel-features.h.
60064         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60065         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60066         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
60067         kernel-features.h.
60068         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60069         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60071 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
60073         * configure.in: Define the default includes to being none.
60074         * configure: Regenerated.
60076 2012-05-25  Roland McGrath  <roland@hack.frob.com>
60078         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
60079         * sysdeps/x86_64/setjmp.S: Likewise.
60080         * sysdeps/i386/bsd-setjmp.S: Likewise.
60081         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60082         * sysdeps/i386/setjmp.S: Likewise.
60083         * sysdeps/i386/__longjmp.S: Likewise.
60084         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60085         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
60087         * include/stap-probe.h: New file.
60088         * configure.in: Handle --enable-systemtap.
60089         * configure: Regenerated.
60090         * config.h.in (USE_STAP_PROBE): New #undef.
60091         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
60092         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
60093         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
60095 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60097         [BZ #13717]
60098         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60099         to 2.4.0 where earlier.
60100         * sysdeps/unix/sysv/linux/configure: Regenerated.
60101         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60102         <kernel-features.h>.
60103         [__ASSUME_32BITUIDS]: Make code unconditional.
60104         [!__ASSUME_32BITUIDS]: Remove conditional code.
60105         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
60106         <kernel-features.h>.
60107         [__ASSUME_32BITUIDS]: Make code unconditional.
60108         [!__ASSUME_32BITUIDS]: Remove conditional code.
60109         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
60110         [__ASSUME_32BITUIDS]: Make code unconditional.
60111         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
60112         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
60113         <kernel-features.h>.
60114         [__ASSUME_32BITUIDS]: Make code unconditional.
60115         [!__ASSUME_32BITUIDS]: Remove conditional code.
60116         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
60117         <kernel-features.h>.
60118         [__ASSUME_32BITUIDS]: Make code unconditional.
60119         [!__ASSUME_32BITUIDS]: Remove conditional code.
60120         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
60121         <kernel-features.h>.
60122         [__ASSUME_32BITUIDS]: Make code unconditional.
60123         [!__ASSUME_32BITUIDS]: Remove conditional code.
60124         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
60125         <kernel-features.h>.
60126         [__ASSUME_32BITUIDS]: Make code unconditional.
60127         [!__ASSUME_32BITUIDS]: Remove conditional code.
60128         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60129         <kernel-features.h>.
60130         [__ASSUME_32BITUIDS]: Make code unconditional.
60131         [!__ASSUME_32BITUIDS]: Remove conditional code.
60132         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60133         <kernel-features.h>.
60134         [__ASSUME_32BITUIDS]: Make code unconditional.
60135         [!__ASSUME_32BITUIDS]: Remove conditional code.
60136         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
60137         <kernel-features.h>.
60138         [__ASSUME_32BITUIDS]: Make code unconditional.
60139         [!__ASSUME_32BITUIDS]: Remove conditional code.
60140         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60141         <kernel-features.h>.
60142         [__ASSUME_32BITUIDS]: Make code unconditional.
60143         [!__ASSUME_32BITUIDS]: Remove conditional code.
60144         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60145         <kernel-features.h>.
60146         [__ASSUME_32BITUIDS]: Make code unconditional.
60147         [!__ASSUME_32BITUIDS]: Remove conditional code.
60148         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
60149         <kernel-features.h>.
60150         [__ASSUME_32BITUIDS]: Make code unconditional.
60151         [!__ASSUME_32BITUIDS]: Remove conditional code.
60152         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
60153         <kernel-features.h>.
60154         [__NR_setresgid] (__setresgid): Do not declare.
60155         [__ASSUME_32BITUIDS]: Make code unconditional.
60156         [!__ASSUME_32BITUIDS]: Remove conditional code.
60157         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
60158         <kernel-features.h>.
60159         [__NR_setresuid] (__setresuid): Do not declare.
60160         [__ASSUME_32BITUIDS]: Make code unconditional.
60161         [!__ASSUME_32BITUIDS]: Remove conditional code.
60162         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
60163         <kernel-features.h>.
60164         [__ASSUME_32BITUIDS]: Make code unconditional.
60165         [!__ASSUME_32BITUIDS]: Remove conditional code.
60166         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
60167         <kernel-features.h>.
60168         [__ASSUME_32BITUIDS]: Make code unconditional.
60169         [!__ASSUME_32BITUIDS]: Remove conditional code.
60170         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
60171         <kernel-features.h>.
60172         [__ASSUME_32BITUIDS]: Make code unconditional.
60173         [!__ASSUME_32BITUIDS]: Remove conditional code.
60174         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
60175         <kernel-features.h>.
60176         [__ASSUME_32BITUIDS]: Make code unconditional.
60177         [!__ASSUME_32BITUIDS]: Remove conditional code.
60178         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
60179         <kernel-features.h>.
60180         [__ASSUME_32BITUIDS]: Make code unconditional.
60181         [!__ASSUME_32BITUIDS]: Remove conditional code.
60182         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
60183         <kernel-features.h>.
60184         [__ASSUME_32BITUIDS]: Make code unconditional.
60185         [!__ASSUME_32BITUIDS]: Remove conditional code.
60186         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
60187         <kernel-features.h>.
60188         [__ASSUME_32BITUIDS]: Make code unconditional.
60189         [!__ASSUME_32BITUIDS]: Remove conditional code.
60190         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
60191         <kernel-features.h>.
60192         [__ASSUME_32BITUIDS]: Make code unconditional.
60193         [!__ASSUME_32BITUIDS]: Remove conditional code.
60194         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
60195         <kernel-features.h>.
60196         [__ASSUME_32BITUIDS]: Make code unconditional.
60197         [!__ASSUME_32BITUIDS]: Remove conditional code.
60198         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60199         <kernel-features.h>.
60200         [__ASSUME_32BITUIDS]: Make code unconditional.
60201         [!__ASSUME_32BITUIDS]: Remove conditional code.
60202         * sysdeps/unix/sysv/linux/kernel-features.h
60203         (__ASSUME_SETRESUID_SYSCALL): Remove.
60204         (__ASSUME_SETRESGID_SYSCALL): Likewise.
60205         (__ASSUME_32BITUIDS): Likewise.
60206         (__ASSUME_LDT_WORKS): Likewise.
60207         (__ASSUME_O_DIRECTORY): Likewise.
60208         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
60209         architecture but not kernel version.
60210         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
60211         (__ASSUME_MMAP2_SYSCALL): Likewise.
60212         (__ASSUME_STAT64_SYSCALL): Likewise.
60213         (__ASSUME_IPC64): Likewise.
60214         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
60215         <kernel-features.h>.
60216         [__ASSUME_32BITUIDS]: Make code unconditional.
60217         [!__ASSUME_32BITUIDS]: Remove conditional code.
60218         * sysdeps/unix/sysv/linux/opendir.c: Do not include
60219         <kernel-features.h>.
60220         [__ASSUME_O_DIRECTORY]: Make code unconditional.
60221         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
60222         132096]: Remove conditional code.
60223         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
60224         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60225         <kernel-features.h>.
60226         [__ASSUME_32BITUIDS]: Make code unconditional.
60227         [!__ASSUME_32BITUIDS]: Remove conditional code.
60228         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60229         <kernel-features.h>.
60230         [__ASSUME_32BITUIDS]: Make code unconditional.
60231         [!__ASSUME_32BITUIDS]: Remove conditional code.
60232         * sysdeps/unix/sysv/linux/setegid.c: Do not include
60233         <kernel-features.h>.
60234         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
60235         unconditional.
60236         (__setresgid): Do not declare.
60237         [__ASSUME_32BITUIDS]: Make code unconditional.
60238         [!__ASSUME_32BITUIDS]: Remove conditional code.
60239         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
60240         <kernel-features.h>.
60241         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
60242         unconditional.
60243         (__setresuid): Do not declare.
60244         [__ASSUME_32BITUIDS]: Make code unconditional.
60245         [!__ASSUME_32BITUIDS]: Remove conditional code.
60246         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60247         <kernel-features.h>.
60248         [__ASSUME_32BITUIDS]: Make code unconditional.
60249         [!__ASSUME_32BITUIDS]: Remove conditional code.
60250         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
60251         <kernel-features.h>.
60252         [__ASSUME_32BITUIDS]: Make code unconditional.
60253         [!__ASSUME_32BITUIDS]: Remove conditional code.
60255 2012-05-25  Richard Henderson  <rth@twiddle.net>
60257         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
60258         dl_hwcap to ifunc resolver.
60259         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
60260         elf_ifunc_invoke.
60261         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
60262         dl_hwcap to ifunc resolver.
60263         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
60265 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60267         [BZ #14153]
60268         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
60269         for |x| <= 2**-26, not 2**-57.
60270         * math/libm-test.inc (acos_test): Do not allow spurious underflow
60271         exception.
60273 2012-05-24  Jeff Law  <law@redhat.com>
60275         * stdio-common/Makefile (tests): Add bug25.
60276         * stdio-common/bug25.c: New test.
60278 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60280         [BZ #13576]
60281         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
60282         multiple of MALLOC_ALIGNMENT in size.
60283         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
60285 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60287         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
60288         Require >= 256.
60289         (FILENAME_MAX): Use macro-int-constant.
60290         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
60291         (_IOFBF): Use macro-int-constant.
60292         (_IOLBF): Likewise.
60293         (_IONBF): Likewise.
60294         (SEEK_CUR): Likewise.
60295         (SEEK_END): Likewise.
60296         (SEEK_SET): Likewise.
60297         (TMP_MAX): Likewise.
60298         (EOF): Use macro-int-constant.  Require < 0.
60299         (NULL): Use macro-constant.  Require == 0.
60300         (stdin): Require type to be FILE *.
60301         (stdout): Likewise.
60302         (stderr): Likewise.
60303         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
60304         macro-int-constant.
60305         (EXIT_SUCCESS): Likewise.
60306         (NULL): Use macro-constant.  Require == 0.
60307         (RAND_MAX): Use macro-int-constant.
60308         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
60309         [C99-based standards] (strtof): Require function.
60310         [C99-based standards] (strtold): Likewise.
60311         [C99-based standards] (strtoll): Likewise.
60312         [C99-based standards] (strtoull): Likewise.
60313         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60314         [ISO || ISO99 || ISO11] (limits.h): Likewise.
60315         [ISO || ISO99 || ISO11] (math.h): Likewise.
60316         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
60317         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60318         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60320 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
60322         [BZ #14132]
60323         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
60324         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
60325         * intl/dgettext.c (DCGETTEXT): Likewise.
60326         * intl/gettext.c (DCGETTEXT): Likewise.
60327         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
60328         * posix/regex_internal.h (gettext): Likewise.
60329         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
60330         Remove declaration.
60331         * include/argz.h (__argz_count_internal)
60332         (__argz_stringify_internal): Remove declaration.
60333         (__argz_count, __argz_stringify): Declare hidden proto.
60334         * intl/dcgettext.c: Remove use of INTDEF.
60335         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
60336         * string/argz-stringify.c: Likewise.
60337         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60338         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60339         Declare hidden proto.
60340         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60341         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60342         Declare hidden proto.
60343         * include/stdio.h (__asprintf_internal): Don't declare.
60344         (__asprintf): Don't define as macro.  Declare hidden proto.
60345         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
60346         (__fsetlocking): Declare hidden proto.
60347         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
60348         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
60349         hidden proto.
60350         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
60351         (_IO_setlinebuf): Remove use of INTUSE.
60352         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
60353         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
60354         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
60355         Remove declaration.
60356         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
60357         (_IO_do_flush): Remove use of INTUSE.
60358         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
60359         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
60360         (_IO_adjust_column, _IO_least_wmarker)
60361         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
60362         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
60363         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
60364         (_IO_default_doallocate, _IO_wdefault_doallocate)
60365         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
60366         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
60367         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
60368         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
60369         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
60370         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
60371         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
60372         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
60373         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
60374         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
60375         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
60376         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
60377         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
60378         proto.
60379         (_IO_flush_all_internal, _IO_adjust_column_internal)
60380         (_IO_default_uflow_internal, _IO_default_finish_internal)
60381         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
60382         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
60383         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
60384         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
60385         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
60386         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
60387         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
60388         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
60389         (_IO_file_close_internal, _IO_file_close_it_internal)
60390         (_IO_file_underflow_internal, _IO_file_overflow_internal)
60391         (_IO_file_init_internal, _IO_file_attach_internal)
60392         (_IO_file_fopen_internal, _IO_file_read_internal)
60393         (_IO_file_sync_internal, _IO_file_seek_internal)
60394         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
60395         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
60396         (_IO_str_underflow_internal, _IO_str_overflow_internal)
60397         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
60398         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
60399         (_IO_list_all_internal, _IO_link_in_internal)
60400         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
60401         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
60402         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
60403         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
60404         (_IO_do_write_internal, _IO_padn_internal)
60405         (_IO_getline_info_internal, _IO_getline_internal)
60406         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
60407         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
60408         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
60409         (_IO_vfscanf_internal, _IO_vfprintf_internal)
60410         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
60411         (_IO_init_internal, _IO_un_link_internal): Don't declare.
60412         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
60413         with libc_hidden_ver, remove use of INTUSE.
60414         * libio/genops.c: Likewise.
60415         * libio/freopen.c: Likewise.
60416         * libio/freopen64.c: Likewise.
60417         * libio/iofclose.c: Likewise.
60418         * libio/iofdopen.c: Likewise.
60419         * libio/iofflush.c: Likewise.
60420         * libio/iofflush_u.c: Likewise.
60421         * libio/iofgets.c: Likewise.
60422         * libio/iofgets_u.c: Likewise.
60423         * libio/iofopen.c: Likewise.
60424         * libio/iofopncook.c: Likewise.
60425         * libio/iofread.c: Likewise.
60426         * libio/iofread_u.c: Likewise.
60427         * libio/ioftell.c: Likewise.
60428         * libio/iofwrite.c: Likewise.
60429         * libio/iogetline.c: Likewise.
60430         * libio/iogets.c: Likewise.
60431         * libio/iogetwline.c: Likewise.
60432         * libio/iopadn.c: Likewise.
60433         * libio/iopopen.c: Likewise.
60434         * libio/ioseekoff.c: Likewise.
60435         * libio/ioseekpos.c: Likewise.
60436         * libio/iosetbuffer.c: Likewise.
60437         * libio/iosetvbuf.c: Likewise.
60438         * libio/ioungetc.c: Likewise.
60439         * libio/ioungetwc.c: Likewise.
60440         * libio/iovdprintf.c: Likewise.
60441         * libio/iovsprintf.c: Likewise.
60442         * libio/iovsscanf.c: Likewise.
60443         * libio/memstream.c: Likewise.
60444         * libio/obprintf.c: Likewise.
60445         * libio/oldfileops.c: Likewise.
60446         * libio/oldiofclose.c: Likewise.
60447         * libio/oldiofdopen.c: Likewise.
60448         * libio/oldiofopen.c: Likewise.
60449         * libio/oldiopopen.c: Likewise.
60450         * libio/oldstdfiles.c: Likewise.
60451         * libio/putc.c: Likewise.
60452         * libio/setbuf.c: Likewise.
60453         * libio/setlinebuf.c: Likewise.
60454         * libio/stdfiles.c: Likewise.
60455         * libio/strops.c: Likewise.
60456         * libio/vasprintf.c: Likewise.
60457         * libio/vscanf.c: Likewise.
60458         * libio/vsnprintf.c: Likewise.
60459         * libio/vswprintf.c: Likewise.
60460         * libio/wfiledoalloc.c: Likewise.
60461         * libio/wfileops.c: Likewise.
60462         * libio/wgenops.c: Likewise.
60463         * libio/wmemstream.c: Likewise.
60464         * libio/wstrops.c: Likewise.
60465         * libio/__fpurge.c: Likewise.
60466         * libio/__fsetlocking.c: Likewise.
60467         * assert/assert.c: Likewise.
60468         * debug/fgets_chk.c: Likewise.
60469         * debug/fgets_u_chk.c: Likewise.
60470         * debug/fread_chk.c: Likewise.
60471         * debug/fread_u_chk.c: Likewise.
60472         * debug/gets_chk.c: Likewise.
60473         * debug/obprintf_chk.c: Likewise.
60474         * debug/vasprintf_chk.c: Likewise.
60475         * debug/vdprintf_chk.c: Likewise.
60476         * debug/vsnprintf_chk.c: Likewise.
60477         * debug/vsprintf_chk.c: Likewise.
60478         * malloc/mtrace.c: Likewise.
60479         * misc/error.c: Likewise.
60480         * misc/syslog.c: Likewise.
60481         * stdio-common/asprintf.c: Likewise.
60482         * stdio-common/fxprintf.c: Likewise.
60483         * stdio-common/getw.c: Likewise.
60484         * stdio-common/isoc99_fscanf.c: Likewise.
60485         * stdio-common/isoc99_scanf.c: Likewise.
60486         * stdio-common/isoc99_vfscanf.c: Likewise.
60487         * stdio-common/isoc99_vscanf.c: Likewise.
60488         * stdio-common/isoc99_vsscanf.c: Likewise.
60489         * stdio-common/printf-prs.c: Likewise.
60490         * stdio-common/printf_fp.c: Likewise.
60491         * stdio-common/printf_fphex.c: Likewise.
60492         * stdio-common/printf_size.c: Likewise.
60493         * stdio-common/putw.c: Likewise.
60494         * stdio-common/scanf.c: Likewise.
60495         * stdio-common/sprintf.c: Likewise.
60496         * stdio-common/tmpfile.c: Likewise.
60497         * stdio-common/vfprintf.c: Likewise.
60498         * stdio-common/vfscanf.c: Likewise.
60499         * stdlib/strfmon_l.c: Likewise.
60500         * sunrpc/openchild.c: Likewise.
60501         * sunrpc/xdr_stdio.c: Likewise.
60502         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
60503         * sysdeps/mach/hurd/tmpfile.c: Likewise.
60505 2012-05-24  Roland McGrath  <roland@hack.frob.com>
60507         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60509         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
60510         in the third column, to generate for the shared library an IFUNC
60511         that uses _dl_vdso_vsym.
60512         * Makerules (COMPILE.c, compile-stdin.c): New variables.
60513         * Makeconfig (object-suffixes-noshared): New variable.
60515         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
60516         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
60517         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
60518         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
60520         [BZ #14132]
60521         * include/sys/time.h (__gettimeofday): Remove macro.
60522         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
60523         * time/gettimeofday.c (__gettimeofday): Remove #undef.
60524         Remove INTDEF.
60525         (__gettimeofday): Add libc_hidden_def.
60526         (gettimeofday): Add libc_hidden_weak.
60527         * sysdeps/mach/gettimeofday.c: Likewise.
60528         * sysdeps/posix/gettimeofday.c: Likewise.
60529         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
60530         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
60531         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
60532         (__gettimeofday_internal): Remove strong_alias.
60533         (__gettimeofday): Add libc_hidden_def.
60534         (gettimeofday): Add libc_hidden_weak.
60535         * sysdeps/unix/syscalls.list (gettimeofday):
60536         Remove __gettimeofday_internal alias.
60538 2012-05-24  Daniel Jacobowitz  <drow@false.org>
60539             H.J. Lu  <hongjiu.lu@intel.com>
60541         [BZ #12495]
60542         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
60543         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
60544         (largebin_index_32_big): New.
60545         (largebin_index): Use it for 16-byte alignment.
60546         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
60547         correction with front_misalign.
60549 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
60552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
60553         Likewise.
60554         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
60555         Likewise.
60556         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60557         Likewise.
60558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
60559         Likewise.
60560         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
60561         Likewise.
60562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
60563         Likewise.
60564         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
60565         Likewise.
60566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60567         Likewise.
60568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
60569         Likewise.
60570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
60571         Likewise.
60572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
60573         Likewise.
60574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
60575         Likewise.
60577         * scripts/data/c++-types-x32-linux-gnu.data: New file.
60578         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
60580 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60582         [BZ #10846]
60583         [BZ #14036]
60584         * math/libm-test.inc (exp_test): Add test from bug 14036.
60585         (pow_test): Add test from bug 10846.
60587         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
60588         and other flags.
60589         (special_function): Do not include flags in test name.
60590         (parse_args): Likewise.
60591         * sysdeps/i386/fpu/libm-test-ulps: Update.
60592         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60593         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60594         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60597         * math/gen-libm-test.pl (%beautify): Add entries for underflow
60598         exceptions.
60599         * math/libm-test.inc ("Philosophy"): Update comment about
60600         exception testing.
60601         (UNDERFLOW_EXCEPTION): New macro.
60602         (UNDERFLOW_EXCEPTION_OK): Likewise.
60603         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
60604         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
60605         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
60606         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
60607         (INVALID_EXCEPTION_OK): Update value.
60608         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60609         (OVERFLOW_EXCEPTION_OK): Likewise.
60610         (IGNORE_ZERO_INF_SIGN): Likewise.
60611         (test_exceptions): Handle underflow exceptions.
60612         (acos_test): Update for underflow exception expectations.
60613         (cexp_test): Likewise.
60614         (clog_test): Likewise.
60615         (clog10_test): Likewise.
60616         (csqrt_test): Likewise.
60617         (ctan_test): Likewise.
60618         (ctanh_test): Likewise.
60619         (exp_test): Likewise.
60620         (exp10_test): Likewise.
60621         (exp2_test): Likewise.
60622         (expm1_test): Likewise.
60623         (fma_test): Likewise.
60624         (j0_test): Likewise.
60625         (jn_test): Likewise.
60626         (nexttoward_test): Likewise.
60627         (pow_test): Likewise.
60628         (scalbn_test): Likewise.
60629         (scalbln_test): Likewise.
60630         (tan_test): Likewise.
60631         (y1_test): Likewise.
60632         * sysdeps/i386/fpu/libm-test-ulps: Update.
60633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60635 2012-05-23  David S. Miller  <davem@davemloft.net>
60637         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
60638         (__libc_sigaction): Remove unused local variables.
60640 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60642         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
60644 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
60646         mktime: avoid signed integer overflow
60647         * time/mktime.c (__mktime_internal): Do not mishandle the case
60648         where diff == INT_MIN.
60650         mktime: simplify computation of average
60651         * time/mktime.c (ranged_convert): Use new time_t_avg function
60652         instead of rolling our own (probably-slower) code.
60654         mktime: do not assume signed right shift propagates sign bit
60655         * time/mktime.c (isdst_differ): New static function.
60656         (__mktime_internal): No need to normalize tm_isdst now.
60657         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
60658         tm_isdst values.
60660         mktime: merge another wrapv change from gnulib
60661         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
60662         from some compilers.
60664         mktime: remove incorrect attempt at unusual arithmetics
60665         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
60666         The code didn't really work on such machines anyway.
60667         (TYPE_MINIMUM): Assume two's complement.
60668         (twos_complement_arithmetic): Verify that long_int and time_t
60669         are two's complement (or unsigned, in the latter case).
60671         mktime: check signed shifts on long_int and time_t, too
60672         * time/mktime.c (SHR): Check that shifts work as desired
60673         on the types long_int and time_t too, as SHR is used on
60674         such types.
60676         mktime: do not assume 'long' is wide enough
60677         * time/mktime.c (verify): Move decl up.
60678         (long_int): New type.
60679         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
60680         to remove assumption in the code that 'long' is wide enough to
60681         store year values.  This assumption is not true on x32 and on
60682         some non-glibc platforms.
60684         mktime: merge wrapv change from gnulib
60685         * time/mktime.c (WRAPV): New macro.
60686         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
60687         (guess_time_tm, __mktime_internal): Do not assume that signed
60688         integer overflow wraps around; modern compilers generate code
60689         where this assumption is no longer valid.
60691 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60693         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60694         Replace "jmp L(pseudo_end)" with "ret".
60695         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
60696         Likewise.
60698 2012-05-23  Andreas Jaeger  <aj@suse.de>
60700         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
60701         * sysdeps/unix/sysv/linux/poll.c: Remove file.
60703 2012-05-23  Andreas Jaeger  <aj@suse.de>
60704             Maximilian Attems  <max@stro.at>
60706         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
60707         New macros.
60709 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60711         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
60712         code so that pseudo_end is just ret and the stack pointer is
60713         correct also for static library in error case.
60715 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
60717         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
60718         move to syscalls.list.
60719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
60720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
60721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
60722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
60724         * manual/install.texi (Running make install): Do not mention Linux
60725         kernel version for which pt_chown is not needed.
60726         (Linux): Do not mention problems with nscd with 2.0 kernels.
60727         * INSTALL: Regenerated.
60729 2012-05-23  Andreas Jaeger  <aj@suse.de>
60731         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
60732         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
60733         macro.
60734         * sysdeps/unix/sysv/linux/s390/bits/mman.h
60735         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60736         * sysdeps/unix/sysv/linux/sh/bits/mman.h
60737         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60738         * sysdeps/unix/sysv/linux/i386/bits/mman.h
60739         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60740         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
60741         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60742         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
60743         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60744         * sysdeps/unix/sysv/linux/bits/in.h
60745         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
60747 2012-05-22  Roland McGrath  <roland@hack.frob.com>
60749         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
60750         (PREPARE_VERSION): Just use assert instead, it will be elided
60751         under [NDEBUG] anyway.
60753 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60755         * sysdeps/unix/sysv/linux/Makefile: Include
60756         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
60757         (sysdep_routines): Remove sysctl.
60758         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
60759         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
60760         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
60761         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
60762         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
60764 2012-05-22  Andreas Jaeger  <aj@suse.de>
60766         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
60767         that pseudo_end is just ret and the stack pointer is correct also
60768         for static library in error case.
60770 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
60772         [BZ #14122]
60773         * nss/nsswitch.c (defconfig_entries): New variable.
60774         (__nss_database_lookup): Don't leak defconfig entries.
60775         (nss_parse_service_list): Don't leak on error paths.
60776         (free_database_entries): New function.
60777         (free_defconfig): New function.
60778         (free_mem): Move common code to free_database_entries.
60780 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60782         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
60783         Add arch_prctl.
60784         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
60786         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
60787         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
60788         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
60789         New macro.
60790         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
60791         (INTERNAL_SYSCALL_TYPES): Likewise.
60792         (LOAD_ARGS_TYPES_[1-6]): Likewise.
60793         (LOAD_REGS_TYPES_[1-6]): Likewise.
60794         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
60795         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
60797 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60799         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
60800         copysignl for GLIBC_2_0.
60801         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
60802         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
60803         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
60804         logbl for GLIBC_2_0.
60805         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
60806         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
60808 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60810         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
60811         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60813         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60814         Use "neg %eax".
60816         * time/mktime.c: Update copyright years.
60818 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
60820         mktime: merge comment-quoting-style change from gnulib
60821         * time/mktime.c: Quote 'like this' in comments.
60822         The GNU coding standards suggest that we no longer quote `like this',
60823         as "`" and "'" are typically rendered asymmetrically nowadays.
60824         The typical gnulib style is to quote 'like this' when quoting
60825         code, and "like this" when quoting English.
60827         * time/mktime.c (compile-command): Add "-I.".
60829         mktime: merge mktime-internal.h change from gnulib
60830         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
60832         mktime: merge time_r change from gnulib
60833         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
60835         mktime: merge DEBUG change from gnulib
60836         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
60837         case system <time.h> has a #define.
60839         mktime: merge <sys/types.h> change from gnulib
60840         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
60841         since <time.t> is now guaranteed to define time_t.
60843         mktime: merge HAVE_CONFIG_H change from gnulib
60844         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
60846 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60848         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60849         Use "neg %eax".
60851         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
60852         __rlim_t cast.
60853         (struct rusage): Use anonymous union to pad each field to
60854         __syscall_slong_t.
60856 2012-05-21  David S. Miller  <davem@davemloft.net>
60858         * Makefules (o-iterator): Remove .s cases.
60859         (compile-command.s): Delete.
60860         (COMPILE.s): Delete.
60861         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
60863 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
60865         * configure.in (libc_cv_predef_stack_protector): Only consider
60866         "foobar" and "__stack_chk_fail" lines in libc_undefs.
60867         * configure: Regenerated.
60869 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60871         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60872         New macro.  Use R*LP on int and pointer.
60873         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
60874         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
60875         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
60876         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
60878         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
60879         [__WORDSIZE_TIME64_COMPAT32] instead of
60880         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
60881         (struct utmp): Likewise.
60882         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
60883         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
60884         Renamed to ...
60885         (__WORDSIZE_TIME64_COMPAT32): This.
60886         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
60887         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
60888         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
60889         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
60890         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
60891         (__WORDSIZE_TIME64_COMPAT32): New macro.
60893 2012-05-21  Andreas Jaeger  <aj@suse.de>
60895         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
60896         only if [SHARED]. Add prototype for __wcschr_ia32.
60898 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60900         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
60901         of %rbp unmolested in the jmp_buf while mangling the low bits.
60902         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
60903         unmolested high bits of %rbp while demangling the low bits.
60904         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60906 2012-05-21  Andreas Jaeger  <aj@suse.de>
60908         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
60909         * sunrpc/svc_simple.c: Use it for registerrpc.
60910         * sunrpc/xcrypt.c: Use it for passwd2des.
60912         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
60914 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60916         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
60917         Don't define if [__SYSCALL_WORDSIZE != 32].
60918         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
60919         New macro.
60921 2012-05-21  Bruno Haible  <bruno@clisp.org>
60922             Andreas Jaeger  <aj@suse.de>
60924         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
60925         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
60926         inptr and inend for must_buffer_ch.
60927         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
60928         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
60929         * stdio-common/Makefile (tests): Remove bug15.
60930         (bug15-ENV): Remove macro.
60931         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
60932         anymore.
60934 2012-05-19  Andreas Jaeger  <aj@suse.de>
60935             Roland McGrath  <roland@hack.frob.com>
60937         * manual/contrib.texi: Completely rewritten. It contains now an
60938         alphabetical list of contributors and their contributions.
60940 2012-05-21  Richard Henderson  <rth@twiddle.net>
60942         * misc/getauxval.c (__getauxval): Use unsigned long int.
60943         * misc/sys/auxv.h: Include <sys/cdefs.h>.
60944         (getauxval): Use unsigned long int.
60946 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60948         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60950 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60952         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
60953         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
60954         __alignof__ (long double).
60956 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60960 2012-05-20  Richard Henderson  <rth@twiddle.net>
60962         * misc/getauxval.c: New file.
60963         * misc/sys/auxv.h: New file.
60964         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
60965         (routines): Add getauxval.
60966         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
60967         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
60968         * elf/dl-sysdep.c (_dl_auxv): Remove.
60969         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
60970         * elf/dl-support.c (_dl_auxv): New variable.
60971         (_dl_aux_init): Initialize it.
60972         * manual/startup.texi (Auxiliary Vector): New node.
60973         * sysdeps/generic/bits/hwcap.h: New file.
60974         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
60975         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
60976         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
60977         * sysdeps/sparc/sysdep.h: ... here.  Include it.
60978         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
60979         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
60980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60981         Update.
60982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
60983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
60984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
60985         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
60986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
60989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
60991 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60995 2012-05-19  David S. Miller  <davem@davemloft.net>
60997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60999 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61001         [BZ #14123]
61002         * math/s_ccosh.c: Include <float.h>
61003         (__ccosh): Avoid internal overflow calculating sinh and cosh
61004         values before multiplying by sin and cos values.
61005         * math/s_ccoshf.c: Likewise.
61006         * math/s_ccoshl.c: Likewise.
61007         * math/s_csin.c: Likewise.
61008         * math/s_csinf.c: Likewise.
61009         * math/s_csinl.c: Likewise.
61010         * math/s_csinh.c: Likewise.
61011         * math/s_csinhf.c: Likewise.
61012         * math/s_csinhl.c: Likewise.
61013         * math/libm-test.inc (ccos_test): Add more tests.
61014         (ccosh_test): Likewise.
61015         (csin_test): Likewise.
61016         (csinh_test): Likewise.
61017         * sysdeps/i386/fpu/libm-test-ulps: Update.
61018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61020 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
61022         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
61023         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
61025         * sysdeps/x86_64/x32/_itoa.h: Add comment.
61027 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61029         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
61030         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
61031         * sysdeps/powerpc/soft-fp/Versions: Likewise.
61032         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
61033         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
61034         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
61035         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
61036         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
61037         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
61038         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
61039         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
61040         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
61041         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
61042         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
61043         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
61044         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
61045         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
61046         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
61047         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
61048         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
61049         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
61050         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
61051         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
61052         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
61053         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
61054         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
61055         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
61056         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
61057         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
61058         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
61059         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
61061 2012-05-18  Andreas Jaeger  <aj@suse.de>
61063         * csu/.gitignore: Delete.
61065 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61067         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
61068         (timex): Use __syscall_slong_t.
61070 2012-05-18  Andreas Jaeger  <aj@suse.de>
61071             Carlos O'Donell  <carlos_odonell@mentor.com>
61073         * manual/install.texi (Configuring and compiling): Update
61074         description about files modified in the source directory.
61075         * INSTALL: Regenerated.
61077 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61079         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
61080         value.  Use "or" to set return value to -1.
61081         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
61082         negate return value.
61084 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61086         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
61087         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
61088         failure if the compiler has Graphite support disabled.
61089         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
61090         Likewise.
61091         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
61092         (CFLAGS-memmove.c): Likewise.
61093         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
61094         Likewise.
61096 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61098         * sysdeps/x86_64/x32/_itoa.h: New file.
61100         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
61101         getdents system call only if kernel and user dirents have the
61102         same d_ino and d_off.
61104         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61105         LLONG_MAX != LONG_MAX.
61106         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61107         (_fitoa_word): Likewise.
61109         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
61110         years.
61111         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
61112         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
61113         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
61115         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
61116         include <bits/wordsize.h>.  Check __x86_64__ instead of
61117         __WORDSIZE.
61118         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
61119         if __x86_64__ is defined.  Use anonymous union on fpstate.
61121         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
61122         anonymous union.
61124 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
61126         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
61127         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
61128         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
61129         Refer to _rtld_local_ro instead of _rtld_global_ro.
61130         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
61131         Likewise.
61132         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
61133         Likewise.
61134         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
61135         Likewise.
61136         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
61137         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
61138         of _rtld_global, and rtld_progname instead of _dl_argv[0].
61140         [BZ #10882]
61141         * sysdeps/powerpc/powerpc32/dl-machine.c
61142         (__elf_machine_runtime_setup) [PROF]: Don't reference
61143         _dl_prof_resolve.
61145 2012-05-18  Andreas Jaeger  <aj@suse.de>
61147         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
61148         function only available for GCCs before 3.4 since GCC 3.4
61149         introduced a builtin.
61150         (lrint): Likewise.
61151         (llrintf): Likewise.
61152         (llrint): Likewise.
61153         (fmaxf): Likewise.
61154         (fmax): Likewise.
61155         (fminf): Likewise.
61156         (fmin): Likewise.
61157         (rint): Likewise.
61158         (rintf): Likewise.
61159         (nearbyint): Likewise.
61160         (nearbyintf): Likewise.
61161         (ceil): Likewise.
61162         (ceilf): Likewise.
61163         (floor): Likewise.
61164         (floorf): Likewise.
61166 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61168         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
61169         on both fields and cast pointer to __syscall_ulong_t.
61171         * bits/types.h (__fsword_t): New type.
61172         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
61173         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
61174         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61175         (__FSWORD_T_TYPE): Likewise.
61176         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61177         (__FSWORD_T_TYPE): Likewise.
61178         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61179         (__FSWORD_T_TYPE): Likewise.
61180         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
61181         (__FSWORD_T_TYPE): Likewise.
61182         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
61183         __SWORD_TYPE with __fsword_t.
61184         (statfs64): Likewise.
61186 2012-05-17  David S. Miller  <davem@davemloft.net>
61188         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
61190 2012-05-17  Andreas Jaeger  <aj@suse.de>
61192         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
61193         warning.
61195 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61197         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
61199 2012-05-17  Andreas Jaeger  <aj@suse.de>
61201         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
61202         when it is used.
61204 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61206         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
61208 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61210         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
61211         * sysdeps/x86_64/tst-mallocalign1.c: New file.
61213 2012-05-17  Andreas Jaeger  <aj@suse.de>
61214             Carlos O'Donell  <carlos_odonell@mentor.com>
61216         [BZ #14059]
61217         * sysdeps/x86_64/multiarch/init-arch.h
61218         (bit_YMM_Usable): Rename to...
61219         (bit_AVX_Usable): ... this.
61220         (bit_FMA4_Usable): New macro.
61221         (bit_XMM_state): New macro.
61222         (bit_YMM_state): New macro.
61223         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
61224         [__ASSEMBLER__] (index_AVX_Usable): ... this.
61225         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
61226         (CPUID_OSXSAVE): New macro.
61227         (CPUID_AVX): New macro.
61228         (CPUID_FMA4): New macro.
61229         (index_YMM_Usable): Rename to...
61230         (index_AVX_Usable): ... this.
61231         (HAS_AVX): Use HAS_ARCH_FEATURE.
61232         (HAS_FMA4): Likewise.
61233         (HAS_YMM_USABLE): Remove.
61234         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61235         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
61236         are present.
61237         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
61238         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
61239         * sysdeps/x86_64/multiarch/Makefile: Likewise.
61240         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
61241         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
61243 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61245         * math/libm-test.c: Support platforms without multiple rounding modes.
61246         * math/bug-nextafter.c: Support platforms without FP exceptions.
61247         * math/bug-nexttoward.c: Likewise.
61248         * math/test-fenv.c: Likewise.
61249         * math/test-misc.c: Likewise.
61250         * stdlib/bug-getcontext.c: Likewise.
61252 2012-05-17  Andreas Jaeger  <aj@suse.de>
61254         * manual/examples/search.c (critter_cmp): Change signature to
61255         avoid warnings.
61256         * manual/string.texi (Collation Functions): Likewise.
61258 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61260         * bits/types.h: Fold copyright years.
61261         * bits/typesizes.h: Likewise.
61262         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
61263         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61264         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
61265         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
61266         * time/time.h: Likewise.
61268 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
61270         [BZ #208]
61271         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
61272         in instead of returning them.  Return void.
61273         (__libc_mallinfo): Accumulate over all arenas.
61274         (__malloc_stats): Adjust for change in int_mallinfo interface.
61276 2012-05-16  Roland McGrath  <roland@hack.frob.com>
61278         [BZ #10375]
61279         * configure.in (NM): Add AC_CHECK_TOOL for it.
61280         (libc_extra_cflags): New substituted variable.
61281         Check for -fstack-protector being used implicitly.
61282         * configure: Regenerated.
61283         * config.make.in (config-extra-cflags): New variable,
61284         gets @libc_extra_cflags@.
61285         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
61287         [BZ #10375]
61288         * configure.in: Check for _FORTIFY_SOURCE being predefined.
61289         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
61290         * configure: Regenerated.
61291         * config.make.in (CPPUNDEFS): New substituted variable.
61292         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
61293         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
61294         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
61296 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61298         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
61299         (mq_attr): Use __syscall_slong_t.
61301 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61303         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
61304         Check __x86_64__ instead of __WORDSIZE.
61305         (_STAT_VER_LINUX): Likewise.
61306         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
61307         __syscall_ulong_t and __syscall_slong_t.
61308         (stat64): Likewise.
61310 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61312         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
61314 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61316         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
61318 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61320         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
61321         __syscall_ulong_t.
61323         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
61324         include <bits/wordsize.h>.  Check __x86_64__ instead of
61325         __WORDSIZE.
61326         (greg_t): Use "__extension__ long long int" if __x86_64__ is
61327         defined.
61328         (mcontext_t): Replace "unsigned long" with "unsigned long long".
61330         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
61331         include <bits/wordsize.h>.  Check __x86_64__ instead of
61332         __WORDSIZE.
61333         (user_regs_struct): Use "__extension__ unsigned long long"
61334         instead of "unsigned long" if __x86_64__ is defined.
61335         (user): Likewise.  Pad after pointer field if __ILP32__ is
61336         defined.
61338 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
61340         * configure.in (makeinfo): Require version 4.5 or later.  Allow
61341         versions 5 to 9.
61342         * configure: Regenerated.
61343         * manual/install.texi (texinfo): Increase version requirement to
61344         4.5 or later.
61345         * INSTALL: Regenerated.
61347         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
61349 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61351         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
61353         * sysdeps/x86_64/x32/ffs.c: New file.
61355         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
61356         __syscall_ulong_t.
61357         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
61358         defined.  Use __syscall_ulong_t.
61359         (shminfo): Use __syscall_ulong_t.
61360         (shm_info): Likewise.
61362         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
61363         __syscall_ulong_t.
61365         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
61366         <bits/wordsize.h>.
61367         (msgqnum_t): Use __syscall_ulong_t.
61368         (msglen_t): Likewise.
61369         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
61370         __syscall_ulong_t.
61372         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
61373         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61375         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
61377         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
61378         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
61380         * sysvipc/sys/msg.h (msgbuf): Replace long int with
61381         __syscall_slong_t.
61383         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
61384         include <bits/wordsize.h>.  Check __x86_64__ instead of
61385         __WORDSIZE.
61387         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
61388         "unsigned long long int" if __x86_64__ is defined.
61389         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
61391         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
61392         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61393         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
61395         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
61396         <stdint.h>.
61397         (GET_PC): Cast to uintptr_t first.
61398         (GET_FRAME): Likewise.
61399         (GET_STACK): Likewise.
61401         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
61402         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
61403         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
61404         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
61405         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
61406         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
61407         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
61408         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
61409         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
61410         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
61411         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
61412         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
61413         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61414         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
61415         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
61416         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
61417         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
61418         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
61419         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
61420         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
61421         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
61422         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
61423         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
61424         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
61425         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
61426         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
61427         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
61428         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
61429         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
61431 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
61433         * Makerules (+depfiles): Also collect depfiles from .oS in
61434         $(extra-objs).
61435         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
61436         .oS, $(libnldbl-routines)).
61438         * Makerules (native-compile-mkdep-flags): Define.
61439         * sunrpc/Makefile (extra-objs): Add $(addprefix
61440         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
61441         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
61442         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
61443         calling $(make-target-directory).
61445 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61447         * bits/types.h (__snseconds_t): Removed.
61448         * time/time.h (struct timespec): Replace __snseconds_t with
61449         __syscall_slong_t.
61450         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
61451         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
61452         Likewise.
61453         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61454         (__SNSECONDS_T_TYPE): Likewise.
61455         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61456         (__SNSECONDS_T_TYPE): Likewise.
61457         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61458         (__SNSECONDS_T_TYPE): Likewise.
61460 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61462         * sysdeps/mach/hurd/bits/typesizes.h
61463         (__SYSCALL_SLONG_TYPE): New macro.
61464         (__SYSCALL_ULONG_TYPE): Likewise.
61466 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61468         * bits/types.h (__syscall_slong_t): New type.
61469         (__syscall_ulong_t): Likewise.
61471         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
61472         (__SYSCALL_ULONG_TYPE): Likewise.
61473         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61474         (__SYSCALL_SLONG_TYPE): Likewise.
61475         (__SYSCALL_ULONG_TYPE): Likewise.
61476         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61477         (__SYSCALL_SLONG_TYPE): Likewise.
61478         (__SYSCALL_ULONG_TYPE): Likewise.
61479         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61480         (__SYSCALL_SLONG_TYPE): Likewise.
61481         (__SYSCALL_ULONG_TYPE): Likewise.
61483 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61485         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
61486         Add sigaltstack-offsets.sym.
61487         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
61488         <sigaltstack-offsets.h>.
61489         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
61490         longjmp_msg pointer.
61491         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
61492         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
61493         signal stack.
61494         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
61496 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61498         * elf/stackguard-macros.h: Remove file.
61499         * sysdeps/generic/stackguard-macros.h: New file.
61500         * sysdeps/i386/stackguard-macros.h: Likewise.
61501         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61502         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61503         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61504         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61505         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61506         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61507         * sysdeps/x86_64/stackguard-macros.h: Likewise.
61508         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
61509         <elf/stackguard-macros.h>.
61511         [BZ #14109]
61512         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
61513         __aligned__ in attribute.
61514         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
61515         (gregset_t): Likewise.
61517 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61519         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
61520         * sysdeps/x86_64/64/Implies-after: Here.  New file.
61521         * sysdeps/x86_64/x32/Implies-after: New file.
61523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61525         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
61526         and access return value for _dl_profile_fixup.  Use R10_LP to
61527         load frame size.
61529 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61531         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
61533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61535         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
61536         * sysdeps/x86_64/x32/sysdep.h: New file.
61538 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61540         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
61541         * sysdeps/x86_64/setjmp.S: Likewise.
61543 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61545         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
61546         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
61547         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
61548         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
61549         remove unused global constant.
61551 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
61553         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
61554         include of <not-cancel.h>.
61556 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61558         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
61560 2012-05-15  Jeff Law  <law@redhat.com>
61561             Andreas Jaeger  <aj@suse.de>
61563         [BZ #13594]
61564         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
61565         out from...
61566         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
61567         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
61568         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
61569         code changing __hst_map_handle.map.
61571 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61573         * configure.in (sysnames): Look for Implies-before and Implies-after
61574         files.
61575         * configure: Regenerated.
61577 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61579         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
61580         8-byte data alignment with LP_SIZE alignment.
61582 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61584         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
61585         into R10_LP.
61587 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61589         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
61591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61593         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
61594         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
61595         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
61596         Likewise.
61597         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61599 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61601         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
61602         (stackinfo_sub_sp): Likewise.
61604 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61606         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
61607         RAX_LP.
61609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61611         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
61612         into R*_LP.
61614 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61616         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
61617         sizes into R*_LP.
61619 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61621         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
61623 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61625         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
61626         into R11_LP and load __x86_64_shared_cache_size_half into
61627         R8_LP.
61629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61631         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
61632         R8_LP.
61634 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61636         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
61637         logb for POWER7.
61638         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
61639         logbf for POWER7.
61640         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
61641         logbl for POWER7.
61642         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
61643         powerpc32/power7/fpu/s_logb.c via #include.
61644         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
61645         powerpc32/power7/fpu/s_logbf.c via #include.
61646         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
61647         powerpc32/power7/fpu/s_logbl.c via #include.
61649 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61651         * README.libm: Remove file.
61653 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61655         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
61656         count for x32.  Use R*_LP and omit operand-size suffix.
61658 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61660         * shlib-versions: Move x86_64-.*-linux.* entries to ...
61661         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
61662         * sysdeps/x86_64/x32/shlib-versions: New file.
61664 2012-05-14  Roland McGrath  <roland@hack.frob.com>
61666         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
61667         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
61668         Use _dl_fatal_printf instead.
61670 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61672         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
61673         set if not set by the user.  Do not allow for being unset.
61674         * sysdeps/unix/sysv/linux/configure: Regenerated.
61676 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61678         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
61679         the `q' suffix from lea and replace .quad with ASM_ADDR.
61681 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61683         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
61684         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
61685         instead of $17.
61686         (PTR_DEMANGLE): Likewise.
61688 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61690         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
61691         (LP_OP): Likewise.
61692         (ASM_ADDR): Likewise.
61693         (RAX_LP): Likewise.
61694         (RBP_LP): Likewise.
61695         (RBX_LP): Likewise.
61696         (RCX_LP): Likewise.
61697         (RDI_LP): Likewise.
61698         (RSI_LP): Likewise.
61699         (RSP_LP): Likewise.
61700         (R8_LP): Likewise.
61701         (R9_LP): Likewise.
61702         (R10_LP): Likewise.
61703         (R10_LP): Likewise.
61704         (R11_LP): Likewise.
61705         (R12_LP): Likewise.
61706         (R13_LP): Likewise.
61707         (R14_LP): Likewise.
61708         (R15_LP): Likewise.
61710 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61712         * sysdeps/x86_64/x32/dl-machine.h: New file.
61714 2012-05-14  Andreas Jaeger  <aj@suse.de>
61716         * manual/Makefile (subdir): Remove export of subdir.
61717         (all): Remove target.
61718         (.PHONY): Remove all from list.
61719         (mkinstalldirs): Remove.
61720         (.PHONY): Remove installdirs from list.
61721         ($(inst_infodir)/libc.info): Use make-target-directory.
61722         (installdirs): Remove.
61723         (subdir_%): Remove.
61724         (glibc-targets): Remove.
61725         (lib): Remove.
61726         (stubs): Remove.
61727         ($(objpfx)stubs ../po/manual.pot): Remove.
61728         ($(objpfx)stamp%): Remove.
61729         (make-target-directory): Remove.
61730         (subdir_install): Remove.
61731         (routines): Remove.
61732         (aux): Remove.
61733         (sources): Remove.
61734         (objects): Remove.
61735         (headers): Remove.
61737         [BZ #13750]
61738         * manual/.gitignore: Remove, it's not needed anymore.
61739         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
61740         all files in it.
61741         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
61742         directory.
61743         (texis): Renamed to $(objpfx)texis.
61744         (texis-path): New, contains path to generated files.
61745         (chapters.%): Use texis-path for complete path, add extra argument
61746         libc-texinfo.sh.
61747         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
61748         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
61749         (summary,texi, stamp-summary): Use complete path of
61750         files. Generate files in build dir.
61751         (dir-add.texi): Build in build dir.
61752         (libm-err.texi,stamp-libm-err): Likewise.
61753         (version.texi, stamp-version): Likewise.
61754         (.%c.texi): Likewise.
61755         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
61756         (mostlyclean): Remove target.
61757         (realclean): Remove target.
61758         (generated): Add new variable with contents from mostlyclean and
61759         realclean, remove entries duplicated in common-mostlyclean, add
61760         stamp-libm-err and stamp-version.
61761         (generated-dirs): Add libc directory.
61762         ($(inst_infodir)/libc.info): Install files from build dir.
61764         * manual/install.texi (Configuring and compiling): Adjust since
61765         the info files are not part of the tar ball anymore.
61767 2012-05-14  Andreas Jaeger  <aj@suse.de>
61769         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
61770         variable.
61772 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61774         [BZ #13717]
61775         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61776         to 2.2.0 where earlier.
61777         * sysdeps/unix/sysv/linux/configure: Regenerated.
61778         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
61779         Remove conditional code.
61780         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
61781         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
61782         Remove conditional code.
61783         [!__NR_lchown]: Likewise.
61784         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61785         [__NR_lchown]: Likewise.
61786         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
61787         comment referencing __ASSUME_LCHOWN_SYSCALL.
61788         * sysdeps/unix/sysv/linux/i386/sigaction.c
61789         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61790         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61791         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
61792         Remove conditional code.
61793         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
61794         (__protocol_available): Remove #if 0 code.
61795         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
61796         conditional code.
61797         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
61798         * sysdeps/unix/sysv/linux/kernel-features.h
61799         (__ASSUME_GETCWD_SYSCALL): Don't define.
61800         (__ASSUME_REALTIME_SIGNALS): Likewise.
61801         (__ASSUME_PREAD_SYSCALL): Likewise.
61802         (__ASSUME_PWRITE_SYSCALL): Likewise.
61803         (__ASSUME_POLL_SYSCALL): Likewise.
61804         (__ASSUME_LCHOWN_SYSCALL): Likewise.
61805         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
61806         non-SPARC.
61807         (__ASSUME_SIOCGIFNAME): Don't define.
61808         (__ASSUME_MSG_NOSIGNAL): Likewise.
61809         (__ASSUME_SENDFILE): Define unconditionally.
61810         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
61811         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
61812         conditional code.
61813         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
61814         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
61815         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61816         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61817         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
61818         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61819         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
61821         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61822         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
61824         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61825         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
61827         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61828         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
61830         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61831         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
61833         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61834         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
61836         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61837         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
61839         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61840         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
61842         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61843         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61844         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
61845         Remove conditional code.
61846         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61847         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61848         Remove conditional code.
61849         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61850         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
61851         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
61852         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61853         Remove conditional code.
61854         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61855         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
61856         Remove conditional code.
61857         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61858         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
61859         Remove conditional code.
61860         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61861         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61862         Remove conditional code.
61863         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61864         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61865         Remove conditional code.
61866         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61867         * sysdeps/unix/sysv/linux/sh/pwrite64.c
61868         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61869         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61870         * sysdeps/unix/sysv/linux/sigaction.c
61871         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61872         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61873         * sysdeps/unix/sysv/linux/sigpending.c
61874         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61875         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61876         * sysdeps/unix/sysv/linux/sigprocmask.c
61877         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61878         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61879         * sysdeps/unix/sysv/linux/sigsuspend.c
61880         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61881         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61882         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61883         (__libc_missing_rt_sigs): Remove.
61884         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
61885         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
61886         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
61887         Remove conditional code.
61888         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
61889         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
61890         return 1.
61891         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
61892         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
61893         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
61894         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
61896 2012-05-14  Andreas Jaeger  <aj@suse.de>
61898         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
61899         it's not used in glibc.
61900         (__coshm1): Likewise.
61901         (__acosh1p): Likewise.
61902         (__sgn): Likewise.
61904         * manual/string.texi (Copying and Concatenation): Add missing
61905         variable in concat example.
61906         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
61908 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61910         [BZ #14103]
61911         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
61912         __builtin_clzl with __builtin_clzll.
61914 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61916         [BZ #14104]
61917         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
61918         libc_freeres_ptr.
61920 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61922         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
61923         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
61924         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
61925         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
61927 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
61929         * NEWS: Update ia64 info.
61931 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
61933         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
61934         used as bcopy.
61936 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
61938         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
61939         * sysdeps/unix/syscalls.list (dup3): Likewise.
61940         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
61941         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
61943 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61945         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
61946         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
61948 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61950         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
61951         thread pointer.
61952         (TLS_IE): Use mov/add instead of movq/addq to load thread
61953         pointer.
61954         (TLS_GD_PREFIX): New.
61955         (TLS_GD): Use it.
61957 2012-05-11  David S. Miller  <davem@davemloft.net>
61959         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
61960         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
61961         (_FPU_SETCW): Likewise.
61963 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61965         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
61966         is 32-byte aligned.
61968 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
61970         [BZ #11837]
61971         * iconvdata/gb18030.c: Update tables.
61972         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
61973         characters specially.
61974         (BODY for TO_LOOP): Add encoding of missing ranges.
61976 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
61978         [BZ #13673]
61979         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
61980         * sysdeps/mach/hurd/dup3.c: Likewise.
61981         * sysdeps/mach/hurd/readlinkat.c: Likewise.
61982         * sysdeps/powerpc/memmove.c:: Likewise.
61984 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61986         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
61987         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
61989 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61991         * elf/elf.h (R_X86_64_RELATIVE64): New.
61992         (R_X86_64_NUM): Updated.
61993         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61994         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
61995         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
61996         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
61997         tst-quad1pie tst-quad2pie
61998         (modules-names): Add tst-quadmod1 tst-quadmod2.
61999         ($(objpfx)tst-quad1): New dependency.
62000         ($(objpfx)tst-quad2): Likewise.
62001         ($(objpfx)tst-quad1pie): Likewise.
62002         ($(objpfx)tst-quad2pie): Likewise.
62003         * sysdeps/x86_64/tst-quad1.c: New file.
62004         * sysdeps/x86_64/tst-quad1pie.c: New file.
62005         * sysdeps/x86_64/tst-quad2.c: Likewise.
62006         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
62007         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
62008         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
62009         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
62010         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
62012 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62014         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
62015         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
62016         * streams/stropts.h (t_scalar_t): Define type.
62018         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
62019         (_PATH_PRESERVE): Set to "/var/lib".
62020         (_PATH_RWHODIR): Set to "/var/spool/rwho".
62022         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
62023         instead of int.
62025         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
62026         if __dir_mkfile succeeded.
62028         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
62029         checking for _hurd_dtablesize.  Unlock it right after having
62030         finished _hurd_dtable allocation.
62032 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62034         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
62035         * sysdeps/mach/hurd/configure: Regenerated.
62036         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
62037         special-casing to...
62038         * sysdeps/gnu/configure.in: ... this new file.
62039         * sysdeps/unix/sysv/linux/configure: Regenerated.
62040         * sysdeps/gnu/configure: New generated file.
62042         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
62043         for Linux: use nsec instead of usec, as well as:
62044         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
62045         members of type struct timespec.
62046         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
62047         New macros.
62048         (struct stat64): Likewise.
62049         (_STATBUF_ST_NSEC): New macro.
62050         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
62052         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62053         __strtoul_internal rather than strtoul.
62055 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62057         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
62058         and reject them.
62060 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62062         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
62063         which preserves existing values.
62064         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
62066 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62068         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
62069         TIMEOUT values.  Return EINVAL for NFDS values either negative or
62070         greater than FD_SETSIZE.
62072 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62074         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
62075         allocated, call __vm_protect to finish enabling the existing space, and
62076         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
62077         allocate the remainder.
62079 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62081         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
62082         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
62084 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62086         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
62087         sysdeps/mach/hurd/readlink.c.
62089         * posix/tst-sysconf.c (posix_options): Only use
62090         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
62091         _POSIX_SYNCHRONIZED_IO when they are defined
62092         * sysdeps/mach/hurd/bits/posix_opt.h:
62093         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
62094         (_XOPEN_REALTIME): Undefine macro.
62095         (_XOPEN_REALTIME_THREADS): Undefine macro.
62096         (_XOPEN_SHM): Undefine macro.
62097         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
62098         macro to -1.
62099         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
62100         macro to -1.
62101         (_POSIX_ASYNC_IO): Undefine macro.
62102         (_POSIX_PRIORITIZED_IO): Undefine macro.
62103         (_POSIX_SPIN_LOCKS): Define macro to -1.
62105         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
62106         SA_NODEFER, SA_RESETHAND.
62107         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
62108         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
62109         F_DUPFD_CLOEXEC.
62111 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62113         * elf/Makefile (pldd-modules): Define unconditionally.
62115 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62117         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
62119 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62121         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
62122         Return ENOENT when name is empty.
62123         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
62125 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62127         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
62129         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
62131 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62133         Fix mlock in all cases except non-readable pages.
62134         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
62135         instead of VM_PROT_ALL as parameter to __vm_wire function.
62137         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
62138         (__mkdir): When path is `/', just fail with EEXIST.
62139         * sysdeps/mach/hurd/mkdirat.c: Likewise.
62141 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62143         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
62144         <sys/uio.h> (for writev).
62145         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
62146         and <sys/param.h> (for MIN).
62148 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62150         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
62151         REQUESTED_TIME.  Properly set the remaining time and return EINTR
62152         if interrupted.
62154 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62156         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
62157         Depend on against $(link-rpcuserlibs).
62159 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62161         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
62162         (__libc_stack_end): Do not use attribute_relro.
62163         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
62164         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
62165         to libthread-provided value.
62166         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
62167         attribute_relro.
62169 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62171         [BZ #3748]
62172         * bits/libc-lock.h (__libc_once_get): New macro.
62173         * sysdeps/mach/bits/libc-lock.h: Likewise.
62174         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
62175         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
62176         instead of using implementation details.
62178         * libio/fileops.c: Unconditionally include <kernel-features.h>.
62179         * libio/freopen.c: Likewise.
62180         * libio/freopen64.c: Likewise.
62181         * misc/syslog.c: Likewise.
62182         * nscd/connections.c: Likewise.
62183         * nscd/netgroupcache.c: Likewise.
62184         * sysdeps/posix/getcwd.c: Likewise.
62186 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62188         * math/w_ilogbf.c: Add #include <limits.h>.
62190 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62192         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
62193         path instead of returning without unlocking.
62195         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
62196         immediate-write ioctls.
62197         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
62199 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62201         * sysdeps/mach/hurd/i386/init-first.c (init): Use
62202         __builtin_frame_address instead of making assumptions about the
62203         location of the return address relative to DATA.  Force early load of
62204         the return address.
62205         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
62206         __builtin_frame_address.
62208         dup3 for GNU Hurd.
62209         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
62210         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
62211         implement dup3 and do some further code clean-ups.
62212         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
62213         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
62215 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62217         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
62219         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
62220         HURD_CRITICAL_END around holding _hurd_dtable_lock.
62221         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
62222         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
62223         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
62224         d->port.lock.
62226         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
62227         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
62228         when handler == SIG_ERR, not when handler != SIG_ERR.
62230 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62232         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
62233         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
62234         definitions.
62236         accept4 for GNU Hurd.
62237         * include/sys/socket.h (__libc_accept4): New prototype.
62238         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
62239         to implement __libc_accept4.
62240         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
62241         __libc_accept4.
62242         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
62244         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
62245         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
62246         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
62247         signal-defines.sym.
62249 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62251         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
62253 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62255         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
62256         assertion on O_CLOEXEC flag.
62257         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
62258         * hurd/intern-fd.c: Likewise.
62259         * hurd/port2fd.c: Likewise.
62261 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62263         [BZ #3906]
62264         * bits/in.h (IPV6_PKTINFO): Define new macro.
62265         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
62267 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62269         [BZ #13954]
62270         [BZ #13955]
62271         [BZ #13956]
62272         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
62273         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62274         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
62275         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62276         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62277         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62278         * math/libm-test.inc (logb_test) : Additional logb tests.
62280 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
62281             Andreas Jaeger  <aj@suse.de>
62283         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
62284         * configure: Regenerated.
62285         * config.h.in (LINK_OBSOLETE_RPC): New macro.
62286         * config.make.in (link-obsolete-rpc): New substituted variable.
62287         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
62288         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
62289         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62290         (shared-only-routines): Don't set it under [link-obsolete-rpc],
62291         so that libc.a contains the symbols.
62292         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62293         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
62294         * sunrpc/auth_none.c: Likewise.
62295         * sunrpc/auth_unix.c: Likewise.
62296         * sunrpc/authdes_prot.c: Likewise.
62297         * sunrpc/authuxprot.c: Likewise.
62298         * sunrpc/clnt_gen.c: Likewise.
62299         * sunrpc/clnt_perr.c: Likewise.
62300         * sunrpc/clnt_raw.c: Likewise.
62301         * sunrpc/clnt_simp.c: Likewise.
62302         * sunrpc/clnt_tcp.c: Likewise.
62303         * sunrpc/clnt_udp.c: Likewise.
62304         * sunrpc/clnt_unix.c: Likewise.
62305         * sunrpc/des_crypt.c: Likewise.
62306         * sunrpc/des_soft.c: Likewise.
62307         * sunrpc/get_myaddr.c: Likewise.
62308         * sunrpc/key_call.c: Likewise.
62309         * sunrpc/key_prot.c: Likewise.
62310         * sunrpc/netname.c: Likewise.
62311         * sunrpc/pm_getmaps.c: Likewise.
62312         * sunrpc/pm_getport.c: Likewise.
62313         * sunrpc/pmap_clnt.c: Likewise.
62314         * sunrpc/pmap_prot.c: Likewise.
62315         * sunrpc/pmap_prot2.c: Likewise.
62316         * sunrpc/pmap_rmt.c: Likewise.
62317         * sunrpc/publickey.c: Likewise.
62318         * sunrpc/rpc_cmsg.c: Likewise.
62319         * sunrpc/rpc_common.c: Likewise.
62320         * sunrpc/rpc_dtable.c: Likewise.
62321         * sunrpc/rpc_prot.c: Likewise.
62322         * sunrpc/rpc_thread.c: Likewise.
62323         * sunrpc/rtime.c: Likewise.
62324         * sunrpc/svc.c: Likewise.
62325         * sunrpc/svc_auth.c: Likewise.
62326         * sunrpc/svc_raw.c: Likewise.
62327         * sunrpc/svc_run.c: Likewise.
62328         * sunrpc/svc_tcp.c: Likewise.
62329         * sunrpc/svc_udp.c: Likewise.
62330         * sunrpc/svc_unix.c: Likewise.
62331         * sunrpc/svcauth_des.c: Likewise.
62332         * sunrpc/xcrypt.c: Likewise.
62333         * sunrpc/xdr.c: Likewise.
62334         * sunrpc/xdr_array.c: Likewise.
62335         * sunrpc/xdr_float.c: Likewise.
62336         * sunrpc/xdr_intXX_t.c: Likewise.
62337         * sunrpc/xdr_mem.c: Likewise.
62338         * sunrpc/xdr_rec.c: Likewise.
62339         * sunrpc/xdr_ref.c: Likewise.
62340         * sunrpc/xdr_sizeof.c: Likewise.
62341         * sunrpc/xdr_stdio.c: Likewise.
62343 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62345         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
62346         change.  Update copyright years.
62348 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62350         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
62352 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
62353             Joseph Myers  <joseph@codesourcery.com>
62354             Paul Pluzhnikov  <ppluzhnikov@google.com>
62356         [BZ #14012]
62357         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
62358         requiring rpcgen.
62359         [cross-compiling] (extra-libs): Likewise.
62360         [cross-compiling] (extra-libs-others): Likewise.
62361         [cross-compiling] (librpcsvc-routines): Likewise.
62362         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
62363         [cross-compiling] (omit-deps): Likewise.
62364         (sunrpc-CPPFLAGS): New variable.
62365         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
62366         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
62367         (cross-rpcgen-objs): New variable.
62368         (extra-objs): Append $(cross-rpcgen-objs).
62369         ($(cross-rpcgen-objs)): New rule.
62370         ($(objpfx)cross-rpcgen): Likewise.
62371         (rpcgen-cmd): Define to use $(built-program-file).  Expand
62372         comment.
62373         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
62374         ($(objpfx)x%.stmp): Likewise.
62375         * sunrpc/proto.h [IS_IN_build] (_): Define.
62376         [IS_IN_build] (_libc_intl_domainname): Likewise.
62378 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62380         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
62381         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
62382         and R_X86_64_TPOFF64.
62384 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62386         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
62387         sysdeps/unix/sysv/syscalls.list.
62388         (stime): Likewise.
62389         (utime): Likewise.
62390         * sysdeps/unix/sysv/syscalls.list: Remove file.
62392 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
62394         [BZ #3440]
62395         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
62396         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
62397         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
62398         (__LC_IDENTIFICATION): Make these macros useful in #if
62399         expressions, as required by C99.
62401 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
62403         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
62404         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
62405         after this.
62407 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
62409         * stdlib/longlong.h: Updated from GCC.
62411 2012-05-09  Andreas Jaeger  <aj@suse.de>
62413         * nscd/nscd.c (run_modes): Make named enum, reorder so that
62414         default is first entry.
62415         (run_mode): Set type.
62416         (main): Remove informal message about syslog.
62417         (options): Fix typo.
62419         [BZ #14053]
62420         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
62421         to asm.
62422         (lrint): Likewise.
62423         (llrintf): Likewise.
62424         (llrint): Likewise.
62425         (rint): Likewise.
62426         (rintf): Likewise.
62427         (nearbyint): Likewise.
62428         (nearbyintf): Likewise.
62430 2012-05-09  Andreas Jaeger  <aj@suse.de>
62431             Pedro Alves  <palves@redhat.com>
62433         * nscd/nscd.c (run_mode): Use enum.
62434         (main): Cleanup coding style issue.
62436 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
62437             Andreas Jaeger  <aj@suse.de>
62439         * nscd/nscd.c (go_background): Replaced with...
62440         (run_mode): ... this.
62441         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
62442         (options): Add -F --foreground.
62443         (main): Implement it.
62444         (parse_opt): Parse it.
62446 2012-05-09  Andreas Jaeger  <aj@suse.de>
62448         [BZ #14083]
62449         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
62450         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
62451         -Wconversion warning.
62452         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
62453         Likewise.
62455 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
62457         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
62458         == 0.
62459         (LC_ALL): Use macro-int-constant.
62460         (LC_COLLATE): Likewise.
62461         (LC_CTYPE): Likewise.
62462         (LC_MESSAGES): Likewise.
62463         (LC_MONETARY): Likewise.
62464         (LC_NUMERIC): Likewise.
62465         (LC_TIME): Likewise.
62466         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
62467         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62468         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62469         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
62470         Specify type.
62471         [C99-based standards] (float_t): Expect type.
62472         [C99-based standards] (double_t): Expect type.
62473         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
62474         type.
62475         [C99-based standards] (HUGE_VALL): Likewise.
62476         [C99-based standards] (INFINITY): Likewise.
62477         [C99-based standards] (NAN): Likewise.
62478         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
62479         [C99-based standards] (FP_NAN): Likewise.
62480         [C99-based standards] (FP_NORMAL): Likewise.
62481         [C99-based standards] (FP_SUBNORMAL): Likewise.
62482         [C99-based standards] (FP_ZERO): Likewise.
62483         [C99-based standards] (FP_FAST_FMA): Use
62484         optional-macro-int-constant.  Specify type.  Require == 1.
62485         [C99-based standards] (FP_FAST_FMAF): Likewise.
62486         [C99-based standards] (FP_FAST_FMAL): Likewise.
62487         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
62488         [C99-based standards] (FP_ILOGBNAN): Likewise.
62489         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
62490         Specify type.
62491         [C99-based standards] (MATH_ERREXCEPT): Likewise.
62492         [C99-based standards] (math_errhandling): Specify type.
62493         [ISO99 || ISO11] (signgam): Do not allow.
62494         [non-C99-based standards] (copysignf): Do not allow.
62495         [non-C99-based standards] (exp2f): Likewise.
62496         [non-C99-based standards] (log2f): Likewise.
62497         [non-C99-based standards] (modff): Allow.
62498         [non-C99-based standards] (erff): Do not allow.
62499         [non-C99-based standards] (erfcf): Likewise.
62500         [non-C99-based standards] (gammaf): Likewise.
62501         [non-C99-based standards] (hypotf): Likewise.
62502         [non-C99-based standards] (j0f): Likewise.
62503         [non-C99-based standards] (j1f): Likewise.
62504         [non-C99-based standards] (jnf): Likewise.
62505         [non-C99-based standards] (lgammaf): Likewise.
62506         [non-C99-based standards] (tgammaf): Likewise.
62507         [non-C99-based standards] (y0f): Likewise.
62508         [non-C99-based standards] (y1f): Likewise.
62509         [non-C99-based standards] (ynf): Likewise.
62510         [non-C99-based standards] (isnanf): Likewise.
62511         [non-C99-based standards] (acoshf): Likewise.
62512         [non-C99-based standards] (asinhf): Likewise.
62513         [non-C99-based standards] (atanhf): Likewise.
62514         [non-C99-based standards] (cbrtf): Likewise.
62515         [non-C99-based standards] (expm1f): Likewise.
62516         [non-C99-based standards] (ilogbf): Likewise.
62517         [non-C99-based standards] (log1pf): Likewise.
62518         [non-C99-based standards] (logbf): Likewise.
62519         [non-C99-based standards] (nextafterf): Likewise.
62520         [non-C99-based standards] (remainderf): Likewise.
62521         [non-C99-based standards] (rintf): Likewise.
62522         [non-C99-based standards] (scalbf): Likewise.
62523         [non-C99-based standards] (copysignl): Likewise.
62524         [non-C99-based standards] (exp2l): Likewise.
62525         [non-C99-based standards] (log2l): Likewise.
62526         [non-C99-based standards] (modfl): Allow.
62527         [non-C99-based standards] (erfl): Do not allow.
62528         [non-C99-based standards] (erfcl): Likewise.
62529         [non-C99-based standards] (gammal): Likewise.
62530         [non-C99-based standards] (hypotl): Likewise.
62531         [non-C99-based standards] (j0l): Likewise.
62532         [non-C99-based standards] (j1l): Likewise.
62533         [non-C99-based standards] (jnl): Likewise.
62534         [non-C99-based standards] (lgammal): Likewise.
62535         [non-C99-based standards] (tgammal): Likewise.
62536         [non-C99-based standards] (y0l): Likewise.
62537         [non-C99-based standards] (y1l): Likewise.
62538         [non-C99-based standards] (ynl): Likewise.
62539         [non-C99-based standards] (isnanl): Likewise.
62540         [non-C99-based standards] (acoshl): Likewise.
62541         [non-C99-based standards] (asinhl): Likewise.
62542         [non-C99-based standards] (atanhl): Likewise.
62543         [non-C99-based standards] (cbrtl): Likewise.
62544         [non-C99-based standards] (expm1l): Likewise.
62545         [non-C99-based standards] (ilogbl): Likewise.
62546         [non-C99-based standards] (log1pl): Likewise.
62547         [non-C99-based standards] (logbl): Likewise.
62548         [non-C99-based standards] (nextafterl): Likewise.
62549         [non-C99-based standards] (remainderl): Likewise.
62550         [non-C99-based standards] (rintl): Likewise.
62551         [non-C99-based standards] (scalbl): Likewise.
62552         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62553         [non-C99-based standards] (FP_*): Do not allow.
62554         [C99-based standards] (FP_*): Change to
62555         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62556         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62557         allow.
62558         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
62559         (SIG_ERR): Likewise.
62560         [X/Open-based standards] (SIG_HOLD): Likewise.
62561         (SIG_IGN): Likewise.
62562         (SIGABRT): Use macro-int-constant.  Specify type.  Require
62563         positive value.
62564         (SIGFPE): Likewise.
62565         (SIGILL): Likewise.
62566         (SIGINT): Likewise.
62567         (SIGSEGV): Likewise.
62568         (SIGTER): Likewise.
62569         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
62570         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
62571         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
62572         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
62573         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
62574         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
62575         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
62576         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
62577         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
62578         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
62579         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
62580         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
62581         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
62582         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
62583         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
62584         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
62585         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
62586         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
62587         [X/Open-based standards] (SIGTRAP): Likewise.
62588         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
62589         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
62590         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
62591         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
62592         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62593         allow.
62595 2012-05-08  Ian Wienand  <ianw@vmware.com>
62597         [BZ #14080]
62598         * time/tzset.c (__tzset_parse_tz): Update default rules for
62599         daylight time changes in the Energy Policy Act of 2005.
62601 2012-05-09  Andreas Jaeger  <aj@suse.de>
62603         [BZ #13983]
62604         * elf/ldconfig.c (parse_conf): Change string to make clear that
62605         ldconfig only issued a warning if ld.so.conf does not exist.
62607 2012-05-08  David S. Miller  <davem@davemloft.net>
62609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
62610         movxtod instead of popping the value on the stack.
62612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62614 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
62616         * config.h.in: Add HAVE_ARM_PCS_VFP.
62618 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
62620         [BZ #13979]
62621         * include/features.h: Warn if user requests __FORTIFY_SOURCE
62622         checking but the checks are disabled for any reason.
62624 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
62626         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
62627         and ELF64_R_TYPE with ELFW(R_TYPE).
62629 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
62631         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
62632         (ulimit): Likewise.
62634         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
62635         (settimeofday): Likewise.
62637 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
62639         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
62640         a struct th_u2 inside the union, and move tu_block/tu_code into
62641         a new th_u3 union of tu_block/tu_code inside of that.  Move
62642         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
62643         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
62644         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
62645         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
62646         (th_stuff): Change to th_u1.tu_stuff.
62647         (th_data): Define.
62648         (th_msg): Change to th_u1.th_u2.tu_data.
62650 2012-05-07  David S. Miller  <davem@davemloft.net>
62652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62654         [BZ #14074]
62655         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
62656         (SETUP_PIC_REG): Use it.
62657         (SETUP_PIC_REG_LEAF): Use it.
62659 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
62661         [BZ #13885]
62662         [BZ #13923]
62663         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62664         USE_AS_EXPM1L.
62665         (EXPL_FINITE): Likewise.
62666         (FLDLOG): Likewise.
62667         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62668         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62669         e_expl.S.
62670         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62671         USE_AS_EXPM1L.
62672         (EXPL_FINITE): Likewise.
62673         (FLDLOG): Likewise.
62674         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62675         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62676         e_expl.S.
62677         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
62678         test of -max_value argument for long double.
62679         * sysdeps/i386/fpu/libm-test-ulps: Update.
62680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62682 2012-05-06  David S. Miller  <davem@davemloft.net>
62684         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
62685         quad soft-float symbols whose references which are compiler
62686         generated.
62687         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62689 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
62691         [BZ #13884]
62692         [BZ #13914]
62693         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62694         USE_AS_EXP10L.
62695         (EXPL_FINITE): Likewise.
62696         (FLDLOG): Likewise.
62697         (c0): Likewise.
62698         (c1): Likewise.
62699         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62700         Adjust comments for base varying.
62701         (__expl_finite): Change alias to EXPL_FINITE.
62702         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
62703         e_expl.S.
62704         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
62705         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
62706         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62707         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
62708         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62709         USE_AS_EXP10L.
62710         (EXPL_FINITE): Likewise.
62711         (FLDLOG): Likewise.
62712         (c0): Likewise.
62713         (c1): Likewise.
62714         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62715         Adjust comments for base varying.
62716         (__expl_finite): Change alias to EXPL_FINITE.
62717         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
62718         tests for bugs.
62719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62721         [BZ #14064]
62722         * math/libm-test.inc (check_float_internal): Correct ulp
62723         calculation for subnormal expected results.
62725 2012-05-06  Andreas Jaeger  <aj@suse.de>
62727         * Makeconfig (+math-flags): New, set to -frounding-math.
62728         (+cflags): Add +math-flags so that all of glibc gets compiled with
62729         it.
62731         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
62733 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
62735         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
62736         Disable one test.
62738         [BZ #13787]
62739         [BZ #13922]
62740         [BZ #14036]
62741         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
62742         (__ieee754_expl): Allow for and saturate large arguments.
62743         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
62744         (u_threshold): Likewise.
62745         (__exp): Call __ieee754_exp before checking for overflow and
62746         underflow.
62747         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
62748         (u_threshold): Likewise.
62749         (__expf): Call __ieee754_expf before checking for overflow and
62750         underflow.
62751         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
62752         (u_threshold): Likewise.
62753         (__expl): Call __ieee754_expl before checking for overflow and
62754         underflow.
62755         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
62756         (__ieee754_expl): Allow for and saturate large arguments.
62757         * math/libm-test.inc (exp_test): Add another test.  Do not allow
62758         missing overflow exception on overflow.
62759         (expm1_test): Do not allow missing overflow exception on overflow.
62761         * sysdeps/i386/fpu/e_expl.c: Move to ...
62762         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
62763         rather than using inline asm.
62764         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
62765         * sysdeps/x86_64/fpu/e_expl.S: Copy from
62766         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
62768         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
62769         (nice): Likewise.
62770         (poll): Likewise.
62771         (signal): Likewise.
62772         (time): Likewise.
62773         (times): Likewise.
62775 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62777         * sysdeps/unix/syscalls.list (adjtime): Add entry from
62778         sysdeps/unix/common/syscalls.list.
62779         (fchmod): Likewise.
62780         (fchown): Likewise.
62781         (ftruncate): Likewise.
62782         (getrusage): Likewise.
62783         (gettimeofday): Likewise.
62784         (setpgid): Likewise.
62785         (setregid): Likewise.
62786         (setreuid): Likewise.
62787         (sigaction): Likewise.
62788         (truncate): Likewise.
62789         (vhangup): Likewise.
62790         * sysdeps/unix/common/syscalls.list: Remove file.
62791         * sysdeps/unix/bsd/Implies: Don't include unix/common.
62792         * sysdeps/unix/sysv/linux/Implies: Likewise.
62794 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
62796         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
62797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
62798         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
62799         Moved to ...
62800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
62801         Here.
62802         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
62803         to ...
62804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
62805         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
62806         to ...
62807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
62808         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
62809         to ...
62810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
62811         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
62812         to ...
62813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
62814         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
62815         to ...
62816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
62817         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
62818         to ...
62819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
62820         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
62821         to ...
62822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62823         Here.
62824         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
62825         to ...
62826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
62827         Here.
62828         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
62829         to ...
62830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
62831         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
62832         Moved to ...
62833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
62834         Here.
62835         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
62836         to ...
62837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
62839 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62841         * sysdeps/unix/common/bits/dirent.h: Remove file.
62842         * sysdeps/unix/common/bits/fcntl.h: Likewise.
62844         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
62845         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
62846         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
62847         * sysdeps/unix/bsd/isatty.c: Likewise.
62848         * sysdeps/unix/bsd/tcdrain.c: Likewise.
62849         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
62850         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
62852 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62854         [BZ #13563]
62855         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
62856         long double comparison inaccuracies.
62857         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62860 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
62862         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
62863         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
62865 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62867         [BZ #14049]
62868         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
62869         nonzero digits before rounding a hex value.
62870         * stdlib/tst-strtod.c (tests): Add another test.
62872 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62874         * sysdeps/s390/fpu/libm-test-ulps: Update.
62876 2012-05-03  Andreas Jaeger  <aj@suse.de>
62878         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
62879         does not get optimized out.
62880         (malloc_opt_barrier): New.
62882 2012-05-03  Andreas Jaeger  <aj@suse.de>
62883             Roland McGrath  <roland@hack.frob.com>
62885         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
62886         intermediate file deletion.
62887         (generated): Add .symlist files.
62889 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
62891         [BZ #13775]
62892         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
62893         Redirect under this condition.
62894         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62895         [__USE_GNU] (__dprintf_chk): Not under this condition.
62896         [__USE_GNU] (__vdprintf_chk): Likewise.
62897         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
62898         under this condition.
62899         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62900         [__USE_XOPEN2K8] (dprintf): Define under this condition.
62901         [__USE_XOPEN2K8] (vdprintf): Likewise.
62902         [__USE_GNU] (__dprintf_chk): Not under this condition.
62903         [__USE_GNU] (__vdprintf_chk): Likewise.
62904         [__USE_GNU] (dprintf): Likewise.
62905         [__USE_GNU] (vdprintf): Likewise.
62907 2012-05-03  Roland McGrath  <roland@hack.frob.com>
62909         * elf/Makefile (common-generated): Set this instead of generated for
62910         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
62911         $(all-built-dso)-derived lists.
62913 2012-05-03  Andreas Jaeger  <aj@suse.de>
62915         * sysdeps/i386/fpu/libm-test-ulps: Update.
62917         * FAQ: Removed.
62918         * FAQ.in: Likewise.
62919         * scripts/gen-FAQ.pl: Likewise.
62920         * manual/install.texi (Installation): Point to online location of
62921         FAQ.
62922         * Makefile (files-for-dist): Remove FAQ.
62923         (FAQ): Remove.
62925 2012-05-02  Allan McRae  <allan@archlinux.org>
62927         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
62928         (LDFLAGS-reldepmod5.so): Likewise.
62929         (LDFLAGS-reldep6mod1.so): Likewise.
62930         (LDFLAGS-reldep6mod4.so): Likewise.
62931         (LDFLAGS-reldep8mod3.so): Likewise.
62932         (LDFLAGS-unload4mod1.so): Likewise.
62933         (LDFLAGS-unload4mod2.so): Likewise.
62934         (LDFLAGS-tst-initorder): Likewise.
62935         (LDFLAGS-tst-initordera2.so): Likewise.
62936         (LDFLAGS-tst-initordera3.so): Likewise.
62937         (LDFLAGS-tst-initordera4.so): Likewise.
62938         (LDFLAGS-tst-initorderb2.so): Likewise.
62939         (LDFLAGS-noload): Likewise.
62940         (LDFLAGS-next): Likewise.
62941         (LDFLAGS-order2mod1.so): Likewise.
62942         (LDFLAGS-order2mod2.so): Likewise.
62943         (LDFLAGS-tst-initorder2): Likewise.
62944         (LDFLAGS-tst-initorder2a.so): Likewise.
62945         (LDFLAGS-tst-initorder2b.so): Likewise.
62946         (LDFLAGS-tst-initorder2c.so): Likewise.
62947         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
62949 2012-05-02  David S. Miller  <davem@davemloft.net>
62951         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62953 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
62955         [BZ #14055]
62956         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
62958 2012-05-02  Andreas Jaeger  <aj@suse.de>
62960         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
62961         since we manipulate rounding mode.
62962         (CPPFLAGS-test-idouble.c): Likewise.
62963         (CPPFLAGS-test-ifloat.c): Likewise.
62964         (CFLAGS-test-ldouble.c): Likewise.
62965         (CFLAGS-test-double.c): Likewise.
62966         (CFLAGS-test-float.c): Likewise.
62967         (CFLAGS-test-misc.c): Likewise.
62968         (CFLAGS-test-test-fenv.c): Likewise.
62970 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62972         [BZ #2550]
62973         [BZ #2570]
62974         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
62975         comparisons to determine direction to adjust input.
62977 2012-05-01  Roland McGrath  <roland@hack.frob.com>
62979         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
62980         output to the target.
62982         * scripts/localplt.awk: New file.
62983         * elf/Makefile ($(objpfx)check-localplt): Target removed.
62984         (check-localplt-CFLAGS): Variable removed.
62985         ($(all-built-dso:=.jmprel)): New static pattern rule.
62986         (generated): Add those targets.
62987         (localplt-built-dso): New variable.
62988         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
62990         * elf/check-localplt.c: File removed.
62992         * scripts/check-execstack.awk: New file.
62993         * elf/Makefile ($(objpfx)check-execstack): Target removed.
62994         (check-execstack-CFLAGS): Variable removed.
62995         ($(objpfx)check-execstack.h): Target removed.
62996         ($(objpfx)execstack-default): New target.
62997         (generated): Add that instead of check-execstack.h.
62998         ($(all-built-dso:=.phdr)): New static pattern rule.
62999         (generated): Add those targets.
63000         * elf/check-execstack.c: File removed.
63002         * scripts/check-textrel.awk: New file.
63003         * elf/Makefile ($(objpfx)check-textrel): Target removed.
63004         (check-textrel-CFLAGS): Variable removed.
63005         (all-built-dso): Use := to define.o
63006         ($(all-built-dso:=.dyn)): New static pattern rule.
63007         (generated): Add those targets.
63008         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
63009         * config.make.in (READELF): New substituted variable.
63010         * elf/check-textrel.c: File removed.
63012 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63014         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63015         allow.
63016         * conform/data/ctype.h-data [C99-based standards] (isblank):
63017         Expect function.
63018         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
63019         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
63020         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63021         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
63022         Specify type.  Require positive value.
63023         (EILSEQ): Likewise.
63024         (ERANGE): Likewise.
63025         [ISO || POSIX] (EILSEQ): Do not expect.
63026         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
63027         Specify type.  Require positive value.
63028         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
63029         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
63030         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
63031         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
63032         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
63033         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
63034         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
63035         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
63036         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
63037         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
63038         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
63039         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
63040         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
63041         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
63042         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
63043         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
63044         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
63045         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
63046         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
63047         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
63048         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
63049         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
63050         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
63051         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
63052         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
63053         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
63054         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
63055         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
63056         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
63057         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
63058         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
63059         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
63060         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
63061         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
63062         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
63063         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
63064         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
63065         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
63066         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
63067         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
63068         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
63069         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
63070         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
63071         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
63072         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
63073         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
63074         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
63075         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
63076         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
63077         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
63078         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
63079         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
63080         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
63081         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
63082         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
63083         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
63084         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
63085         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
63086         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
63087         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
63088         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
63089         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
63090         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
63091         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
63092         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
63093         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
63094         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
63095         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
63096         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
63097         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
63098         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
63099         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
63100         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
63101         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
63102         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
63103         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
63104         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
63105         Require >= 2.
63106         (FLT_ROUNDS): Expect as macro, not constant.
63107         (FLT_MANT_DIG): Use macro-int-constant.
63108         (DBL_MANT_DIG): Likewise.
63109         (LDBL_MANT_DIG): Likewise.
63110         (FLT_DIG): Likewise.
63111         (DBL_DIG): Likewise.
63112         (LDBL_DIG): Likewise.
63113         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
63114         (DBL_MIN_EXP): Likewise.
63115         (LDBL_MIN_EXP): Likewise.
63116         (FLT_MAX_EXP): Use macro-int-constant.
63117         (DBL_MAX_EXP): Likewise.
63118         (LDBL_MAX_EXP): Likewise.
63119         (FLT_MAX_10_EXP): Likewise.
63120         (DBL_MAX_10_EXP): Likewise.
63121         (LDBL_MAX_10_EXP): Likewise.
63122         (FLT_MAX): Use macro-constant.
63123         (DBL_MAX): Likewise.
63124         (LDBL_MAX): Likewise.
63125         (FLT_EPSILON): Use macro-constant.  Give upper bound.
63126         (DBL_EPSILON): Likewise.
63127         (LDBL_EPSILON): Likewise.
63128         (FLT_MIN): Likewise.
63129         (DBL_MIN): Likewise.
63130         (LDBL_MIN): Likewise.
63131         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
63132         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
63133         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
63134         [ISO11] (FLT_HAS_SUBNORM): Likewise.
63135         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
63136         [ISO11] (DBL_DECIMAL_DIG): Likewise.
63137         [ISO11] (FLT_DECIMAL_DIG): Likewise.
63138         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
63139         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
63140         [ISO11] (FLT_TRUE_MIN): Likewise.
63141         [ISO11] (LDBL_TRUE_MIN): Likewise.
63142         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63143         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
63144         (SCHAR_MIN): Use macro-int-constant.  Specify type.
63145         (SCHAR_MAX): Likewise.
63146         (UCHAR_MAX): Likewise.
63147         (CHAR_MIN): Likewise.
63148         (CHAR_MAX): Likewise.
63149         (MB_LEN_MAX): Use macro-int-constant.
63150         (SHRT_MIN): Use macro-int-constant.  Specify type.
63151         (SHRT_MAX): Likewise.
63152         (USHRT_MAX): Likewise.
63153         (INT_MAX): Likewise.
63154         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
63155         bound negative.
63156         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63157         bound with "U".
63158         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63159         bound with "L".
63160         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
63161         bound negative.  Suffix upper bound with "L".
63162         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63163         bound with "UL".
63164         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
63165         Specify type.
63166         [C99-based standards] (LLONG_MAX): Likewise.
63167         [C99-based standards] (ULLONG_MAX): Likewise.
63168         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
63169         == 0.
63170         [ISO11] (max_align_t): Require type.
63171         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63173         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
63174         from $CFLAGS, without defining away __attribute__ calls.
63175         (checknamespace): Use $CFLAGS_namespace.
63177         * conform/conformtest.pl (@keywords): Only include C99 keywords
63178         for standards based on C99 or C11.
63180         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
63181         Disable tests.
63182         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
63183         UNIX98]: Likewise.
63185         * conform/conformtest.pl: Handle "macro-int-constant" and test for
63186         usability of symbols in #if.
63188         * conform/conformtest.pl: If macro or constant types start
63189         "promoted:", expect the symbol to be of the following type
63190         promoted by the integer promotions.
63192         * conform/conformtest.pl: Parse all "constant" and "macro" lines
63193         in one place.  Also handle "macro-constant".
63195         * conform/conformtest.pl: Only accept expected macro values with
63196         "==".  Parse all "macro" lines in one place.
63197         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
63199         * conform/conformtest.pl: Handle braced types on "constant" lines
63200         instead of handling "typed-constant".
63201         * conform/data/signal.h-data: Use "constant" instead of
63202         "typed-constant".
63204         * conform/conformtest.pl: Handle "optional-" at start of lines in
63205         one place rather than duplicating several cases.  Handle each
63206         format of "macro" line with initial "optional-".
63208         * conform/conformtest.pl: Only accept expected constant or
63209         optional-constant values with "==".  Parse all "constant" lines in
63210         one place.  Parse all "optional-constant" lines in one place.
63211         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
63212         * conform/data/fmtmsg.h-data: Likewise.
63213         * conform/data/netinet/in.h-data: Likewise.
63214         * conform/data/tar.h-data: Likewise.
63215         * conform/data/limits.h-data: Use "==" form on "constant" and
63216         "optional-constant" lines.
63218         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
63219         Use -std=c99 for XOPEN2K.
63220         (@knownproblems): Remove.
63221         (newtoken): Don't check %isknown.
63223         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
63224         Do not expect macro.
63225         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
63226         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
63227         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
63228         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
63229         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
63230         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
63231         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
63232         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
63233         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
63234         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
63235         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
63236         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
63237         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
63238         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
63239         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
63240         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
63241         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
63242         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
63243         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
63244         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
63245         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
63246         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
63247         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
63248         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
63249         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
63250         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
63251         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
63252         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
63253         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
63254         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
63255         [XPG3] (acosh): Likewise.
63256         [XPG3] (asinh): Likewise.
63257         [XPG3] (atanh): Likewise.
63258         [XPG3] (cbrt): Likewise.
63259         [XPG3] (expm1): Likewise.
63260         [XPG3] (ilogb): Likewise.
63261         [XPG3] (log1p): Likewise.
63262         [XPG3] (logb): Likewise.
63263         [XPG3] (nextafter): Likewise.
63264         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
63265         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
63266         [XPG3] (remainder): Likewise.
63267         [XPG3] (rint): Likewise.
63268         [XPG3 || XPG4 || UNIX98] (round): Likewise.
63269         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
63270         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
63271         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
63272         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
63273         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
63274         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
63275         [UNIX98 || XOPEN2K] (scalb): Expect.
63276         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
63277         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
63278         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
63279         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
63280         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
63281         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
63282         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
63283         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
63284         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
63285         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
63286         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
63287         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
63288         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
63289         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
63290         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
63291         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
63292         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
63293         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
63294         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
63295         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
63296         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
63297         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
63298         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
63299         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
63300         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
63301         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
63302         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
63303         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
63304         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
63305         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
63306         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
63307         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
63308         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
63309         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
63310         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
63311         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
63312         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
63313         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
63314         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
63315         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
63316         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
63317         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
63318         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
63319         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
63320         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
63321         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
63322         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
63323         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
63324         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
63325         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
63326         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
63327         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
63328         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
63329         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
63330         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
63331         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
63332         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
63333         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
63334         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
63335         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
63336         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
63337         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
63338         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
63339         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
63340         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
63341         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
63342         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
63343         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
63344         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
63345         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
63346         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
63347         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
63348         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
63349         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
63350         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
63351         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
63352         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
63353         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
63354         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
63355         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
63356         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
63357         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
63358         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
63359         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
63360         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
63361         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
63362         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
63363         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
63364         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
63365         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
63366         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
63367         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
63368         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
63369         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
63370         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
63371         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
63372         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
63373         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
63374         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
63375         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
63376         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
63377         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
63378         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
63379         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
63380         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
63381         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
63382         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
63383         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
63384         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
63385         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
63386         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
63387         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
63388         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
63389         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
63390         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
63391         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
63392         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
63393         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
63394         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
63395         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
63396         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
63397         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
63398         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
63399         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
63400         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
63401         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
63402         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
63403         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
63404         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
63405         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
63406         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
63407         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
63408         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
63409         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
63410         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
63411         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
63412         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
63414         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
63415         _XOPEN_SOURCE_EXTENDED for XPG4.
63417         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
63419         * Makeconfig (localtime): Remove variable.
63420         (inst_localtime-file): Likewise.
63422 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
63425         Update.
63426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63427         Update.
63428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
63429         Update.
63430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63431         Update.
63432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
63433         Update.
63434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
63435         Update.
63436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63437         Update.
63438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
63439         Update.
63440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63441         Update.
63443 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63445         [BZ #2550]
63446         [BZ #2570]
63447         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
63448         comparisons to determine direction to adjust input.
63449         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
63450         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
63451         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
63452         Likewise.
63453         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
63454         Likewise.
63455         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63456         Likewise.
63457         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
63458         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
63459         Likewise.
63460         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
63461         Likewise.
63462         * math/libm-test.inc (nexttoward_test): Add more tests.
63464 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63466         [BZ #14040]
63467         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
63468         in version GLIBC_2.1, not GLIBC_2.0.
63469         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
63470         Likewise.
63472 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
63474         [BZ #13942]
63475         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
63476         (1 - x) * (1 + x).
63477         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63478         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
63479         * math/libm-test.inc (acos_test): Add more tests.
63480         (asin_test): Likewise.
63481         * sysdeps/i386/fpu/libm-test-ulps: Update.
63482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63484         [BZ #14034]
63485         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
63486         of square root.
63487         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
63488         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63489         * math/libm-test.inc (acos_test_tonearest): New function.
63490         (acos_test_towardzero): Likewise.
63491         (acos_test_downward): Likewise.
63492         (acos_test_upward): Likewise.
63493         (asin_test_tonearest): Likewise.
63494         (asin_test_towardzero): Likewise.
63495         (asin_test_downward): Likewise.
63496         (asin_test_upward): Likewise.
63497         (main): Call the new functions.
63498         * sysdeps/i386/fpu/libm-test-ulps: Update.
63499         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63501         [BZ #13884]
63502         [BZ #13924]
63503         * math/e_exp10.c: Include <float.h>.
63504         (__ieee754_exp10): Handle underflow here rather than multiplying
63505         large negative argument by M_LN10.
63506         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
63507         of __ieee754_expf.
63508         * math/e_exp10l.c: Include <float.h>.
63509         (__ieee754_exp10l): Handle underflow here rather than multiplying
63510         large negative argument by M_LN10l.
63511         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
63512         spurious overflow exception on underflow.
63514 2012-04-29  Marek Polacek  <polacek@redhat.com>
63516         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
63517         (__fortify_function): New macro.
63518         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
63519         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
63520         __extern_always_inline.
63521         * libio/bits/stdio2.h: Likewise.
63522         * libio/bits/stdio.h: Likewise.
63523         * string/string.h: Likewise.
63524         * string/bits/string3.h: Likewise.
63525         * include/stdio.h: Likewise.
63526         * stdlib/bits/stdlib.h: Likewise.
63527         * stdlib/stdlib.h: Likewise.
63528         * rt/bits/mqueue2.h: Likewise.
63529         * rt/mqueue.h: Likewise.
63530         * posix/bits/unistd.h: Likewise.
63531         * posix/unistd.h: Likewise.
63532         * io/bits/poll2.h: Likewise.
63533         * io/bits/fcntl2.h: Likewise.
63534         * io/fcntl.h: Likewise.
63535         * io/sys/poll.h: Likewise.
63536         * misc/bits/syslog.h: Likewise.
63537         * misc/bits/syslog-ldbl.h: Likewise.
63538         * misc/sys/syslog.h: Likewise.
63539         * socket/bits/socket2.h: Likewise.
63540         * socket/sys/socket.h: Likewise.
63541         * debug/tst-chk1.c: Likewise.
63542         * wcsmbs/bits/wchar2.h: Likewise.
63543         * wcsmbs/bits/wchar-ldbl.h: Likewise.
63544         * wcsmbs/wchar.h: Likewise.
63546 2012-04-29  Andreas Jaeger  <aj@suse.de>
63548         * Makerules (tests): Remove enable-check-abi protection.
63549         (check-abi-warn): Remove.
63550         (check-abi-%): Remove check-abi-warn usage.
63552         * configure.in: Remove check-abi configure option.
63553         * configure: Regenerated.
63554         * config.make.in (enable-check-abi): Remove.
63556 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
63558         [BZ #14033]
63559         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
63560         double functions to double *_finite functions.
63562         [BZ #13941]
63563         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
63564         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
63565         LDBL_MIN_EXP.
63566         * stdio-common/Makefile (tests): Add tst-sprintf3.
63567         * stdio-common/tst-sprintf3.c: New file.
63569         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
63570         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
63572 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63574         * conform/conformtest.pl: Remove duplicate typed-constant
63575         handling.
63577 2012-04-28  David S. Miller  <davem@davemloft.net>
63579         * Makerules (%.abilist): Add vpath on sysdep_dirs.
63580         (check-abi-%): Remove AWK script prerequisite and explicit
63581         abilist directory.
63582         (check-abi): Rewrite to just diff the symlist with the abilist.
63583         (config-tls, config-abi-config): Delete, no longer used.
63584         (update-abi-%): Remove AWK script and explicit abilist directory.
63585         (update-abi): Rewrite to simply compare and conditionally copy the
63586         symlist and the sysdep abilist file.  Remove update-abi-config
63587         checks.
63588         * abilist/ld.abilist: Remove.
63589         * abilist/libBrokenLocale.abilist: Remove.
63590         * abilist/libanl.abilist: Remove.
63591         * abilist/libcrypt.abilist: Remove.
63592         * abilist/libdl.abilist: Remove.
63593         * abilist/librt.abilist: Remove.
63594         * abilist/libthread_db.abilist: Remove.
63595         * abilist/libutil.abilist: Remove.
63596         * scripts/extract-abilist.awk: Remove.
63597         * scripts/merge-abilist.awk: Remove.
63598         * sysdeps/generic/libcidn.abilist: New file.
63599         * sysdeps/generic/libnss_compat.abilist: New file.
63600         * sysdeps/generic/libnss_db.abilist: New file.
63601         * sysdeps/generic/libnss_dns.abilist: New file.
63602         * sysdeps/generic/libnss_files.abilist: New file.
63603         * sysdeps/generic/libnss_hesiod.abilist: New file.
63604         * sysdeps/generic/libnss_nis.abilist: New file.
63605         * sysdeps/generic/libnss_nisplus.abilist: New file.
63606         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
63607         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
63608         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
63609         file.
63610         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
63611         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
63612         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
63613         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
63614         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
63615         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
63616         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
63617         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
63618         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
63619         file.
63620         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
63621         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
63622         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
63623         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
63624         file.
63625         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
63626         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
63627         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
63628         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
63629         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
63630         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
63631         file.
63632         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
63633         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
63634         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
63635         file.
63636         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
63637         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
63638         New file.
63639         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
63640         New file.
63641         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
63642         New file.
63643         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
63644         New file.
63645         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
63646         New file.
63647         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
63648         New file.
63649         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
63650         New file.
63651         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
63652         New file.
63653         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
63654         New file.
63655         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
63656         New file.
63657         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
63658         New file.
63659         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
63660         New file.
63661         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
63662         New file.
63663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
63664         file.
63665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
63666         New file.
63667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
63668         New file.
63669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
63670         file.
63671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
63672         New file.
63673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
63674         New file.
63675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
63676         file.
63677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
63678         New file.
63679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63680         New file.
63681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
63682         New file.
63683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
63684         New file.
63685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
63686         New file.
63687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
63688         New file.
63689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
63690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
63691         file.
63692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
63693         New file.
63694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
63695         file.
63696         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
63697         file.
63698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
63699         file.
63700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
63701         file.
63702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
63703         file.
63704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63705         New file.
63706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
63707         file.
63708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
63709         file.
63710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
63711         New file.
63712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
63713         file.
63714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
63715         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
63716         file.
63717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
63718         New file.
63719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
63720         file.
63721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
63722         file.
63723         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
63724         file.
63725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
63726         file.
63727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
63728         file.
63729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63730         New file.
63731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
63732         file.
63733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
63734         file.
63735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
63736         New file.
63737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
63738         file.
63739         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63740         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
63741         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
63742         file.
63743         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
63744         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
63745         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
63746         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
63747         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
63748         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
63749         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
63750         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
63751         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
63752         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
63753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
63754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
63755         file.
63756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
63757         New file.
63758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
63759         file.
63760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
63761         file.
63762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
63763         file.
63764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
63765         file.
63766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
63767         file.
63768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63769         New file.
63770         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
63771         New file.
63772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
63773         file.
63774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
63775         New file.
63776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
63777         file.
63778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
63779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
63780         file.
63781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
63782         New file.
63783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
63784         file.
63785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
63786         file.
63787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
63788         file.
63789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
63790         file.
63791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
63792         file.
63793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63794         New file.
63795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
63796         New file.
63797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
63798         file.
63799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
63800         New file.
63801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
63802         file.
63804 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63806         * conform/conformtest.pl: Fix typo in handling typed-constant from
63807         allow-header.
63809 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63811         * README: Cut down references to pre-2.6 Linux kernels and
63812         Linuxthreads.  Update lists of configurations in libc and ports
63813         and sort alphabetically.  Say "or newer" with Linux kernel version
63814         requirements.
63816         * config.h.in [IS_IN_build]: Allow compiling without optimization.
63818 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63820         [BZ #887]
63821         * math/libm-test.inc (logb_test_downward): New test to expose
63822         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
63823         rounding mode.
63825 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63827         [BZ #14027]
63828         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
63829         to be done.
63830         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
63831         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
63833 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
63835         * sysdeps/unix/i386/brk.S: Remove file.
63836         * sysdeps/unix/i386/dl-brk.S: Likewise.
63837         * sysdeps/unix/i386/pipe.S: Likewise.
63838         * sysdeps/unix/i386/sigreturn.S: Likewise.
63839         * sysdeps/unix/i386/syscall.S: Likewise.
63840         * sysdeps/unix/i386/vfork.S: Likewise.
63841         * sysdeps/unix/i386/wait.S: Likewise.
63843         * sysdeps/unix/common/tcsendbrk.c: Move to ...
63844         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
63846         * configure.in (arm*-none*): Do not allow without
63847         --enable-hacker-mode.
63848         (netbsd*): Remove case setting base_os.
63849         (386bsd*): Likewise.
63850         (freebsd*): Likewise.
63851         (bsdi*): Likewise.
63852         (osf*): Likewise.
63853         (sunos*): Likewise.
63854         (ultrix*): Likewise.
63855         (newsos*): Likewise.
63856         (dynix*): Likewise.
63857         (*bsd*): Likewise.
63858         (sysv*): Likewise.
63859         (isc*): Likewise.
63860         (esix*): Likewise.
63861         (sco*): Likewise.
63862         (minix*): Likewise.
63863         (irix4*): Likewise.
63864         (irix6*): Likewise.
63865         (solaris[2-9]*): Likewise.
63866         (none): Likewise.
63867         * configure: Regenerated.
63869 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63871         [BZ #11521]
63872         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
63873         overflow or cancellation in calculating denominator.
63874         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
63875         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
63876         down expression to avoid unexpected rounding in newer GCCs.
63877         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
63879 2012-04-26  David S. Miller  <davem@davemloft.net>
63881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
63882         long-double compat symbols.
63883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
63887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
63889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
63890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
63891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
63892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
63893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
63894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
63895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63897 2012-04-25  David S. Miller  <davem@davemloft.net>
63899         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
63900         HWCAP_* values only after the memory barriers have been defined.
63901         (atomic_full_barrier): Define.
63902         (atomic_read_barrier): Define.
63903         (atomic_write_barrier): Define.
63905 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63907         * shlib-versions: Add libgcc_s version information.
63908         * sysdeps/generic/libgcc_s.h: Remove.
63909         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
63910         libgcc_s.h.
63911         * sysdeps/gnu/unwind-resume.c: Likewise.
63912         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
63914 2012-04-25  David S. Miller  <davem@davemloft.net>
63916         * sysdeps/unix/sparc/brk.S: Delete.
63917         * sysdeps/unix/sparc/dl-brk.S: Delete.
63918         * sysdeps/unix/sparc/pipe.S: Delete.
63919         * sysdeps/unix/sparc/sysdep.S: Delete.
63920         * sysdeps/unix/sparc/sysdep.h: Delete.
63921         * sysdeps/unix/sparc/vfork.S: Delete.
63922         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
63923         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
63924         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
63925         (ret_ERRVAL, r0, r1, MOVE): Define.
63926         (JUMPTARGET): Remove.
63927         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
63928         sysdeps/unix/sparc/sysdep.h
63929         (ENTRY, END): Remove.
63930         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63932 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
63934         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
63935         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
63936         -DIS_IN_build.
63938         * timezone/README: Update upstream location and email address for
63939         tzcode and tzdata.
63940         * timezone/zdump.c: Update from tzcode 2012b.
63941         * timezone/zic.c: Likewise.
63943         * configure.in (libc_cv_as_needed): Remove test.
63944         * configure: Regenerated.
63945         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
63946         conditional definition.
63947         [$(have-as-needed) != yes] (no-as-needed): Likewise.
63948         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
63949         * config.make.in (have-as-needed): Remove variable.
63951 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63952             Paul Pluzhnikov  <ppluzhnikov@google.com>
63954         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
63955         strings correctly.
63957 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
63959         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
63960         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
63961         * sysdeps/sh/strlen.S: Likewise.
63963 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63965         * sysdeps/unix/fork.S: Remove file.
63966         * sysdeps/unix/i386/fork.S: Likewise.
63967         * sysdeps/unix/sparc/fork.S: Likewise.
63969         * sysdeps/unix/system.c: Remove file.
63970         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
63972         * sysdeps/unix/getegid.S: Remove file.
63973         * sysdeps/unix/geteuid.S: Likewise.
63975 2012-04-24  Roland McGrath  <roland@hack.frob.com>
63977         * scripts/check-localplt.awk: New file.
63978         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
63979         of diff.
63980         * scripts/data/localplt-generic.data: Add a comment.
63982         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
63983         NODE when __dir_mkfile failed.
63984         * sysdeps/mach/hurd/symlinkat.c: Likewise.
63985         Reported by Ludovic Courtès <ludo@gnu.org>.
63987 2012-04-24  Andreas Jaeger  <aj@suse.de>
63989         * Makerules (common-clean): Also remove gen-as-const-headers
63990         files.
63992 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63994         * Makerules (native-compile): Do not change working directory for
63995         build.  Use $(OUTPUT_OPTION) in command.
63996         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
63998 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64000         [BZ #13886]
64001         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
64002         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
64003         * math/libm-test.inc (floor_test): Add more tests.
64004         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
64006 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64008         * sysdeps/unix/getdents.c: Remove file.
64009         * sysdeps/unix/sysv/getdents.c: Likewise.
64010         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
64012         * sysdeps/unix/syscalls.list (madvise): Add syscall from
64013         sysdeps/unix/mman/syscalls.list.
64014         (mmap): Likewise.
64015         (mprotect): Likewise.
64016         (msync): Likewise.
64017         (munmap): Likewise.
64018         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
64019         * sysdeps/unix/mman/syscalls.list: Remove.
64020         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
64022         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
64023         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
64024         * configure: Regenerated.
64025         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
64026         $(libgcc_s_suffix).
64027         * config.make.in (libgcc_s_suffix): Remove variable.
64029 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
64031         * sysdeps/unix/sysv/gethostname.c: Move to ...
64032         * sysdeps/posix/gethostname.c: ... here.
64034         * sysdeps/unix/execve.S: Remove file.
64036         * sysdeps/unix/_exit.S: Remove file.
64038 2012-04-23  Andreas Jaeger  <aj@suse.de>
64040         [BZ #13739]
64041         * manual/Makefile: Remove make dist support, there's no
64042         need for a stand-alone documentation tar ball.
64043         (TEXI2DVI): Define always, it's not in Makeconfig.
64044         (dist): Removed.
64045         (tar-it): Removed.
64046         (edition): Removed.
64047         (glibc-doc-$(edition).tar): Removed
64048         (%.Z): Removed.
64049         (%.gz): Removed.
64050         (%.uu): Removed.
64051         (ETAGS): Remove, it's in Makeconfig.
64052         (move-if-change): Remove, it's in Makeconfig.
64054 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
64056         [BZ #13970]
64057         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
64058         (strtod, strtof, strtold, strtol, strtoul, strtoq)
64059         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
64060         (strtod_l, strtof_l, strtold_l): Remove __wur.
64061         It is not necessarily an error to ignore strtol's return value.
64062         One can reliably look at the stored endptr to decide whether
64063         the number had valid syntax.
64065 2012-04-21  Andreas Jaeger  <aj@suse.de>
64067         [BZ #13739]
64068         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
64070 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
64072         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
64073         * sysdeps/unix/sysv/Versions: Remove file.
64075 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
64077         [BZ #13927]
64078         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64080 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
64082         [BZ #7064]
64083         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
64084         version from __vm86.
64086 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
64088         * sysdeps/unix/common/lxstat.c: Remove file.
64089         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
64091         * sysdeps/unix/sysv/Makefile: Remove file.
64093         * sysdeps/unix/sysv/direct.h: Remove file.
64095         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
64096         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
64097         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
64098         * sysdeps/unix/sysv/bits/signum.h: Likewise.
64099         * sysdeps/unix/sysv/bits/stat.h: Likewise.
64100         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
64101         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
64103         * sysdeps/unix/sysv/setrlimit.c: Remove file.
64105         * sysdeps/unix/xmknod.c: Remove file.
64106         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
64108         * sysdeps/unix/sysv/settimeofday.c: Remove file.
64110         * sysdeps/unix/sysv/i386/time.S: Remove file.
64112         * sysdeps/unix/fxstat.c: Remove file.
64113         * sysdeps/unix/xstat.c: Likewise.
64114         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
64116         * sysdeps/unix/sysv/sigaction.c: Remove file.
64118         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
64119         (sysdep_headers): Remove variable.
64120         [termio.h not in sysdep_headers] (generated): Likewise.
64121         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
64122         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
64123         * sysdeps/unix/sysv/tcdrain.c: Likewise.
64124         * sysdeps/unix/sysv/tcflow.c: Likewise.
64125         * sysdeps/unix/sysv/tcflush.c: Likewise.
64126         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
64127         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
64128         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
64129         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
64130         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
64132         * sysdeps/unix/siglist.c: Remove file.
64134         * sysdeps/unix/getppid.S: Remove file.
64136         * sysdeps/unix/mkdir.c: Remove file.
64137         * sysdeps/unix/rmdir.c: Likewise.
64139 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
64141         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
64142         ERR_MAX value.
64143         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
64144         errlist-compat value.
64146 2012-04-18  David S. Miller  <davem@davemloft.net>
64148         * sysdeps/generic/memcopy.h (reg_char): Delete.
64149         * debug/strcat_chk.c: Use char, not reg_char.
64150         * debug/strcpy_chk.c: Likewise.
64151         * debug/strncat_chk.c: Likewise.
64152         * debug/strncpy_chk.c: Likewise.
64153         * string/memchr.c: Likewise.
64154         * string/memrchr.c: Likewise.
64155         * string/rawmemchr.c: Likewise.
64156         * string/strcat.c: Likewise.
64157         * string/strchr.c: Likewise.
64158         * string/strchrnul.c: Likewise.
64159         * string/strcmp.c: Likewise.
64160         * string/strcpy.c: Likewise.
64161         * string/strncat.c: Likewise.
64162         * string/strncmp.c: Likewise.
64163         * string/strncpy.c: Likewise.
64165 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64167         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
64168         __builtin_memcopy is called when src and dest ranges are known to not
64169         overlap.
64171 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64173         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
64174         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
64175         fwd_align_merge macro call.
64176         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
64177         bwd_align_merge macro call.
64178         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64180 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64182         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
64183         bwd_align_merge macros.
64184         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
64185         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
64186         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64188 2012-04-18  David S. Miller  <davem@davemloft.net>
64190         * sysdeps/sparc/sparc64/memcopy.h: Delete.
64192 2012-04-18  Andreas Jaeger  <aj@suse.de>
64194         [BZ# 6794]
64195         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
64196         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
64197         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64199         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
64200         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
64201         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64203         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
64204         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
64205         Adjust for changed ldbl-128 files.
64207         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
64208         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
64209         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64211 2012-04-17  David S. Miller  <davem@davemloft.net>
64213         * sysdeps/sparc/sparc32/memcopy.h: Delete.
64215 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
64217         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
64218         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
64219         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
64220         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
64221         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
64222         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
64224 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64226         [BZ #6794]
64227         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
64228         * math/libm-test.inc: Add ilogb errno and exception tests.
64229         * math/w_ilogb.c: New file: ilogb wrapper.
64230         * math/w_ilogbf.c: New file: ilogbf wrapper.
64231         * math/w_ilogbl.c: New file: ilogbl wrapper.
64232         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
64233         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
64234         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
64235         exception being thrown with 0.0 as argument.
64236         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
64237         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
64238         exception being thrown with 0.0 as argument.
64239         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
64240         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64241         exception being thrown with 0.0 as argument.
64242         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
64243         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64244         exception being thrown with 0.0 as argument.
64245         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
64246         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
64247         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
64248         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
64249         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
64250         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
64251         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
64252         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
64253         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
64255 2012-04-17  Petr Baudis  <pasky@ucw.cz>
64257         * include/sys/uio.h: Change __vector to __iovec to avoid clash
64258         with altivec.
64260 2012-04-16  Marek Polacek  <polacek@redhat.com>
64262         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
64264 2012-04-16  Marek Polacek  <polacek@redhat.com>
64266         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
64267         operands of fdivp instruction.
64269 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64271         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
64272         * elf/tst-auditmod3b.c: Likewise.
64273         * elf/tst-auditmod4b.c: Likewise.
64274         * elf/tst-auditmod5b.c: Likewise.
64275         * elf/tst-auditmod6b.c: Likewise.
64276         * elf/tst-auditmod6c.c: Likewise.
64277         * elf/tst-auditmod7b.c: Likewise.
64278         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
64279         * sysdeps/x86_64/preconfigure.in: Likewise.
64280         * sysdeps/x86_64/preconfigure: Regenerated.
64282 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64284         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
64285         __ILP32__.
64287 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
64289         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64290         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
64292 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
64294         [BZ #13973]
64295         * locale/iso-639.def: Fix gl language name. Spotted by
64296         Yaron Shahrabani.
64298 2012-04-12  Roland McGrath  <roland@hack.frob.com>
64300         [BZ #2074]
64301         * libio/libio.h (__io_write_fn): Update comment.
64303 2012-04-12  Petr Baudis  <pasky@ucw.cz>
64305         [BZ #2074]
64306         * stdio.texi (Hook Functions): The user provided writer function
64307         is not allowed to return -1.
64309 2012-04-11  David S. Miller  <davem@davemloft.net>
64311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64313 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
64315         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
64316         Add a leading slash to rtkaio.
64318 2012-04-11  Jim Meyering  <meyering@redhat.com>
64320         [BZ #11959]
64321         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
64322         It is not necessarily an error to ignore fwrite's return
64323         value.  One can reliably use ferror to test for errors after
64324         the fact.
64326 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64328         * bits/types.h (__snseconds_t): New type.
64329         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
64331         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64332         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64333         (__SNSECONDS_T_TYPE): Likewise.
64334         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64335         (__SNSECONDS_T_TYPE): Likewise.
64336         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64337         (__SNSECONDS_T_TYPE): Likewise.
64339 2012-04-10  Andreas Jaeger  <aj@suse.de>
64341         [BZ #2636]
64342         * manual/time.texi (Processor Time): Return type of times is
64343         elapsed real time since an arbitrary point in the past.
64344         (CPU Time): Move CLK_TCK from here...
64345         (Processor Time): ...to here.  Correct description.
64346         * manual/conf.texi (Constants for Sysconf): Correct description of
64347         _SC_CLK_TCK.
64349 2012-04-10  David S. Miller  <davem@davemloft.net>
64351         [BZ #13967]
64352         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
64353         where the is a gap between DT_REL(A) and DT_JMPREL.
64355 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64357         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
64358         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64359         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64361 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64363         * elf/dl-support.c (_dl_inhibit_cache): New variable.
64364         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
64365         (dl_main): Handle --inhibit-cache.
64366         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
64367         _dl_inhibit_cache.
64368         * elf/dl-load.c (_dl_map_object): Use it.
64369         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
64371 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64373         [BZ #13872]
64374         * sysdeps/i386/fpu/e_powl.S (p78): New object.
64375         (__ieee754_powl): Saturate large exponents rather than testing for
64376         overflow of y*log2(x).
64377         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64378         * math/libm-test.inc (pow_test): Do not permit spurious overflow
64379         exceptions.
64381         [BZ #11521]
64382         * math/s_ctan.c: Include <float.h>.
64383         (__ctan): Avoid internal overflow or cancellation in calculating
64384         denominator.
64385         * math/s_ctanf.c: Likewise.
64386         * math/s_ctanl.c: Likewise.
64387         * math/s_ctanh.c: Likewise.
64388         * math/s_ctanhf.c: Likewise.
64389         * math/s_ctanhl.c: Likewise.
64390         * math/libm-test.inc (ctan_test): Add more tests.
64391         (ctanh_test): Likewise.
64392         * sysdeps/i386/fpu/libm-test-ulps: Update.
64393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64395 2012-04-09  Andreas Jaeger  <aj@suse.de>
64397         [BZ #6894]
64398         * manual/filesys.texi (Directory Entries): Mention that d_namlen
64399         is an optional BSD extension.
64401         [BZ #10254]
64402         * manual/stdio.texi (Opening Streams): Document additional fopen
64403         parameters.
64405 2012-04-09  Roland McGrath  <roland@hack.frob.com>
64407         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
64408         %eax without telling the compiler.
64410 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
64412         [BZ # 13963]
64413         * manual/install.texi: Use sourceware.org.
64415 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64417         [BZ #13873]
64418         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
64419         (__ieee754_pow): Generate overflow and underflow using huge*huge
64420         and tiny*tiny rather than just returning constant infinity or zero
64421         for large exponents.
64422         * math/libm-test.inc (pow_test): Require overflow exceptions for
64423         applicable cases of large exponents.
64425         [BZ #706]
64426         * sysdeps/i386/fpu/e_pow.S (p10): New object.
64427         (__ieee754_pow): Use iterative multiplication algorithm only for
64428         integer exponents with absolute value below 1024.  Check for odd
64429         integer exponents when using algorithm for real exponents.
64430         * math/libm-test.inc (pow_test): Add more tests.
64431         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64433 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
64435         [BZ #13705]
64436         * math/libm-test.inc (exp_test): Do not allow overflow exception
64437         on underflow test.
64439 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
64441         [BZ #13705]
64442         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
64443         instead of __kernel_standard_f.
64445 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
64447         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
64448         * sysdeps/x86_64/memset_chk.S: Likewise.
64450 2012-04-08  Andreas Jaeger  <aj@suse.de>
64452         [BZ #10153]
64453         * manual/startup.texi (Environment Access): Describe return value
64454         for putenv and setenv.
64456         [BZ #6895]
64457         * manual/filesys.texi (Directory Entries): Add description for
64458         DT_LNK.
64460         [BZ #6890]
64461         * manual/filesys.texi (Directory Entries): Clarify that it's file
64462         system not operating system in the description of DT_UNKNOWN.
64464         [BZ #6578]
64465         * manual/syslog.texi (closelog): Fix reference, it's openlog.
64467 2012-04-08  Stephen Compall  <s11@member.fsf.org>
64469         [BZ #6649]
64470         * manual/llio.texi (Opening and Closing Files): Add cross
64471         reference to explain mode argument.
64473 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
64475         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
64476         * sysdeps/x86_64/memset_chk.S: Likewise.
64478 2012-04-07  David S. Miller  <davem@davemloft.net>
64480         * elf/elf.h (R_SPARC_WDISP10): Define.
64481         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
64482         R_SPARC_SIZE32.
64483         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
64484         R_SPARC_SIZE64 and R_SPARC_H34.
64486 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
64488         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
64489         conditions and remove no longer applicable assertion.
64491 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64493         * bits/byteswap.h: Include <features.h>.
64494         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64495         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64497 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64499         * bits/byteswap.h (__bswap_16): Removed.
64500         Include <bits/byteswap-16.h> to get __bswap_16.
64501         * sysdeps/i386/bits/byteswap.h: Likewise.
64502         * sysdeps/s390/bits/byteswap.h: Likewise.
64503         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64504         * bits/byteswap-16.h: New file.
64505         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64506         * sysdeps/s390/bits/byteswap-16.h: Likewise.
64507         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
64508         * string/Makefile (headers): Add bits/byteswap-16.h.
64510 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64512         [BZ #13895]
64513         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
64514         extra indirection.
64515         * nss/Makefile (tests-static, tests): Add tst-nss-static.
64516         * nss/tst-nss-static.c: New.
64518 2012-04-06  Robert Millan  <rmh@gnu.org>
64520         [BZ #6486]
64521         * manual/llio.texi (File Position Primitive): lseek
64522         refers to WHENCE when it really means OFFSET.
64524 2012-04-06  Andreas Jaeger  <aj@suse.de>
64526         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
64527         strncmp declarations.
64529         * abilist/libc.abilist: Add __poll and __ppoll.
64531 2012-04-05  David S. Miller  <davem@davemloft.net>
64533         * scripts/check-local-headers.sh: Accept a host triplet in the
64534         path matched by the exclude regexp.
64536         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
64537         definition.
64538         * sysdeps/powerpc/powerpc32/dl-machine.h
64539         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
64540         * sysdeps/s390/s390-32/dl-machine.h
64541         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64542         * sysdeps/sparc/sparc32/dl-machine.h
64543         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64544         * sysdeps/sparc/sparc64/dl-machine.h
64545         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64547         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
64548         lazy binding.
64549         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
64550         undefined symbol errors.
64552         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
64553         DT_NEEDED entries.
64555 2012-04-05  Michael Matz  <matz@suse.de>
64557         [BZ #13592]
64558         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
64560 2012-04-05  Andreas Jaeger  <aj@suse.de>
64562         [BZ #13908]
64563         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
64564         comment.
64566 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64568         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
64569         which ROUND is no valid rounding mode.
64571 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64573         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
64574         read again.
64575         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
64577 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64579         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
64580         an exception using FPU order intentionally.
64582 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64584         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
64585         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
64586         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
64587         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
64589 2012-04-05  Simon Josefsson  <simon@josefsson.org>
64591         [BZ #12340]
64592         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
64593         EINVAL when BUFLEN is too smal.
64595 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64597         [BZ #13553]
64598         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
64599         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
64601 2012-04-03  Andreas Jaeger  <aj@suse.de>
64603         [BZ #13938]
64604         * manual/setjmp.texi (System V contexts): Fix sentence.
64606         [BZ #13926]
64607         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
64608         New macro for this case.
64609         [!__GNUC__] (__bswap_64): New inline function for this case.
64610         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64611         * bits/byteswap.h: Likewise.
64612         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
64613         ull, guard with __GLIBC_HAVE_LONG_LONG.
64615         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
64616         __GLIBC_HAVE_LONG_LONG.
64618         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
64619         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
64621 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64623         [BZ #13691]
64624         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
64625         inptr and inend, rather than using last_ch.
64627 2012-04-02  David S. Miller  <davem@davemloft.net>
64629         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
64630         * stdio-common/printf-parse.h (read_int): Change return type to
64631         'int', return -1 on INT_MAX overflow.
64632         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
64633         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
64634         overflows INT_MAX.  Check for overflow of in-format-string precision
64635         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
64636         SIZE_MAX not INT_MAX for integer overflow test.
64637         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
64638         skip the construct in the format string but do not record anything.
64639         * stdio-common/bug22.c: Adjust to test both width/prevision
64640         INT_MAX overflow as well as total length INT_MAX overflow.  Check
64641         explicitly for proper errno values.
64643 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
64645         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
64646         CHAR_MAX.
64647         * string/test-strcmp.c [! WIDE]: Likewise.
64648         * time/tst-mktime2.c: Likewise for INT_MAX.
64649         * string/test-string.h: #include <sys/param.h> for MIN.
64651         * csu/init-first.c (__libc_init_first): Call __ctype_init.
64652         * sysdeps/i386/init-first.c (init): Likewise.
64653         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
64654         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
64655         * sysdeps/sh/init-first.c (init): Likewise.
64657 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
64659         * po/ru.po: Update from translation team.
64660         * po/vi.po: Likewise.
64662 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64664         * resolv/nss_dns/dns-host.c: Merge copyright years.
64666 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64668         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64669         Optimize memcpy with prefetch if
64670         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
64671         src, dst pointers have unequal 16 byte alignments.
64673 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64675         [BZ #13928]
64676         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
64677         from a CNAME entry and return the minimum ttl for the query.
64678         (gaih_getanswer_slice): Likewise.
64680 2012-03-30  Jeff Law  <law@redhat.com>
64682         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
64683         due to long keys.
64684         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
64685         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
64687         * resolv/nss_dns/dns-host.c: Update copyright year.
64689 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
64691         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
64692         requests to save a system call.  Fix check that all bytes are sent.
64694         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
64695         comments for sendmmsg.
64697 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64699         [BZ #13691]
64700         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
64701         with only 1 character between 0x0041 and 0x01b0.
64702         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
64703         * wcsmbs/tst-mbsnrtowcs.c: New file.
64705 2012-03-29  David S. Miller  <davem@davemloft.net>
64707         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
64708         small copies by hand.
64710 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64712         [BZ #13761]
64713         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
64714         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
64715         group memberships.
64717 2012-03-28  David S. Miller  <davem@davemloft.net>
64719         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
64720         that branches into memcpy.
64721         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64722         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
64723         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64724         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
64725         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
64726         bits.
64727         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
64728         implementation too.
64729         * sysdeps/sparc/mempcpy.S: New file.
64731         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
64732         the IFUNC routine in the libc case.
64733         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64735         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
64736         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
64737         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
64738         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
64739         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
64740         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
64741         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
64742         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
64744         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
64745         loop to 256 bytes instead of 64 bytes and fix test signedness.
64747         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
64748         * sysdeps/sparc/sparc32/Makefile: rather than here...
64749         * sysdeps/sparc/sparc64/Makefile: and here.
64751 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
64753         * malloc/mallocbug.c: Avoid warnings about unused variables.
64755 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64757         [BZ #13760]
64758         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
64759         in the right place. Discard and retry query if response is
64760         larger than input buffer size.
64762 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
64764         [BZ #369]
64765         [BZ #2678]
64766         [BZ #3866]
64767         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
64768         x for large integer exponent.
64769         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
64770         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
64771         sign of result as needed afterwards.
64772         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
64773         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
64774         result for underflowing pow the same as for overflow.
64775         (__kernel_standard_l): Handle powl overflow and underflow here
64776         rather than calling __kernel_standard.
64777         * math/libm-test.inc (pow_test): Add more tests.
64779         [BZ #3868]
64780         [BZ #13879]
64781         [BZ #13910]
64782         [BZ #13911]
64783         [BZ #13912]
64784         [BZ #13913]
64785         [BZ #13915]
64786         [BZ #13916]
64787         [BZ #13917]
64788         [BZ #13918]
64789         [BZ #13919]
64790         [BZ #13920]
64791         [BZ #13921]
64792         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
64793         * sysdeps/ieee754/k_standard.c: Include <float.h>.
64794         (__kernel_standard_l): New function.
64795         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
64796         __kernel_standard.
64797         * math/w_acosl.c (__acosl): Likewise.
64798         * math/w_asinl.c (__asinl): Likewise.
64799         * math/w_atan2l.c (__atan2l): Likewise.
64800         * math/w_atanhl.c (__atanhl): Likewise.
64801         * math/w_coshl.c (__coshl): Likewise.
64802         * math/w_exp10l.c (__exp10l): Likewise.
64803         * math/w_exp2l.c (__exp2l): Likewise.
64804         * math/w_fmodl.c (__fmodl): Likewise.
64805         * math/w_hypotl.c (__hypotl): Likewise.
64806         * math/w_j0l.c (__j0l, __y0l): Likewise.
64807         * math/w_j1l.c (__j1l, __y1l): Likewise.
64808         * math/w_jnl.c (__jnl, __ynl): Likewise.
64809         * math/w_lgammal.c (__lgammal): Likewise.
64810         * math/w_log10l.c (__log10l): Likewise.
64811         * math/w_log2l.c (__log2l): Likewise.
64812         * math/w_logl.c (__logl): Likewise.
64813         * math/w_powl.c (__powl): Likewise.
64814         * math/w_remainderl.c (__remainderl): Likewise.
64815         * math/w_scalbl.c (sysv_scalbl): Likewise.
64816         * math/w_sinhl.c (__sinhl): Likewise.
64817         * math/w_sqrtl.c (__sqrtl): Likewise.
64818         * math/w_tgammal.c (__tgammal): Likewise.
64819         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
64820         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
64821         * math/libm-test.inc (acos_test): Add more tests.
64822         (acosh_test): Likewise.
64823         (asin_test): Likewise.
64824         (atanh_test): Likewise.
64825         (exp_test): Likewise.
64826         (exp10_test): Likewise.
64827         (exp2_test): Likewise.
64828         (expm1_test): Likewise.
64829         (lgamma_test): Likewise.
64830         (log_test): Likewise.
64831         (log10_test): Likewise.
64832         (log1p_test): Likewise.
64833         (log2_test): Likewise.
64834         (pow_test): Do not allow some spurious overflow exceptions.
64835         (sqrt_test): Add more tests.
64836         (tgamma_test): Likewise.
64837         (y0_test): Likewise.
64838         (y1_test): Likewise.
64839         (yn_test): Likewise.
64841 2012-03-27  Anton Blanchard  <anton@samba.org>
64843         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
64844         MAP_HUGETLB.
64845         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64846         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64847         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64849 2012-03-27  David S. Miller  <davem@davemloft.net>
64851         * conform/Makefile: Run run-conformtest.sh using $(BASH).
64853         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
64854         have-as-vis3 check.
64856 2012-03-27  Andreas Jaeger  <aj@suse.de>
64858         * sysdeps/x86_64/elf/configure.in: Moved to ...
64859         * sysdeps/x86_64/configure.in: ... here.
64860         * sysdeps/x86_64/elf/start.S: Moved to ...
64861         * sysdeps/x86_64/start.S: ... here.
64862         * sysdeps/x86_64/elf/configure: Delete.
64864         * sysdeps/x86_64/configure.in: Merge contents from
64865         sysdeps/i386/configure.in (without i686 check).
64867         * sysdeps/i386/elf/Versions: Merge into ...
64868         * sysdeps/i386/Versions: ... this.
64869         * sysdeps/i386/elf/Versions: Delete file.
64870         * sysdeps/i386/elf/start.S: Moved to ...
64871         * sysdeps/i386/start.S: ...here.
64872         * sysdeps/i386/elf/configure.in: Merge into...
64873         * sysdeps/i386/configure.in: ...here.
64874         * sysdeps/i386/elf/configure.in: Delete file.
64875         * sysdeps/i386/elf/configure: Delete file.
64877         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
64878         * debug/backtracesyms.c: ... here.
64879         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
64880         * debug/backtracesymsfd.c: ... here.
64881         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
64882         * sysdeps/generic/ifunc-sel.h: ... here.
64884         * sysdeps/unix/i386/start.c: Delete file.
64885         * sysdeps/unix/sparc/start.c: Delete file.
64886         * sysdeps/unix/start.c: Delete file.
64888         * sysdeps/sh/elf/configure.in: Moved to ...
64889         * sysdeps/sh/configure.in: ... here.
64890         * sysdeps/sh/elf/start.S: Moved to ...
64891         * sysdeps/sh/start.S: ... here.
64892         * sysdeps/sh/elf/configure: Delete file.
64894         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
64895         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
64896         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
64897         * sysdeps/powerpc/powerpc64/entry.h: ... here.
64898         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
64899         * sysdeps/powerpc/powerpc64/start.S: here.
64900         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
64901         * sysdeps/powerpc/powerpc64/Makefile: ... this.
64902         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
64903         * sysdeps/powerpc/powerpc64/configure.in: ... this.
64904         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
64906         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
64907         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
64908         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
64909         * sysdeps/powerpc/powerpc32/start.S: ... here.
64910         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
64911         * sysdeps/powerpc/powerpc32/configure.in: ... this.
64912         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
64914         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
64915         * sysdeps/powerpc/ifunc-sel.h: ... here.
64916         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
64917         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
64919         * sysdeps/sparc/elf/configure.in: Moved to ...
64920         * sysdeps/sparc/configure.in: ... here.
64921         * sysdeps/sparc/elf/configure: Delete file.
64922         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
64923         * sysdeps/sparc/sparc32/start.S: ... here.
64924         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
64925         * sysdeps/sparc/sparc64/start.S: ... here.
64926         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
64927         * sysdeps/sparc/sparc32/Makefile: ... this.
64928         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
64929         * sysdeps/sparc/sparc64/Makefile: ... this.
64931         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
64932         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
64933         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
64934         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
64935         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
64936         * sysdeps/s390/s390-32/setjmp.S: ... here.
64937         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
64938         * sysdeps/s390/s390-32/configure.in: ... here.
64939         * sysdeps/s390/s390-32/elf/configure: Delete file.
64940         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
64941         * sysdeps/s390/s390-32/start.S: ... here.
64943         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
64944         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
64945         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
64946         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
64947         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
64948         * sysdeps/s390/s390-64/setjmp.S: ... here.
64949         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
64950         * sysdeps/s390/s390-64/configure.in: ... here
64951         * sysdeps/s390/s390-64/elf/configure: Delete file.
64952         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
64953         * sysdeps/s390/s390-64/start.S: ... here.
64954         * sysdeps/s390/s390-64/elf/configure: Delete.
64956         * configure.in: Remove support for elf directories in sysdeps.
64958         * configure: Regenerated.
64959         * sysdeps/i386/configure: Regenerated.
64960         * sysdeps/powerpc/powerpc32/configure: Regenerated.
64961         * sysdeps/powerpc/powerpc64/configure: Regenerated.
64962         * sysdeps/s390/s390-32/configure: Regenerated.
64963         * sysdeps/s390/s390-64/configure: Regenerated.
64964         * sysdeps/sh/configure: Regenerated.
64965         * sysdeps/sparc/configure: Regenerated.
64966         * sysdeps/x86_64/configure: Regenerated.
64968 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
64970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64972         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
64973         denormal result into account.
64975 2012-03-25  Roland McGrath  <roland@hack.frob.com>
64977         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
64978         Reported by Allan McRae <allan@archlinux.org>.
64980 2012-03-23  Jeff Law  <law@redhat.com>
64982         * nss/getnssent.c (__nss_getent): Fix typo.
64984 2012-03-23  David S. Miller  <davem@davemloft.net>
64986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64988 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
64990         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
64991         to pad to uint64_t for each field.
64992         (dl_tls_index): Replace unsigned long with uint64_t.
64994 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
64995         Paul Pluzhnikov  <ppluzhnikov@google.com>
64997         [BZ #6528]
64998         * grp/Makefile (otherlibs): Don't set it.
64999         * inet/Makefile (otherlibs): Likewise.
65000         * login/Makefile (otherlibs): Likewise.
65001         * nscd/Makefile (otherlibs): Likewise.
65002         * posix/Makefile (otherlibs): Likewise.
65003         * pwd/Makefile (otherlibs): Likewise.
65004         * rt/Makefile (otherlibs): Likewise.
65005         * sunrpc/Makefile (otherlibs): Likewise.
65006         * nss/Makefile (otherlibs): Likewise.
65007         Add libnss_files to routines and static-only-routines.
65008         ($(objpfx)getent): Remove rule.
65009         * resolv/Makefile: Add libnss_dns and libresolv to routines and
65010         static-only-routines.
65012 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65014         [BZ #13892]
65015         * math/s_cexp.c: Include <float.h>.
65016         (__cexp): Handle exp result overflowing not necessarily
65017         overflowing both real and imaginary parts of result.
65018         * math/s_cexpf.c: Likewise.
65019         * math/s_cexpl.c: Likewise.
65020         * math/libm-test.inc (cexp_test): Add more tests.
65021         * sysdeps/i386/fpu/libm-test-ulps: Update.
65022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65024 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65026         * include/link.h (ELFW): New macro.
65027         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
65028         Replace ELF64_R_TYPE with ELFW(R_TYPE).
65030 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65032         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
65033         with uint64_t.
65035 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65037         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
65038         declaration.
65039         (struct La_x32_retval): Likewise.
65041 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65043         * sysdeps/x86_64/preconfigure.in: New file.
65044         * sysdeps/x86_64/preconfigure: New generated file.
65046 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65048         [BZ #13824]
65049         * math/e_exp2l.c: Include <float.h>.
65050         (__ieee754_exp2l): Handle overflow and underflow cases
65051         separately.  Only pass fractional part of argument to
65052         __ieee754_expl.
65053         * math/libm-test.inc (exp2_test): Add more tests.
65055         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
65056         negating x to take absolute value.
65057         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
65058         Likewise.
65059         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
65060         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
65061         Likewise.
65062         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
65063         computing low part if x was negated.
65064         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
65066 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65068         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
65069         la_x32_gnu_pltexit.
65070         (pltexit): Cast int_retval to ptrdiff_t.
65071         * elf/tst-auditmod3b.c: Likewise.
65072         * elf/tst-auditmod4b.c: Likewise.
65073         * elf/tst-auditmod5b.c: Likewise.
65074         * elf/tst-auditmod6b.c: Likewise.
65075         * elf/tst-auditmod6c.c: Likewise.
65076         * elf/tst-auditmod7b.c: Likewise.
65078         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
65079         and x32_gnu_pltexit.
65081         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
65082         __ELF_NATIVE_CLASS.
65083         (La_x32_regs): New macro.
65084         (La_x32_retval): Likewise.
65085         (la_x32_gnu_pltenter): New function prototype.
65086         (la_x32_gnu_pltexit): Likewise.
65088 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
65090         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
65091         exponent.
65093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65095         * configure.in (libc_cv_cc_nofma): Check for option to disable
65096         generation of FMA instructions.
65097         * configure: Regenerate.
65098         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
65099         * sysdeps/ieee754/dbl-64/Makefile: New file.
65100         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
65101         Remove brandred-fma4.
65102         (CFLAGS-brandred-fma4.c): Remove.
65103         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
65104         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
65105         define.
65106         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
65107         define.
65109 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65111         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65112         LLONG_MAX != LONG_MAX.
65113         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65114         (_fitoa_word): Likewise.
65115         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
65116         LLONG_MAX != LONG_MAX.
65117         * stdio-common/_itowa.h: Include <_itoa.h>.
65118         (_itowa_word): Use _ITOA_WORD_TYPE on value.
65119         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
65120         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
65121         only if not defined.
65122         (_ITOA_WORD_TYPE): Likewise.
65123         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65124         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
65126 2012-03-21  David S. Miller  <davem@davemloft.net>
65128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65130 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65132         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
65133         of x86_64 when setting libc_cv_slibdir, libdir and
65134         libc_cv_localedir.
65135         * sysdeps/unix/sysv/linux/configure: Regenerated.
65137 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65139         * manual/lang.texi (Old Varargs): Remove section.
65140         (How Variadic): Update menu.
65141         (va_start): Do not mention varargs.h.
65143 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65144             Joseph Myers  <joseph@codesourcery.com>
65146         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
65147         link test.
65148         * configure: Regenerated.
65150 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65152         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
65153         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
65154         conformtest.pl
65156 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65158         * NOTES: Remove.
65159         * Makefile (files-for-dist): Remove NOTES.
65160         (NOTES): Remove rule.
65161         * README: Don't refer to NOTES.
65162         * manual/creature.texi: Don't include macros.texi.
65163         * manual/intro.texi (creature.texi): Remove comment referring to
65164         NOTES.
65166         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
65167         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
65168         * configure: Regenerated.
65169         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
65170         LIBC_TRY_CC_OPTION.
65171         (libc_cv_as_i686): Likewise.
65172         (libc_cv_cc_avx): Likewise.
65173         (libc_cv_cc_sse2avx): Likewise.
65174         (libc_cv_cc_fma4): Likewise.
65175         (libc_cv_cc_novzeroupper): Likewise.
65176         * sysdeps/i386/configure: Regenerated.
65178         [BZ #13883]
65179         * sysdeps/i386/fpu/s_cexp.S: Remove.
65180         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65181         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65182         * math/libm-test.inc (cexp_test): Add more tests.
65183         * sysdeps/i386/fpu/libm-test-ulps: Update.
65184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65186 2012-03-21  Allan McRae  <allan@archlinux.org>
65188         * timezone/Makefile: Do not install iso3166.tab and zone.tab
65190 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65192         [BZ #13871]
65193         * math/w_exp2.c: Do not include <float.h>.
65194         (o_threshold, u_threshold): Remove.
65195         (__exp2): Calculate result before checking finiteness and calling
65196         __kernel_standard.
65197         * math/w_exp2f.c: Likewise.
65198         * math/w_exp2l.c: Likewise.
65199         * math/libm-test.inc (exp2_test): Require overflow exception for
65200         1e6 input.
65202         [BZ #3866]
65203         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
65204         range of signed 64-bit integers before using fistpll.  Remove
65205         checks for whether integers fit in mantissa bits.
65206         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
65207         the range of signed 32-bit integers before using fistpl.  Remove
65208         checks for whether integers fit in mantissa bits.
65209         * sysdeps/i386/fpu/e_powl.S (p64): New object.
65210         (__ieee754_powl): Test for y outside the range of signed 64-bit
65211         integers before using fistpll.  Reduce 64-bit values to 63-bit
65212         ones as needed.
65213         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
65214         divide-by-zero is raised for zero to large negative powers.
65215         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
65216         (__ieee754_powl): Test for y outside the range of signed 64-bit
65217         integers before using fistpll.  Reduce 64-bit values to 63-bit
65218         ones as needed.
65219         * math/libm-test.inc (pow_test): Add more tests.
65221 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65223         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
65224         <stdio-common/_itoa.h>.
65225         * debug/segfault.c: Likewise.
65226         * elf/dl-cache.c: Likewise.
65227         * elf/dl-minimal.c: Likewise.
65228         * elf/dl-misc.c: Likewise.
65229         * elf/dl-sysdep.c: Likewise.
65230         * elf/dl-version.c: Likewise.
65231         * elf/rtld.c: Likewise.
65232         * hurd/hurdsock.c: Likewise.
65233         * hurd/lookup-retry.c: Likewise.
65234         * malloc/malloc.c: Likewise.
65235         * malloc/mtrace.c: Likewise.
65236         * nscd/nscd_getgr_r.c: Likewise.
65237         * nscd/nscd_getpw_r.c: Likewise.
65238         * nscd/nscd_getserv_r.c: Likewise.
65239         * posix/getopt_init.c: Likewise.
65240         * posix/wordexp.c: Likewise.
65241         * stdio-common/_itoa.c: Likewise.
65242         * stdio-common/printf_fphex.c: Likewise.
65243         * stdio-common/vfprintf.c: Likewise.
65244         * string/_strerror.c: Likewise.
65245         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
65246         * sysdeps/i386/i686/hp-timing.h: Likewise.
65247         * sysdeps/mach/_strerror.c: Likewise.
65248         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
65249         * sysdeps/mach/hurd/sethostid.c: Likewise.
65250         * sysdeps/mach/hurd/xmknodat.c: Likewise.
65251         * sysdeps/mach/xpg-strerror.c: Likewise.
65252         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65253         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65254         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
65255         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
65256         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65257         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
65258         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
65259         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
65260         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
65261         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
65262         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
65263         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
65264         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
65265         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65266         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65267         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
65268         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
65269         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
65270         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
65271         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
65272         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
65274         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
65276         * stdio-common/_itoa.h: Moved to ...
65277         * sysdeps/generic/_itoa.h: Here.
65279         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
65281         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
65282         instead of "_itoa.h" and "_itowa.h".
65283         * stdio-common/vfprintf.: Likewise.
65285 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65287         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
65288         <bits/wordsize.h>.
65289         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
65290         (__signbit): Likwise.
65291         (llrintf): Likwise.
65292         (llrint): Likwise.
65294 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65296         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
65297         __WORDSIZE != 64.
65299 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
65301         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
65302         OVERFLOW_EXCEPTION_OK.
65303         * math/libm-test.inc ("Philosophy"): Update comment about
65304         exception testing.
65305         (OVERFLOW_EXCEPTION): Define.
65306         (OVERFLOW_EXCEPTION_OK): Likewise.
65307         (INVALID_EXCEPTION_OK): Renumber.
65308         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65309         (IGNORE_ZERO_INF_SIGN): Likewise.
65310         (test_exceptions): Handle FE_OVERFLOW.
65311         (exp10_test): Expect overflow exceptions.
65312         (exp2_test): Likewise.
65313         (expm1_test): Likewise.
65314         (nextafter_test): Likewise.
65315         (pow_test): Likewise.
65316         (scalbn_test): Likewise.
65317         (scalbln_test): Likewise.
65319 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65321         * sysdeps/x86_64/bits/atomic.h
65322         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
65323         64bit integer.
65324         (atomic_exchange_acq): Likewise.
65325         (__arch_exchange_and_add_body): Likewise.
65326         (__arch_add_body): Likewise.
65327         (atomic_add_negative): Likewise.
65328         (atomic_add_zero): Likewise.
65330 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65332         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
65333         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
65335 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65337         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
65338         Check __x86_64__ instead of __WORDSIZE.
65340 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65342         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
65344 2012-03-19  David S. Miller  <davem@davemloft.net>
65346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65348         * sysdeps/sparc/fpu/fenv_private.h: New file.
65349         * sysdeps/sparc/fpu/math_private.h: Use it.
65350         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
65351         Remove.
65352         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
65353         (libc_feholdexcept_setroundl): Remove.
65354         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
65355         Remove.
65356         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
65357         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
65359 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65361         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
65362         int64_t instead of long int.
65363         (INSERT_WORDS64): Likwise.
65365 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65367         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
65368         _Unwind_GetCFA return to _Unwind_Ptr first.
65370 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
65372         [BZ #13629]
65373         * math/s_clog.c: Include <float.h>.
65374         (__clog): Scale large or subnormal inputs.
65375         * math/s_clogf.c: Likewise.
65376         * math/s_clogl.c: Likewise.
65377         * math/s_clog10.c: Include <float.h>.
65378         (M_LOG10_2): Define.
65379         (__clog10): Scale large or subnormal inputs.
65380         * math/s_clog10f.c: Likewise.
65381         * math/s_clog10l.c: Likewise.
65382         * math/libm-test.inc (clog_test): Add more tests.
65383         (clog10_test): Likewise.
65384         * sysdeps/i386/fpu/libm-test-ulps: Update.
65385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65387         [BZ #11451]
65388         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
65389         x and y.
65390         * math/libm-test.inc (atan2_test): Add another test.
65392         * Makerules (common-objdir-compile): Remove.
65393         * sysdeps/unix/Makefile (config-generated): Do not add
65394         $(unix-generated) to variable.
65395         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
65396         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
65397         Remove rule.
65398         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
65399         Likewise.
65400         [generic bits/local_lim.h] (before-compile): Do not append to
65401         variable.
65402         [generic bits/local_lim.h] (common-generated): Likewise.
65403         [generic sys/param.h] (before-compile): Do not append to variable.
65404         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
65405         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
65406         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
65407         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
65408         include.
65409         [generic sys/param.h] (sys/param.h-includes): Remove variable.
65410         [generic sys/param.h] (sys/param.h-includes): Remove rule.
65411         [generic sys/param.h] ($(addprefix
65412         $(common-objpfx),$(sys/param.h-includes))): Likewise.
65413         [generic sys/param.h] (common-generated): Do not append to
65414         variable.
65415         [generic sys/param.h] (sysdep_headers): Likewise.
65416         [generic bits/errno.h] (before-compile): Do not append to
65417         variable.
65418         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
65419         rule.
65420         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
65421         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
65422         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
65423         [generic bits/errno.h] (common-generated): Do not append to
65424         variable.
65425         [generic bits/ioctls.h] (before-compile): Do not append to
65426         variable.
65427         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
65428         rule.
65429         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
65430         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
65431         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
65432         rule.
65433         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
65434         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
65435         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
65436         [generic bits/ioctls.h] (common-generated): Do not append to
65437         variable.
65438         [generic sys/syscall.h] (syscall.h): Remove variable.
65439         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
65440         rule.
65441         [generic sys/syscall.h] (before-compile): Do not append to
65442         variable.
65443         [generic sys/syscall.h] (common-generated): Likewise.
65444         * sysdeps/unix/errnos-tmpl.c: Remove file.
65445         * sysdeps/unix/errnos.awk: Likewise.
65446         * sysdeps/unix/ioctls-tmpl.c: Likewise.
65447         * sysdeps/unix/ioctls.awk: Likewise.
65448         * sysdeps/unix/mk-local_lim.c: Likewise.
65449         * sysdeps/unix/snarf-ioctls: Likewise.
65451 2012-03-19  Richard Henderson  <rth@twiddle.net>
65453         * sysdeps/i386/fpu/fenv_private.h: New file.
65454         * sysdeps/i386/fpu/math_private.h: Use it.
65455         (math_opt_barrier, math_force_eval): Remove.
65456         (libc_feholdexcept_setround_53bit): Remove.
65457         (libc_feupdateenv_53bit): Remove.
65458         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65459         (math_opt_barrier, math_force_eval): Remove.
65460         (libc_feholdexcept): Remove.
65461         (libc_feholdexcept_setround): Remove.
65462         (libc_fetestexcept, libc_fesetenv): Remove.
65463         (libc_feupdateenv_test): Remove.
65464         (libc_feupdateenv, libc_feholdsetround): Remove.
65465         (libc_feresetround): Remove.
65467         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
65468         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
65470         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
65471         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
65472         (libc_feupdateenv_testl): New.
65473         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
65474         (libc_feupdateenv_testf): New.
65475         (libc_feupdateenv): Use libc_feupdateenv_test.
65476         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
65477         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
65479         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
65480         (libc_feholdsetroundf, libc_feholdsetroundl): New.
65481         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
65482         (libc_feresetround_noex): New.
65483         (libc_feresetround_noexf): New.
65484         (libc_feresetround_noexl): New.
65485         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
65486         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
65487         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
65488         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
65489         SET_RESTORE_ROUND.
65490         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65491         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
65492         (__cos): Likewise.
65493         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
65494         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
65495         SET_RESTORE_ROUND_NOEX.
65496         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
65497         SET_RESTORE_ROUND_NOEXF.
65498         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
65499         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
65500         (libc_feholdsetroundf): New.
65501         (libc_feresetround, libc_feresetroundf): New.
65503         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
65504         (libc_feholdexcept_setround_53bit): Convert from macro to function.
65505         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
65507         * sysdeps/generic/math_private.h: Include <fenv.h>.
65508         (default_libc_feholdexcept): New.
65509         (default_libc_feholdexcept_setround): New.
65510         (default_libc_fesetenv, default_libc_feupdateenv): New.
65511         (libc_feholdexcept): Only define if undefined.
65512         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
65513         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
65514         (libc_feholdexcept_setroundl): Likewise.
65515         (libc_feholdexcept_setround_53bit): Likewise.
65516         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
65517         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
65518         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
65519         (libc_feupdateenv_53bit): Likewise.
65520         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
65521         (libc_feholdexcept): Convert from macro to inline function.
65522         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
65523         (libc_fesetenv, libc_feupdateenv): Likewise.
65525         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
65526         not previously defined.
65527         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
65528         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
65529         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
65530         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
65531         * sysdeps/ieee754/flt-32/math_private.h: New file.
65532         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
65533         math_private.h below SET_FLOAT_WORD.
65534         (__isnan, __isinf_ns, __finite): Remove.
65535         (__isnanf, __isinf_nsf, __finitef): Remove.
65537 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
65539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65541 2012-03-17  David S. Miller  <davem@davemloft.net>
65543         [BZ #6471]
65544         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
65545         for 2.16.
65547 2012-03-16  David S. Miller  <davem@davemloft.net>
65549         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
65550         warnings.
65552         [BZ #6471]
65553         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
65554         properly.
65555         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
65556         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
65557         sysdep_routines when subdir is sysvipc.
65558         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
65559         __getshmlba helper.
65561         * sysdeps/sparc/fpu/libm-test/ulps: Update.
65563 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65565         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
65566         [__LP64__].
65568 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65570         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
65571         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
65572         (__lround): Renamed to ...
65573         (__llround): This.  Replace long int with long long int.
65574         Define lround functions as aliases of llround functions.
65575         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
65577 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65579         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
65580         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
65581         adresses to uintptr_t.  Replace "long int" and "unsigned long
65582         int" with "greg_t" on va_arg.
65584 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65586         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
65587         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
65589         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
65590         Move e_machine check before EI_CLASS check.  Handle x32
65591         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
65592         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
65593         SKIP_EM_IA_64 and include
65594         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
65596         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
65597         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
65598         (add_system_dir): New macro.
65600         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
65601         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
65603 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65605         [BZ #2551]
65606         [BZ #2552]
65607         [BZ #2553]
65608         [BZ #2554]
65609         [BZ #2562]
65610         [BZ #2563]
65611         [BZ #2565]
65612         [BZ #2566]
65613         [BZ #2576]
65614         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
65615         (y0): Likewise.
65616         * math/w_j0f.c (j0f): Likewise.
65617         (y0f): Likewise.
65618         * math/w_j0l.c (__j0l): Likewise.
65619         (__y0l): Likewise.
65620         * math/w_j1.c (j1): Likewise.
65621         (y1): Likewise.
65622         * math/w_j1f.c (j1f): Likewise.
65623         (y1f): Likewise.
65624         * math/w_j1l.c (__j1l): Likewise.
65625         (__y1l): Likewise.
65626         * math/w_jn.c (jn): Likewise.
65627         (yn): Likewise.
65628         * math/w_jnf.c (jnf): Likewise.
65629         (ynf): Likewise.
65630         * math/w_jnl.c (__jnl): Likewise.
65631         (__ynl): Likewise.
65632         * math/libm-test.inc (j0_test): Add more tests.
65633         (j1_test): Likewise.
65634         (jn_test): Likewise.  Add trailing semicolon to existing test.
65635         (y0_test): Likewise.
65636         (y1_test): Likewise.
65637         * sysdeps/i386/fpu/libm-test-ulps: Update.
65638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65640         [BZ #13851]
65641         [BZ #13854]
65642         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
65643         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
65644         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
65645         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
65646         (__tanl): Set errno for infinite argument.
65647         * sysdeps/i386/fpu/mptan.c: Remove.
65648         * sysdeps/i386/fpu/s_tan.S: Likewise.
65649         * sysdeps/i386/fpu/s_tanl.S: Likewise.
65650         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
65651         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
65652         * math/libm-test.inc (tan_test): Add more tests and enable more
65653         tests for double and long double.
65654         * sysdeps/i386/fpu/libm-test-ulps: Update.
65655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65657 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
65659         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
65660         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
65662 2012-03-16  Roland McGrath  <roland@hack.frob.com>
65664         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
65665         * configure.in: Use it for both main tree and add-ons.
65666         * configure: Regenerated.
65668 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65670         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
65672 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65674         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
65675         in comment.
65677         [BZ #13851]
65678         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
65679         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
65680         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
65681         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
65682         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
65683         infinite argument.
65684         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
65685         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
65686         != 0 for prec == 2.
65687         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
65688         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
65689         * sysdeps/i386/fpu/s_cosl.S: Likewise.
65690         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
65691         * sysdeps/i386/fpu/s_sinl.S: Likewise.
65692         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
65693         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
65694         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
65695         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
65696         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
65697         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
65698         * math/libm-test.inc (cos_test): Add more tests and enable more
65699         tests for long double.
65700         (sin_test): Likewise.
65701         (sincos_test): Likewise.
65702         * sysdeps/i386/fpu/libm-test-ulps: Update.
65703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65705 2012-03-16  David S. Miller  <davem@davemloft.net>
65707         * sysdeps/sparc/fpu/math_private.h: New file.
65709 2012-03-15  David S. Miller  <davem@davemloft.net>
65711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
65712         file.
65713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
65714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
65715         file.
65716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
65717         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
65718         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
65719         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
65720         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
65721         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
65722         sysdep routines.
65723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65725         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
65726         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
65728         * sysdeps/sparc/sparc-ifunc.h: New file.
65729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
65730         sparc-ifunc.h
65731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
65733         Likewise.
65734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
65735         Likewise.
65736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
65737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
65738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65740         Likewise.
65741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
65743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
65745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
65746         Likewise.
65747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
65748         Likewise.
65749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
65751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
65752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
65753         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65754         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65755         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
65756         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
65757         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65758         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65759         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
65760         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
65761         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
65762         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
65763         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
65764         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
65765         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
65766         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
65767         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
65768         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
65769         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
65770         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
65771         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
65772         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
65774 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65776         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
65777         scaling.
65778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65780 2012-03-15  Andreas Jaeger  <aj@suse.de>
65782         [BZ #13852]
65783         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
65784         ieee754/flt-32 implementation for sin, cos and sincos.
65785         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
65786         * sysdeps/i386/fpu/s_cosf.S: Likewise.
65787         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
65788         * sysdeps/i386/fpu/s_sinf.S: Likewise.
65789         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
65790         ieee754/flt-32 implementation for tan.
65792         * math/libm-test.inc (cos_test): Enable some large input tests for
65793         float as well
65794         (sin_test): Likewise.
65795         (sincos_test): Likewise.
65796         (tan_test): Add tests for large input.
65798         * sysdeps/i386/fpu/libm-test-ulps: Update.
65800 2012-03-15  Andreas Jaeger  <aj@suse.de>
65802         [BZ #13658]
65803         * math/libm-test.inc (cos_test): Add more test cases.
65804         (sin_test): Likewise.
65805         (sincos_test): Likewise.
65807 2012-03-15  Andreas Jaeger  <aj@suse.de>
65809         [BZ #13837]
65810         * math/libm-test.inc (cos_test): Add a test case for large input
65811         value.
65812         (sin_test): Likewise.
65813         (sincos_test): Likewise.
65815 2012-03-15  Andreas Jaeger  <aj@suse.de>
65816             Joseph Myers  <joseph@codesourcery.com>
65818         [BZ #13658]
65819         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
65820         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
65821         * sysdeps/i386/fpu/branred.c: Likewise.
65822         * sysdeps/i386/fpu/dosincos.c: Likewise.
65823         * sysdeps/i386/fpu/mpa.c: Likewise.
65824         * sysdeps/i386/fpu/s_cos.S: Likewise.
65825         * sysdeps/i386/fpu/s_sin.S: Likewise.
65826         * sysdeps/i386/fpu/s_sincos.S: Likewise.
65827         * sysdeps/i386/fpu/sincos32.c: Likewise.
65829         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
65830         Define.
65831         (libc_feupdateenv_53bit): Define.
65832         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
65833         Define.
65834         (libc_feupdateenv_53bit): Define.
65836         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
65837         53 bit (without extend i386 double precision).
65839         * math/libm-test.inc (sincos_test): Add tests for large input.
65840         (sin): Likewise.
65841         (cos): Likewise.
65843         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
65845 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65849 2012-03-15  David S. Miller  <davem@davemloft.net>
65851         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
65852         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
65853         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
65854         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
65855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
65856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
65857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
65858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
65859         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
65860         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
65861         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
65862         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
65863         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
65864         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
65865         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
65866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
65867         file.
65868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
65869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
65870         file.
65871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
65872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
65873         file.
65874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
65875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
65876         file.
65877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
65878         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
65879         fmin/fmax sysdep routines.
65880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65882 2012-03-14  David S. Miller  <davem@davemloft.net>
65884         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
65885         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
65886         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
65887         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
65888         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
65889         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
65890         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
65891         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
65892         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
65893         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
65894         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
65895         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
65896         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
65897         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
65898         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
65899         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
65900         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
65901         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
65902         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
65903         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
65904         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
65905         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
65906         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
65907         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
65908         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
65909         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
65910         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
65911         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
65912         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
65913         routines.
65914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
65915         file.
65916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
65917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
65918         file.
65919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
65920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
65921         file.
65922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
65923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
65924         file.
65925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
65926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
65927         file.
65928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
65929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
65930         file.
65931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
65932         file.
65933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
65934         file.
65935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
65936         file.
65937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
65938         New file.
65939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
65940         file.
65941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
65942         file.
65943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
65944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
65945         file.
65946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
65947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
65948         file.
65949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
65950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
65951         file.
65952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
65953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
65954         VIS3 routines.
65956         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65957         New file.
65959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65961         * sysdeps/sparc/configure.in: New file.
65962         * sysdeps/sparc/configure: Generate.
65963         * configure.in (libc_cv_sparc_as_vis3): Substitute.
65964         * configure: Regenerate.
65965         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
65966         * config.make.in (have-as-vis3): New.
65967         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
65968         available use -Av9d instead of -Av9a.
65969         * sysdeps/sparc/sparc64/Makefile: Likewise.
65970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
65971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
65972         New file.
65973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
65974         file.
65975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
65976         New file.
65977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
65978         file.
65979         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
65980         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
65981         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
65982         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
65983         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
65985         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
65986         fzeros/fnegs to load 0x80000000 into a float register instead of
65987         using the stack.
65988         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
65990 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65992         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65993         bits/syscall.h.
65994         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
65995         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
65996         ($(inst_includedir)/bits/syscall.h): Remove rule.
65997         ($(objpfx)bits/syscall.d): Include instead of
65998         $(objpfx)syscall-list.d.
65999         (generated): Change syscall-list.h and syscall-list.d to
66000         bits/syscall.h and bits/syscall.d.
66002 2012-03-14  Roland McGrath  <roland@hack.frob.com>
66004         [BZ #13846]
66005         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
66007 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66009         [BZ #13841]
66010         * math/s_csqrt.c: Include <float.h>.
66011         (__csqrt): Scale large or subnormal inputs.
66012         * math/s_csqrtf.c: Likewise.
66013         * math/s_csqrtl.c: Likewise.
66014         * math/libm-test.inc (csqrt_test): Add more tests.
66015         * sysdeps/i386/fpu/libm-test-ulps: Update.
66016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66018         [BZ #13840]
66019         * math/libm-test.inc (hypot_test): Add more tests.
66021 2012-03-13  David S. Miller  <davem@davemloft.net>
66023         [BZ #13840]
66024         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
66025         double-precision for the calculation instead of scaling.
66027 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
66029         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
66030         manipulate bits before adding and subtracting TWO52[sx].
66031         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
66032         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
66033         Likewise.
66034         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
66036 2012-03-13  David S. Miller  <davem@davemloft.net>
66038         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
66039         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
66040         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
66041         rtld-global-offsets.h
66042         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66044         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
66045         large parameters.
66047         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
66049         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
66050         'err' in the ifdef scope in which it is actually used.
66052         * nss/nss_db/db-init.c: Include string.h
66054 2012-03-12  David S. Miller  <davem@davemloft.net>
66056         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66057         masking out of the most significant byte of random value used.
66058         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66059         Fix coding style in previous change.
66061         * sysdeps/unix/sysv/linux/kernel-features.h
66062         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
66063         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
66064         expression.
66065         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
66066         later.
66068 2012-03-11  David S. Miller  <davem@davemloft.net>
66070         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66071         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
66072         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
66073         for 'resultvar' otherwise things get truncated on 64-bit.
66075         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66076         Fix masking out of the most significant byte of random value used.
66078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66080 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
66082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66084 2012-03-09  David S. Miller  <davem@davemloft.net>
66086         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
66087         variables with appropriate CPP guards.
66088         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
66089         from the frame pointer, not the stack pointer.  Correct layout
66090         comments.  Fix test on resulting framesize and the management of
66091         the outregs buffer for pltexit.  Preserve floating point return
66092         values across _dl_call_pltexit call.
66093         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
66094         framesize and the management of the outregs buffer for pltexit.
66095         Preserve floating point return values across _dl_call_pltexit
66096         call.
66097         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
66098         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
66099         (la_sparc64_gnu_pltexit): New functions.
66100         (print_exit): Fix format string for return register value.
66102 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
66104         * sunrpc/Makefile (others): Add rpcgen.
66105         ($(objpfx)rpcgen): Remove special build rule and dependency on
66106         libc.
66107         * sunrpc/rpcgen.c: New file.
66109 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
66111         [BZ #13673]
66112         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
66113         * stdio-common/bug-vfprintf-nargs.c: Likewise.
66114         * sysdeps/i386/crti.S: Likewise.
66115         * sysdeps/i386/crtn.S: Likewise.
66116         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
66117         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
66118         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
66119         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
66120         * sysdeps/sh/crti.S: Likewise.
66121         * sysdeps/sh/crtn.S: Likewise.
66122         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
66124         [BZ #13673]
66125         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
66126         with URL.
66127         * locale/programs/locfile-kw.gperf: Likewise.
66128         * locale/programs/charmap-kw.h: Regenerated.
66129         * locale/programs/locfile-kw.h: Likewise.
66131         [BZ #13673]
66132         * intl/plural.y: Replace FSF snail mail address with URL.
66133         * intl/plural.c: Regenerated.
66135 2012-03-09  Richard Henderson  <rth@twiddle.net>
66137         * include/math_private.h: Remove file.
66138         * math/math_private.h: Move file ...
66139         * sysdeps/generic/math_private.h: ... here.
66141         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
66142         * sysdeps/powerpc/fpu/math_private.h: Likewise.
66143         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66145         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
66146         and <math_private.h>.
66147         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66148         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66149         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66150         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66151         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66152         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
66153         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66154         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66155         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66156         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66157         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66158         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66159         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66160         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66161         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66162         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66163         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66164         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66165         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66166         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66167         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66168         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66169         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66170         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66171         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
66172         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66173         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66174         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66175         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66176         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66177         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66178         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66179         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
66180         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66181         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66182         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66183         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66184         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66185         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66186         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66187         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
66188         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66189         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66190         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
66191         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
66192         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66193         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
66194         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
66195         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66196         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66197         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
66198         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
66199         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
66200         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66201         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
66202         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66203         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66204         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
66205         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
66206         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
66207         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66208         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
66209         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66210         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66211         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
66212         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66213         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66214         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66215         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
66216         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
66217         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66218         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66219         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66220         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66221         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
66222         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
66223         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
66224         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66225         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
66226         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
66227         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66228         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
66229         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66230         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66231         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66232         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
66233         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
66234         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
66235         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66236         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66237         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66238         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66239         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66240         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66241         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66242         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66243         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66244         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66245         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66246         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66247         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66248         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66249         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66250         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66251         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66252         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66253         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66254         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66255         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66256         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66257         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66258         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66259         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66260         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66261         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
66262         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66263         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66264         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66265         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66266         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66267         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66268         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66269         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66270         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
66271         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66272         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66273         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66274         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
66275         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66276         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
66277         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
66278         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66279         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66280         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
66281         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
66282         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66283         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66284         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66285         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
66286         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66287         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66288         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66289         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66290         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
66291         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
66292         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66293         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66294         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66295         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
66296         * sysdeps/ieee754/k_standard.c: Likewise.
66297         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66298         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66299         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66300         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66301         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66302         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66303         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66304         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66305         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66306         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66307         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66308         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66309         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66310         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66311         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66312         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66313         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
66314         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66315         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66316         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
66317         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
66318         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
66319         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66320         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66321         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
66322         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
66323         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66324         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66325         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66326         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66327         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
66328         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66329         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66330         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66331         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
66332         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66333         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66334         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
66335         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
66336         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66337         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
66338         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
66339         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
66340         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66341         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
66342         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
66343         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66344         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66345         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66346         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66347         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66348         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
66349         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66350         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
66351         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66352         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66353         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
66354         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
66355         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66356         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66357         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66358         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
66359         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66360         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66361         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66362         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66363         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66364         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66365         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66366         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66367         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66368         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66369         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66370         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66371         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66372         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66373         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
66374         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66375         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66376         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
66377         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
66378         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
66379         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66380         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66381         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
66382         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66383         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66384         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
66385         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66386         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66387         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
66388         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66389         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
66390         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
66391         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66392         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66393         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
66394         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
66395         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
66396         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
66397         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66398         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66399         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66400         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66401         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
66402         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66403         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66404         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
66405         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
66406         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66407         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66408         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66409         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66410         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66411         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66412         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66413         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66414         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66415         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66416         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66417         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66418         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66419         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66420         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66421         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66422         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
66423         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66424         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66425         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66426         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66427         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66428         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66429         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66430         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
66431         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66432         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66433         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
66434         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
66435         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66436         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
66437         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
66438         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66439         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
66440         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
66441         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66442         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66443         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66444         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66445         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66446         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
66447         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66448         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66449         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66450         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66451         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
66452         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
66453         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66454         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66455         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66456         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
66457         * sysdeps/ieee754/s_lib_version.c: Likewise.
66458         * sysdeps/ieee754/s_matherr.c: Likewise.
66459         * sysdeps/ieee754/s_signgam.c: Likewise.
66460         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66461         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66462         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
66463         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
66464         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
66465         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66466         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
66467         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
66468         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
66469         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
66470         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
66471         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
66472         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66473         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66474         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
66475         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66476         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66477         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66478         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66479         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66480         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66482 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66484         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
66485         * sunrpc/rpc_main.c: Likewise.
66486         * sunrpc/rpc_svcout.c: Likewise.
66488 2012-03-09  David S. Miller  <davem@davemloft.net>
66490         * include/math_private.h: New file.
66492 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66494         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
66495         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
66496         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
66497         from <bits/socket_type.h>.
66498         (enum __socket_type): Don't define here.
66499         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
66500         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66501         bits/socket_type.h.
66503         [BZ #13566]
66504         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
66505         checking __USE_GNU.
66507         * Makerules ($(inst_includedir)/%.h): New rule.
66508         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
66509         (install-others): Remove variable setting.
66510         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
66512 2012-03-08  Richard Henderson  <rth@twiddle.net>
66514         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
66515         from macro to inline function; merge with the
66516         !__LIBC_INTERNAL_MATH_INLINES version.
66517         (__ieee754_sqrtf): Likewise.
66519         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
66520         to inline function.
66521         (__rintf, __floor, __floorf): Likewise.
66523         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
66524         macro to inline function.
66525         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
66527         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
66528         not <math/math_private.h>.
66530 2012-03-08  David S. Miller  <davem@davemloft.net>
66532         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
66533         copyright year.
66534         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
66536 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
66538         * resolv/gai_misc.c (handle_requests): Fix struct timespec
66539         normalization.
66540         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
66541         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
66543 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
66545         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
66546         be defined individually, they must be defined as a block.  Define
66547         S for printing a string instead of hidint the different by using a
66548         macro for adding the 'l'.
66549         * stdio-common/tst-fphex-wide.c: Adjust.
66551 2012-03-07  Marek Polacek  <polacek@redhat.com>
66553         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
66555 2012-03-08  Marek Polacek  <polacek@redhat.com>
66557         [BZ #13806]
66558         * stdio-common/Makefile (tests): Add tst-fphex-wide.
66559         * stdio-common/tst-fphex.c: Define a few macros to make the
66560         test reusable.  Use them.
66561         * stdio-common/tst-fphex-wide.c: New file.
66563 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
66565         [BZ #6911]
66566         * manual/macros.texi (gnusystems): New macro.
66567         (nongnusystems): Likewise.
66568         (gnulinuxhurdsystems): Likewise.
66569         (gnuhurdsystems): Likewise..
66570         (gnulinuxsystems): Likewise.
66571         * manual/charset.texi: Use new macros or @theglibc{} to refer to
66572         variants of the GNU system, not "GNU system".
66573         * manual/conf.texi: Likewise.
66574         * manual/errno.texi: Likewise.  Update example of errno macro
66575         expansion.
66576         * manual/filesys.texi: Likewise.
66577         (getumask): Document as specific to GNU/Hurd.
66578         * manual/install.texi: Likewise.  Reword some references to
66579         GNU/Linux.
66580         * manual/intro.texi: Likewise.
66581         * manual/io.texi: Likewise.
66582         (File Name Portability): Detail which constraints are inapplicable
66583         to all GNU systems and which are only inapplicable to GNU/Hurd.
66584         * manual/job.texi: Likewise.
66585         * manual/llio.texi: Likewise.
66586         (O_NOCTTY): Document as present on GNU/Linux.
66587         * manual/maint.texi: Likewise.
66588         * manual/memory.texi: Likewise.
66589         * manual/pattern.texi: Likewise.
66590         * manual/pipe.texi: Likewise.
66591         * manual/process.texi: Likewise.
66592         * manual/resource.texi: Likewise.
66593         (RUSAGE_CHILDREN): Remove statement about specifying a particular
66594         child on GNU/Hurd.
66595         * manual/setjmp.texi: Likewise.
66596         * manual/signal.texi: Likewise.
66597         * manual/startup.texi: Likewise.
66598         * manual/stdio.texi: Likewise.
66599         * manual/terminal.texi: Likewise.
66600         (ONLCR): Document as POSIX.
66601         (OXTABS): Document availability on GNU/Linux as XTABS.
66602         (ONOEOT): Document availability separately from other bits.
66603         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
66604         * manual/time.texi: Likewise.
66605         * manual/users.texi: Likewise.
66606         * INSTALL: Regenerated.
66607         * sysdeps/gnu/errlist.c: Regenerated.
66609         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
66610         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
66611         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
66612         puts.
66613         * configure: Regenerated.
66615 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
66617         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
66618         default includes instead of AC_HEADER_CHECK.
66619         * sysdeps/i386/configure: Regenerated.
66621         [BZ #10716]
66622         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
66623         * math/s_cacoshf.c (__cacoshf): Likewise.
66624         * math/s_cacoshl.c (__cacoshl): Likewise.
66625         * math/s_casinh.c (__casinh): Set signs of result from argument.
66626         * math/s_casinhf.c (__casinhf): Likewise.
66627         * math/s_casinhl.c (__casinhl): Likewise.
66628         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
66629         (casinh_test): Add more tests.
66630         * sysdeps/i386/fpu/libm-test-ulps: Update.
66631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66633 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
66635         * po/zh_TW.po: Update from translation team.
66637         * login/Makefile (distribute): Remove variable.
66638         * catgets/Makefile: Likewise.
66639         * mach/Makefile: Likewise.
66640         * malloc/Makefile: Likewise.
66641         * misc/Makefile: Likewise.
66642         * iconv/Makefile: Likewise.
66643         * nscd/Makefile: Likewise.
66644         * hurd/Makefile: Likewise.
66645         * manual/Makefile: Likewise.
66646         * locale/Makefile: Likewise.
66647         * intl/Makefile: Likewise.
66648         * conform/Makefile: Likewise.
66649         * nss/Makefile: Likewise.
66650         * time/Makefile: Likewise.
66651         * soft-fp/Makefile: Likewise.
66652         * dirent/Makefile: Likewise.
66653         * gmon/Makefile: Likewise.
66654         * po/Makefile: Likewise.
66655         * rt/Makefile: Likewise.
66656         * socket/Makefile: Likewise.
66657         * math/Makefile: Likewise.
66658         * signal/Makefile: Likewise.
66659         * debug/Makefile: Likewise.
66660         * elf/Makefile: Likewise.
66661         * timezone/Makefile: Likewise.
66662         * stdlib/Makefile: Likewise.
66663         * iconvdata/Makefile: Likewise.
66664         * sunrpc/Makefile: Likewise.
66665         * io/Makefile: Likewise.
66666         * argp/Makefile: Likewise.
66667         * inet/Makefile: Likewise.
66668         * hesiod/Makefile: Likewise.
66669         * grp/Makefile: Likewise.
66670         * csu/Makefile: Likewise.
66671         * wctype/Makefile: Likewise.
66672         * crypt/Makefile: Likewise.
66673         * libio/Makefile: Likewise.
66674         * string/Makefile: Likewise.
66675         * nis/Makefile: Likewise.
66676         * resolv/Makefile: Likewise.
66677         * stdio-common/Makefile: Likewise.
66678         * wcsmbs/Makefile: Likewise.
66679         * dlfcn/Makefile: Likewise.
66680         * posix/Makefile: Likewise.
66682         [BZ #6959]
66683         * timezone/Makefile: Don't install timezone files, just the programs
66684         and scripts.
66686 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
66688         * nss/databases.def: Add missing gshadow entry.
66690         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
66692 2012-03-06  Marek Polacek  <polacek@redhat.com>
66694         [BZ #13726]
66695         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
66696         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
66697         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
66698         * stdio-common/tst-long-dbl-fphex.c: New file.
66700 2012-03-06  David S. Miller  <davem@davemloft.net>
66702         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66703         (set_obp_int): New function.
66704         (get_obp_int): New function.
66705         (__get_clockfreq_via_dev_openprom): Likewise.
66706         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
66707         Avoid unused variable warnings on 'val' and use builtin_expect.
66708         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
66709         __builtin_expect.
66710         (INLINE_CLONE_SYSCALL): Likewise.
66712 2012-03-05  David S. Miller  <davem@davemloft.net>
66714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66716 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
66718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66720         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
66721         only for |x| >= 40.
66722         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66724 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
66726         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
66727         Replace gettimeofday with __vdso_gettimeofday.
66729         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66730         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
66731         __vdso_clock_gettime and __vdso_getcpu.
66733         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
66734         time with __vdso_time.
66736 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66738         * manual/lang.texi (size_t): Note types to which size_t may be
66739         equivalent with the GNU C Library, but do not describe when
66740         differences between them are significant.
66742 2012-03-05  Andreas Jaeger  <aj@suse.de>
66744         * sysdeps/i386/fpu/libm-test-ulps: Update.
66746 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66748         [BZ #3976]
66749         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
66750         (__ieee754_pow): Save and restore rounding mode and use
66751         round-to-nearest for main computations.
66752         * math/libm-test.inc (pow_test_tonearest): New function.
66753         (pow_test_towardzero): Likewise.
66754         (pow_test_downward): Likewise.
66755         (pow_test_upward): Likewise.
66756         (main): Call the new functions.
66757         * sysdeps/i386/fpu/libm-test-ulps: Update.
66758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66760         [BZ #3976]
66761         * math/libm-test.inc (cosh_test_tonearest): New function.
66762         (cosh_test_towardzero): Likewise.
66763         (cosh_test_downward): Likewise.
66764         (cosh_test_upward): Likewise.
66765         (sinh_test_tonearest): Likewise.
66766         (sinh_test_towardzero): Likewise.
66767         (sinh_test_downward): Likewise.
66768         (sinh_test_upward): Likewise.
66769         (main): Call the new functions.
66770         * sysdeps/i386/fpu/libm-test-ulps: Update.
66771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66773 2012-03-05  Tom de Vries  <tom@codesourcery.com>
66775         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
66776         default stack guard is set in last bytes.
66777         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
66779 2012-03-05  Kees Cook  <keescook@chromium.org>
66781         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
66783         [BZ #13656]
66784         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
66785         possibly allocate from heap instead of stack.
66786         * stdio-common/bug-vfprintf-nargs.c: New file.
66787         * stdio-common/Makefile (tests): Add nargs overflow test.
66789 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
66791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66793 2012-03-03  Marek Polacek  <polacek@redhat.com>
66795         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
66796         * math/math_private.h: Likewise.
66797         * stdlib/tst-strtod.c: Likewise.
66798         * sysdeps/i386/i486/bits/atomic.h: Likewise.
66799         * sysdeps/x86_64/bits/atomic.h: Likewise.
66801 2012-03-02  David S. Miller  <davem@davemloft.net>
66803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
66804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
66805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
66806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
66807         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
66808         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
66809         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
66810         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
66812 2012-03-02  Roland McGrath  <roland@hack.frob.com>
66814         [BZ #13792]
66815         * manual/examples/README: New file, says the example source files
66816         can be used under GPL>=2.
66817         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
66818         line containing just "*/".
66819         * manual/examples/add.c: Add copyright header (GPL>=2).
66820         * manual/examples/argp-ex1.c: Likewise.
66821         * manual/examples/argp-ex2.c: Likewise.
66822         * manual/examples/argp-ex3.c: Likewise.
66823         * manual/examples/argp-ex4.c: Likewise.
66824         * manual/examples/atexit.c: Likewise.
66825         * manual/examples/db.c: Likewise.
66826         * manual/examples/dir.c: Likewise.
66827         * manual/examples/dir2.c: Likewise.
66828         * manual/examples/execinfo.c: Likewise.
66829         * manual/examples/filecli.c: Likewise.
66830         * manual/examples/filesrv.c: Likewise.
66831         * manual/examples/fmtmsgexpl.c: Likewise.
66832         * manual/examples/genpass.c: Likewise.
66833         * manual/examples/inetcli.c: Likewise.
66834         * manual/examples/inetsrv.c: Likewise.
66835         * manual/examples/isockad.c: Likewise.
66836         * manual/examples/longopt.c: Likewise.
66837         * manual/examples/memopen.c: Likewise.
66838         * manual/examples/memstrm.c: Likewise.
66839         * manual/examples/mkfsock.c: Likewise.
66840         * manual/examples/mkisock.c: Likewise.
66841         * manual/examples/mygetpass.c: Likewise.
66842         * manual/examples/pipe.c: Likewise.
66843         * manual/examples/popen.c: Likewise.
66844         * manual/examples/rprintf.c: Likewise.
66845         * manual/examples/search.c: Likewise.
66846         * manual/examples/select.c: Likewise.
66847         * manual/examples/setjmp.c: Likewise.
66848         * manual/examples/sigh1.c: Likewise.
66849         * manual/examples/sigusr.c: Likewise.
66850         * manual/examples/stpcpy.c: Likewise.
66851         * manual/examples/strdupa.c: Likewise.
66852         * manual/examples/strftim.c: Likewise.
66853         * manual/examples/strncat.c: Likewise.
66854         * manual/examples/subopt.c: Likewise.
66855         * manual/examples/swapcontext.c: Likewise.
66856         * manual/examples/termios.c: Likewise.
66857         * manual/examples/testopt.c: Likewise.
66858         * manual/examples/testpass.c: Likewise.
66859         * manual/examples/timeval_subtract.c: Likewise.
66861         [BZ #13792]
66862         * manual/time.texi (Elapsed Time): Move timeval_subtract example
66863         function to ...
66864         * manual/timeval_subtract.c.texi: ... here, new file.
66866 2012-03-02  David S. Miller  <davem@davemloft.net>
66868         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
66870 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
66872         [BZ #3976]
66873         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
66874         (__sin): Save and restore rounding mode and use round-to-nearest
66875         for all computations.
66876         (__cos): Save and restore rounding mode and use round-to-nearest
66877         for all computations.
66878         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
66879         <fenv.h>.
66880         (tan): Save and restore rounding mode and use round-to-nearest for
66881         all computations.
66882         * math/libm-test.inc (cos_test_tonearest): New function.
66883         (cos_test_towardzero): Likewise.
66884         (cos_test_downward): Likewise.
66885         (cos_test_upward): Likewise.
66886         (sin_test_tonearest): Likewise.
66887         (sin_test_towardzero): Likewise.
66888         (sin_test_downward): Likewise.
66889         (sin_test_upward): Likewise.
66890         (tan_test_tonearest): Likewise.
66891         (tan_test_towardzero): Likewise.
66892         (tan_test_downward): Likewise.
66893         (tan_test_upward): Likewise.
66894         (main): Call the new functions.
66895         * sysdeps/i386/fpu/libm-test-ulps: Update.
66896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66898         [BZ #10135]
66899         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
66900         small n, then large n, before computing and testing k+n.
66901         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
66902         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
66903         Likewise.
66904         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
66905         Likewise.
66906         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
66907         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
66908         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
66909         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
66910         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
66911         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
66912         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
66913         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
66914         * math/libm-test.inc (scalbn_test): Add more tests.
66915         (scalbln_test): Likewise.
66917         * manual/filesys.texi (mode_t): Describe constraints on size and
66918         signedness, not exact equivalence to a particular type.
66919         (ino_t): Likewise.
66920         (ino64_t): Likewise.
66921         (dev_t): Likewise.
66922         (nlink_t): Likewise.
66923         (blkcnt_t): Likewise.
66924         (blkcnt64_t): Likewise.
66925         * manual/llio.texi (off_t): Likewise.
66927         [BZ #3976]
66928         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
66929         (__ieee754_exp): Save and restore rounding mode and use
66930         round-to-nearest for all computations.
66931         * math/libm-test.inc (exp_test_tonearest): New function.
66932         (exp_test_towardzero): Likewise.
66933         (exp_test_downward): Likewise.
66934         (exp_test_upward): Likewise.
66935         (main): Call the new functions.
66936         * sysdeps/i386/fpu/libm-test-ulps: Update.
66937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66939 2012-03-01  Chris Demetriou  <cgd@google.com>
66941         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
66942         have predictable order.
66944 2012-03-01  David S. Miller  <davem@davemloft.net>
66946         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
66948         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
66949         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
66950         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
66951         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
66953         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
66954         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
66955         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
66956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
66957         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
66958         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
66959         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
66960         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
66961         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
66963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66965         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
66966         * sysdeps/sparc/fpu/libm-test-ulps: to here.
66967         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
66969         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
66970         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66971         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66972         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
66973         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
66974         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
66975         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
66976         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66977         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66978         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
66979         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
66980         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66981         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66982         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66983         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66984         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66985         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
66986         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
66987         * sysdeps/sparc/elf/configure: Regenerated.
66989 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
66991         * configure.in (AS, LD): Require binutils 2.20 or later.
66992         * configure: Regenerated.
66993         * manual/install.texi (Tools for Compilation): Give binutils 2.20
66994         as required minimum version.
66995         * INSTALL: Regenerated.
66997         [BZ #2541]
66998         [BZ #4108]
66999         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
67000         before squaring exponent.
67001         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
67002         bottom long double and 27 bits of top long double before squaring
67003         exponent.
67004         * math/libm-test.inc (erfc_test): Add more tests.
67005         * sysdeps/i386/fpu/libm-test-ulps: Update.
67006         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67009 2012-03-01  Kai Tietz  <ktietz@redhat.com>
67011         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
67012         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
67013         containing bit-fields.
67014         * soft-fp/extended.h (_FP_UNION_E): Likewise.
67015         * soft-fp/single.h (_FP_UNION_S): Likewise.
67016         * soft-fp/double.h (_FP_UNION_D): Likewise.
67018 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67020         [BZ #13786]
67021         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
67022         not include ../strcmp.S.
67023         [USE_AS_STRNCASECMP_L]: Likewise.
67024         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
67025         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
67026         * sysdeps/i386/i686/multiarch/strncase_l-c.c
67027         (__strncasecmp_l_ia32): Define as alias to
67028         __strncasecmp_l_nonascii.
67030         [BZ #5794]
67031         * math/libm-test.inc (expm1_test): Add test for bug 5794.
67032         * sysdeps/i386/fpu/libm-test-ulps: Update.
67033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67035         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
67036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67038 2012-02-29  Jeff Law  <law@redhat.com>
67040         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
67041         out of bounds read.
67043 2012-02-29  Marek Polacek  <polacek@redhat.com>
67045         [BZ #13706]
67046         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
67047         * elf/Makefile: Add rules to run tst-unused-dep.out.
67049 2012-02-28  David S. Miller  <davem@davemloft.net>
67051         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
67052         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
67053         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
67054         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
67055         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
67056         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
67058 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67060         * math/libm-test.inc (llround_test): Move one test from
67061         lround_test.  Use TEST_f_L in moved test.
67062         (lround_test): Move misplaced test to llround_test.  Add testcase
67063         from bug 2561.
67065 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
67067         * sysdeps/x86_64/fpu/e_expf.S: New file.
67068         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
67070 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
67072         [BZ #13637]
67073         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
67074         of remain_len that may cause incomplete multi-byte character and
67075         false match.
67076         * posix/bug-regex33.c: New file.
67077         * posix/Makefile (tests): Add bug-regex33.
67079 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
67081         * manual/macros.texi: New file.
67082         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
67083         * manual/libc.texinfo: Include macros.texi.
67084         * manual/creatute.texi: Likewise.
67085         * manual/install.texi: Likewise.
67086         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
67087         @glibcadj{} in references to the GNU C Library.
67088         * manual/charset.texi: Likewise.
67089         * manual/conf.texi: Likewise.
67090         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
67091         when not using those macros.
67092         * manual/creature.texi: Likewise.
67093         * manual/crypt.texi: Likewise.
67094         * manual/errno.texi: Likewise.
67095         * manual/filesys.texi: Likewise.
67096         * manual/header.texi: Likewise.
67097         * manual/install.texi: Likewise.
67098         * manual/intro.texi: Likewise.
67099         * manual/io.texi: Likewise.
67100         * manual/job.texi: Likewise.
67101         * manual/lang.texi: Likewise.
67102         * manual/libc.texiinfo: Likewise.
67103         * manual/llio.texi: Likewise.
67104         * manual/locale.texi: Likewise.
67105         * manual/maint.texi: Likewise.
67106         * manual/math.texi: Likewise.
67107         * manual/memory.texi: Likewise.
67108         * manual/message.texi: Likewise.
67109         * manual/nss.texi: Likewise.
67110         * manual/pattern.texi: Likewise.
67111         * manual/process.texi: Likewise.
67112         * manual/resource.texi: Likewise.
67113         * manual/search.texi: Likewise.
67114         * manual/setjmp.texi: Likewise.
67115         * manual/signal.texi: Likewise.
67116         * manual/socket.texi: Likewise.
67117         * manual/startup.texi: Likewise.
67118         * manual/stdio.texi: Likewise.
67119         * manual/string.texi: Likewise.
67120         * manual/sysinfo.texi: Likewise.
67121         * manual/syslog.texi: Likewise.
67122         * manual/terminal.texi: Likewise.
67123         * manual/time.texi: Likewise.
67124         * manual/users.texi: Likewise.
67125         * INSTALL: Regenerated.
67126         * NOTES: Regenerated.
67127         * sysdeps/gnu/errlist.c: Regenerated.
67129 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
67131         * include/dirent.h: Include <dirstream.h> before
67132         <dirent/dirent.h>.
67134 2012-02-28  David S. Miller  <davem@davemloft.net>
67136         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
67137         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
67138         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
67139         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
67141 2012-02-27  David S. Miller  <davem@davemloft.net>
67143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
67144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
67145         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
67146         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
67148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
67149         frame pointer instead of stack pointer relative arg slot.
67150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67151         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67152         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67154 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
67156         [BZ #3992]
67157         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
67159 2012-02-27  David S. Miller  <davem@davemloft.net>
67161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
67162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
67165         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67166         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67167         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
67168         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
67170 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67172         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
67173         later.  Allow versions 5-9.
67174         * configure: Regenerated.
67175         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
67176         required minimum version and 4.6 as recommended version.  Do not
67177         mention bugs in GCC 2.7 and 2.8.
67178         * INSTALL: Regenerated.
67180 2012-02-27  David S. Miller  <davem@davemloft.net>
67182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
67183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
67184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
67185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
67186         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
67187         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
67188         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
67189         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
67191         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
67192         manipulate bits before adding and subtracting TWO112[sx].
67193         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67195 2012-02-27  Roland McGrath  <roland@hack.frob.com>
67197         [BZ #13775]
67198         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
67199         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
67200         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
67201         being in POSIX, because they are in 1003.1-2008.
67203         * rt/tst-aio.c: Include <fcntl.h>.
67204         * rt/tst-aio7.c: Likewise.
67205         * rt/tst-aio64.c: Likewise.
67207         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
67209 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67211         * manual/install.texi (--with-headers): Describe headers as
67212         interface headers, not private headers.
67213         (Specific advice for GNU/Linux systems): Describe use of headers
67214         from "make headers_install", not private headers from older
67215         kernels.
67216         * INSTALL: Regenerated.
67217         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
67218         Change to 2.6.19.
67219         * sysdeps/unix/sysv/linux/configure: Regenerated.
67221         * manual/llio.texi (fclean): Remove documentation.
67223         * manual/Makefile (libc-texi-generated): New variable.  Include
67224         version.texi.
67225         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
67226         $(libc-texi-generated), not duplicated list of files.
67227         (version.texi, stamp-version): New rules.
67228         (realclean): Remove $(libc-texi-generated), not individual files
67229         from that list.  Do not remove dir-add.texinfo.
67230         * manual/libc.texinfo: Comment out uses of edition numbers and
67231         references to printed manual.  Remove last-updated dates.
67232         (EDITION): Comment out.
67233         (ISBN): Likewise.
67234         (VERSION, UPDATED): Remove.
67235         (version.texi): Include.
67237 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
67239         * sysdeps/posix/spawni.c: Include <signal.h>.
67240         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
67241         * sysdeps/pthread/aio_fsync.c: Likewise.
67243 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
67245         * conform/Makefile (tests): Run only when not cross-compiling and
67246         when fast-check is not defined.
67248         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
67249         * conform/data/limits.h-data: Fixes for POSIX2008.
67250         * conform/run-conformtest.sh: Run all tests.
67251         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
67252         headers.
67253         * include/bits/dlfcn.h: Likewise.
67254         * include/langinfo.h: Likewise.
67255         * include/monetary.h: Likewise.
67256         * include/sys/poll.h: Likewise.
67258         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
67259         for __USE_GNU.
67260         * posix/spawn.h: Define __need_sigset_t.
67261         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
67262         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
67263         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
67264         to get sigevent_t only.
67265         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
67266         only for __USE_GNU.
67267         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67268         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67269         process_vm_writev only for __USE_GNU.
67270         * termios/termios.h: Declare tcgetsid also for POSIX2008.
67272         * conform/Makefile: For now ignore errors from run-conformtest.
67273         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
67274         POSIX to avoid namespace pollution.  Don't prepend headers.
67275         * conform/data/aio.h-data: Fixes for POSIX testing.
67276         * conform/data/fcntl.h-data: Likewise.
67277         * conform/data/glob.h-data: Likewise.
67278         * conform/data/grp.h-data: Likewise.
67279         * conform/data/pthread.h-data: Likewise.
67280         * conform/data/pwd.h-data: Likewise.
67281         * conform/data/signal.h-data: Likewise.
67282         * conform/data/spawn.h-data: Likewise.
67283         * conform/data/stdio.h-data: Likewise.
67284         * conform/data/stdlib.h-data: Likewise.
67285         * conform/data/stropts.h-data: Likewise.
67286         * conform/data/sys/mman.h-data: Likewise.
67287         * conform/data/sys/stat.h-data: Likewise.
67288         * conform/data/sys/types.h-data: Likewise.
67289         * conform/data/sys/wait.h-data: Likewise.
67290         * conform/data/time.h-data: Likewise.
67291         * conform/data/unistd.h-data: Likewise.
67292         * conform/data/utime.h-data: Likewise.
67294         * io/sys/stat.h: fchmod was always in POSIX.
67295         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
67296         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
67297         * rt/aio.h: Define __need_timespec before including <time.h>.
67298         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
67299         struct.  Add forward declaration of pthread_attr_t and use it in
67300         sigevent.
67301         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67302         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67303         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
67304         always remove CLK_TCK definition.
67306 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
67308         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
67310 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
67312         * conform/run-conformtest.sh: New file.
67313         * conform/Makefile: Run run-conformtest for tests.
67314         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
67315         support.
67317         * conform/data/uchar.h-data: New file.
67318         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
67319         * conform/data/arpa/inet.h-data: Likewise.
67320         * conform/data/assert.h-data: Likewise.
67321         * conform/data/complex.h-data: Likewise.
67322         * conform/data/cpio.h-data: Likewise.
67323         * conform/data/ctype.h-data: Likewise.
67324         * conform/data/dirent.h-data: Likewise.
67325         * conform/data/dlfcn.h-data: Likewise.
67326         * conform/data/errno.h-data: Likewise.
67327         * conform/data/fcntl.h-data: Likewise.
67328         * conform/data/float.h-data: Likewise.
67329         * conform/data/fmtmsg.h-data: Likewise.
67330         * conform/data/fnmatch.h-data: Likewise.
67331         * conform/data/ftw.h-data: Likewise.
67332         * conform/data/glob.h-data: Likewise.
67333         * conform/data/grp.h-data: Likewise.
67334         * conform/data/iconv.h-data: Likewise.
67335         * conform/data/inttypes.h-data: Likewise.
67336         * conform/data/langinfo.h-data: Likewise.
67337         * conform/data/libgen.h-data: Likewise.
67338         * conform/data/limits.h-data: Likewise.
67339         * conform/data/locale.h-data: Likewise.
67340         * conform/data/math.h-data: Likewise.
67341         * conform/data/monetary.h-data: Likewise.
67342         * conform/data/mqueue.h-data: Likewise.
67343         * conform/data/ndbm.h-data: Likewise.
67344         * conform/data/net/if.h-data: Likewise.
67345         * conform/data/netdb.h-data: Likewise.
67346         * conform/data/netinet/in.h-data: Likewise.
67347         * conform/data/nl_types.h-data: Likewise.
67348         * conform/data/poll.h-data: Likewise.
67349         * conform/data/pthread.h-data: Likewise.
67350         * conform/data/pwd.h-data: Likewise.
67351         * conform/data/regex.h-data: Likewise.
67352         * conform/data/sched.h-data: Likewise.
67353         * conform/data/search.h-data: Likewise.
67354         * conform/data/semaphore.h-data: Likewise.
67355         * conform/data/setjmp.h-data: Likewise.
67356         * conform/data/signal.h-data: Likewise.
67357         * conform/data/spawn.h-data: Likewise.
67358         * conform/data/stdarg.h-data: Likewise.
67359         * conform/data/stdio.h-data: Likewise.
67360         * conform/data/stdlib.h-data: Likewise.
67361         * conform/data/string.h-data: Likewise.
67362         * conform/data/strings.h-data: Likewise.
67363         * conform/data/stropts.h-data: Likewise.
67364         * conform/data/sys/ipc.h-data: Likewise.
67365         * conform/data/sys/mman.h-data: Likewise.
67366         * conform/data/sys/msg.h-data: Likewise.
67367         * conform/data/sys/resource.h-data: Likewise.
67368         * conform/data/sys/select.h-data: Likewise.
67369         * conform/data/sys/sem.h-data: Likewise.
67370         * conform/data/sys/shm.h-data: Likewise.
67371         * conform/data/sys/socket.h-data: Likewise.
67372         * conform/data/sys/stat.h-data: Likewise.
67373         * conform/data/sys/statvfs.h-data: Likewise.
67374         * conform/data/sys/time.h-data: Likewise.
67375         * conform/data/sys/timeb.h-data: Likewise.
67376         * conform/data/sys/times.h-data: Likewise.
67377         * conform/data/sys/types.h-data: Likewise.
67378         * conform/data/sys/uio.h-data: Likewise.
67379         * conform/data/sys/un.h-data: Likewise.
67380         * conform/data/sys/utsname.h-data: Likewise.
67381         * conform/data/sys/wait.h-data: Likewise.
67382         * conform/data/syslog.h-data: Likewise.
67383         * conform/data/tar.h-data: Likewise.
67384         * conform/data/termios.h-data: Likewise.
67385         * conform/data/utime.h-data: Likewise.
67386         * conform/data/utmpx.h-data: Likewise.
67387         * conform/data/varargs.h-data: Likewise.
67388         * conform/data/wchar.h-data: Likewise.
67389         * conform/data/wctype.h-data: Likewise.
67390         * conform/data/wordexp.h-data: Likewise.
67392         * include/stropts.h: New file.
67393         * include/uchar.h: New file.
67394         * include/aio.h: Changes to allow conformtest.pl to use the headers.
67395         * include/assert.h: Likewise.
67396         * include/ctype.h: Likewise.
67397         * include/dirent.h: Likewise.
67398         * include/dlfcn.h: Likewise.
67399         * include/fcntl.h: Likewise.
67400         * include/fnmatch.h: Likewise.
67401         * include/glob.h: Likewise.
67402         * include/grp.h: Likewise.
67403         * include/libio.h: Likewise.
67404         * include/locale.h: Likewise.
67405         * include/math.h: Likewise.
67406         * include/net/if.h: Likewise.
67407         * include/netdb.h: Likewise.
67408         * include/netinet/in.h: Likewise.
67409         * include/pthread.h: Likewise.
67410         * include/pwd.h: Likewise.
67411         * include/regex.h: Likewise.
67412         * include/sched.h: Likewise.
67413         * include/search.h: Likewise.
67414         * include/setjmp.h: Likewise.
67415         * include/signal.h: Likewise.
67416         * include/stdio.h: Likewise.
67417         * include/stdlib.h: Likewise.
67418         * include/string.h: Likewise.
67419         * include/sys/cdefs.h: Likewise.
67420         * include/sys/mman.h: Likewise.
67421         * include/sys/msg.h: Likewise.
67422         * include/sys/resource.h: Likewise.
67423         * include/sys/select.h: Likewise.
67424         * include/sys/socket.h: Likewise.
67425         * include/sys/stat.h: Likewise.
67426         * include/sys/statvfs.h: Likewise.
67427         * include/sys/time.h: Likewise.
67428         * include/sys/times.h: Likewise.
67429         * include/sys/uio.h: Likewise.
67430         * include/sys/utsname.h: Likewise.
67431         * include/sys/wait.h: Likewise.
67432         * include/termios.h: Likewise.
67433         * include/time.h: Likewise.
67434         * include/ulimit.h: Likewise.
67435         * include/unistd.h: Likewise.
67436         * include/utime.h: Likewise.
67437         * include/wchar.h: Likewise.
67438         * include/wctype.h: Likewise.
67439         * include/wordexp.h: Likewise.
67441         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
67443         * time/time.h: TIME_UTC must be a macro.
67444         Make timespec_get available for ISO C11 only as well.
67446 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
67448         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
67449         Reported by Peng Haitao <penght@cn.fujitsu.com>.
67451 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67453         * configure.in: Use -o not -a in test for unsupported multi-arch.
67455 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67457         * manual/texinfo.tex: Update to version 2012-01-19.16.
67459 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67461         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
67463 2012-02-24  Roland McGrath  <roland@hack.frob.com>
67465         [BZ #13738]
67466         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
67467         * manual/fdl-1.3.texi: New file.
67468         * manual/fdl-1.1.texi: File removed.
67470         [BZ #13738]
67471         * manual/libc.texinfo (FDL_VERSION): New @set.
67472         Use it for mention of FDL in cover text.
67473         (Documentation License): Use it in @include file name.
67475 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67476             Roland McGrath  <roland@hack.frob.com>
67478         [BZ #5461]
67479         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
67480         (not LONG_LONG_MAX and LONG_LONG_MIN.
67481         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
67482         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
67483         name.
67484         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
67486 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67488         [BZ #2547]
67489         [BZ #11365]
67490         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
67491         manipulate bits before adding and subtracting TWO23[sx].
67492         * math/libm-test.inc (nearbyint_test): Add more tests.
67494 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67496         [BZ #2548]
67497         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
67498         bits before adding and subtracting TWO23[sx].
67499         * math/libm-test.inc (rint_test): Add more tests.
67500         (rint_test_tonearest): Likewise.
67501         (rint_test_towardzero): Likewise.
67502         (rint_test_downward): Likewise.
67503         (rint_test_upward: Likewise.
67505 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67507         [BZ #10110]
67508         * include/stdc-predef.h: New file.  Extracted from features.h.
67509         * include/features.h: Include stdc-predef.h.
67510         * Makefile (headers): Add stdc-predef.h.
67511         * CONFORMANCE (Compiler limitations): Update.
67513 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67515         * manual/libc.texinfo (VERSION, UPDATED): Revert.
67517 2012-02-21  David S. Miller  <davem@davemloft.net>
67519         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
67520         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67522 2012-02-20  David S. Miller  <davem@davemloft.net>
67524         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
67525         using a normal save/restore sequence, rather than allocating a
67526         dummy stack frame just to store a frame pointer and restore.
67527         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67529 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67531         * manual/install.texi: Fix stray word in line-wrapped comment.
67533 2012-02-20  David S. Miller  <davem@davemloft.net>
67535         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
67536         both binutils and gcc support GOTDATA.
67538         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
67539         "rd %pc" in the PIC register setup sequences.
67541         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
67542         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
67543         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67544         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
67545         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67546         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67547         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67548         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67549         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
67550         (SYSCALL_ERROR_HANDLER): Likewise.
67551         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67552         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67553         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
67554         (SYSCALL_ERROR_HANDLER): Likewise.
67556         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
67557         (HAVE_GCC_GOTDATA): New.
67558         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
67559         relocation support in both binutils and gcc.
67560         * sysdeps/sparc/elf/configure: Regenerate.
67562         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
67563         * sysdeps/sparc/sparc32/elf/configure: Delete.
67564         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
67565         * sysdeps/sparc/sparc64/elf/configure: Delete.
67566         * sysdeps/sparc/elf/configure.in: New file.
67567         * sysdeps/sparc/elf/configure: Generate.
67569         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
67570         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
67571         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67572         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
67573         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
67575 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67577         * manual/install.texi: Do not mention specific glibc version
67578         numbers.
67579         * manual/libc.texinfo (VERSION, UPDATED): Update.
67580         (@copying): Use @copyright{} and range of years.
67582 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67584         [BZ #13695]
67585         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
67586         [crti.S not in sysdirs] (generated): Do not append.
67587         [crti.S not in sysdirs] (omit-deps): Likewise.
67588         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
67589         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
67590         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
67591         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
67592         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
67593         Likewise.
67594         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
67595         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
67596         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
67597         * csu/defs.awk: Remove file.
67598         * sysdeps/generic/initfini.c: Likewise.
67599         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
67600         variable.
67601         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
67602         Likewise.
67604 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67606         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
67607         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
67608         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
67609         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
67610         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67611         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
67612         <bits/epoll.h>.
67613         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
67614         (__EPOLL_PACKED): Define to empty if not defined by
67615         <bits/epoll.h>.
67616         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
67617         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67618         bits/epoll.h.
67620 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67622         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
67623         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
67624         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
67625         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
67626         <bits/timerfd.h>.
67627         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
67628         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67629         bits/timerfd.h.
67631 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67633         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
67634         in C locale.
67635         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67636         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
67637         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
67638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67640 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
67642         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67643         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67645 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
67647         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
67648         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
67649         defined.
67650         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
67651         Likewise.
67652         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
67653         entry for 2.16.
67655 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
67657         * math/w_acos.c: Use non-signaling floating-point comparisons.
67658         * math/w_acosf.c: Likewise.
67659         * math/w_acosh.c: Likewise.
67660         * math/w_acoshf.c: Likewise.
67661         * math/w_acoshl.c: Likewise.
67662         * math/w_acosl.c: Likewise.
67663         * math/w_asin.c: Likewise.
67664         * math/w_asinf.c: Likewise.
67665         * math/w_asinl.c: Likewise.
67666         * math/w_atanh.c: Likewise.
67667         * math/w_atanhf.c: Likewise.
67668         * math/w_atanhl.c: Likewise.
67669         * math/w_exp2.c: Likewise.
67670         * math/w_exp2f.c: Likewise.
67671         * math/w_exp2l.c: Likewise.
67672         * math/w_j0.c: Likewise.
67673         * math/w_j0f.c: Likewise.
67674         * math/w_j0l.c: Likewise.
67675         * math/w_j1.c: Likewise.
67676         * math/w_j1f.c: Likewise.
67677         * math/w_j1l.c: Likewise.
67678         * math/w_jn.c: Likewise.
67679         * math/w_jnf.c: Likewise.
67680         * math/w_log.c: Likewise.
67681         * math/w_log10.c: Likewise.
67682         * math/w_log10f.c: Likewise.
67683         * math/w_log10l.c: Likewise.
67684         * math/w_log2.c: Likewise.
67685         * math/w_log2f.c: Likewise.
67686         * math/w_log2l.c: Likewise.
67687         * math/w_logf.c: Likewise.
67688         * math/w_logl.c: Likewise.
67689         * math/w_sqrt.c: Likewise.
67690         * math/w_sqrtf.c: Likewise.
67691         * math/w_sqrtl.c: Likewise.
67692         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67693         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
67694         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67695         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67696         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67698 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67700         [BZ #9739]
67701         * manual/string.texi (strnlen): Use correct parameter name in
67702         equivalent expression.
67704 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67706         [BZ #11174]
67707         * manual/users.texi (seteuid): Consistently use neweuid for
67708         argument name.
67710 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67712         [BZ #13704]
67713         * manual/nss.texi (Services in the NSS configuration): Correct
67714         list of services in example configuration file.
67716 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
67718         [BZ #11322]
67719         * manual/arith.texi: Remove statements about negative zero
67720         behaving identically to zero.
67722 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67724         [BZ #5993]
67725         * manual/install.texi: Do not document upgrading from libc5.
67727 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67729         [BZ #4596]
67730         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
67732 2012-02-18  David S. Miller  <davem@davemloft.net>
67734         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
67735         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
67736         %o7 across the call.
67737         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
67738         instead.
67739         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
67740         SETUP_PIC_REG_LEAF.
67741         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67742         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
67743         * sysdeps/sparc/crtn.S: Likewise.
67745 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
67747         * aout/Makefile: Remove.
67749 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
67751         [BZ #13058]
67752         * manual/examples/argp-ex1.c (main): Format definition in GNU
67753         style.
67754         * manual/examples/argp-ex2.c (main): Likewise.
67755         * manual/examples/argp-ex3.c (main): Likewise.
67756         * manual/examples/argp-ex4.c (main): Likewise.
67757         * manual/examples/longopt.c (main): Use new-style prototype
67758         definition.
67759         * manual/examples/strncat.c (main): Specify return type and use
67760         (void) for arguments.
67761         * manual/examples/subopt.c (main): Use char **argv argument.
67763 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67765         [BZ #5077]
67766         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
67767         rounding modes.
67769 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
67771         [BZ #6907]
67772         * manual/string.texi (strchr): Change when strchrnul is
67773         recommended.
67775 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
67777         [BZ #174]
67778         * manual/locale.texi (setlocale): Document LOCPATH.
67780 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67782         [BZ #10210]
67783         * manual/process.texi (execle): Move @dots{} before last argument.
67785 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
67787         [BZ #12047]
67788         * manual/charset.texi (Generic Charset Conversion): Fix typo
67789         (LC_TYPE -> LC_CTYPE).
67791 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
67793         [BZ #5805]
67794         * manual/arith.texi (scalbn): Use @var{} on parameter names.
67795         (scalbnf): Likewise.
67796         (scalbnl): Likewise.
67797         (scalbln): Likewise.
67798         (scalblnf): Likewise.
67799         (scalblnl): Likewise.
67800         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
67801         (vwarnx): Likewise.
67802         (verr): Likewise.
67803         (verrx): Likewise.
67804         * manual/filesys.texi (telldir): Use braces around return type.
67805         * manual/llio.texi (mmap): Add space after comma.
67806         (mmap64): Likewise.
67807         * manual/math.texi (jn): Use @var{} on parameter names.
67808         (jnf): Likewise.
67809         (jnl): Likewise.
67810         (yn): Likewise.
67811         (ynf): Likewise.
67812         (ynl): Likewise.
67813         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
67814         line.
67815         * manual/resource.texi (ulimit): Use @dots{} instead of literal
67816         "...".
67817         (sched_get_priority_min): Remove semicolon on @deftypefun line.
67818         (sched_get_priority_max): Likewise.
67819         * manual/signal.texi (sigvec): Add space after comma.
67820         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
67821         names.
67822         (if_indextoname): Likewise.
67823         (if_freenameindex): Likewise.
67824         (sendto): Use ',' instead of '.' in prototype.
67825         * manual/startup.texi (syscall): Use @dots{} instead of literal
67826         "...".
67827         * manual/stdio.texi (__fpending): Separate initial words of
67828         paragraph from @deftypefun line.
67829         * manual/syslog.texi (syslog): Use @dots{} instead of literal
67830         "...".
67831         (vsyslog): Use @var{} on parameter names.
67832         * manual/terminal.texi (stty): Use @var{} on parameter names.
67833         * manual/users.texi (getutmp): Use @var{} on parameter names.
67834         (getutmpx): Likewise.
67836 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67838         [BZ #6884]
67839         * manual/stdio.texi (fopen): Fix typos in description of
67840         ",ccs=STRING".
67842 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
67844         [BZ #4026]
67845         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
67846         get clock_id definition.
67848 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
67850         [BZ #4822]
67851         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
67852         (madvise): Cast every argument to void on its own.
67854 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67856         [BZ #9902]
67857         * manual/startup.texi (Exit Status): Fix typo.
67859 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67861         [BZ #10140]
67862         * manual/examples/argp-ex1.c: Include <stdlib.h>.
67863         * manual/examples/argp-ex2.c: Likewise.
67864         * manual/examples/argp-ex3.c: Likewise.
67866 2012-02-16  Richard Henderson  <rth@redhat.com>
67868         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
67869         * sysdeps/s390/s390-32/initfini.c: Remove.
67870         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
67871         * sysdeps/s390/s390-64/initfini.c: Remove.
67873 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67875         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
67876         compiler output for sysdeps/generic/initfini.c.
67877         * sysdeps/sh/elf/initfini.c: Remove file.
67879 2012-02-16  David S. Miller  <davem@davemloft.net>
67881         [BZ #11494]
67882         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
67884         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
67885         * sysdeps/sparc/crti.S: New file.
67886         * sysdeps/sparc/crtn.S: New file.
67887         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
67888         * sysdeps/sparc/sparc64/Makefile: Likewise.
67890 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
67892         [BZ #3335]
67893         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
67895 2012-02-15  Roland McGrath  <roland@hack.frob.com>
67897         [BZ #4822]
67898         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
67900         * mach/devstream.c (cookie_io_functions_t): Macro removed.
67901         (write, read, close): Likewise.
67902         Patch by Aurelien Jarno <aurelien@aurel32.net>.
67904 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
67906         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
67907         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
67908         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
67909         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
67910         <bits/signalfd.h>.
67911         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
67912         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67913         bits/signalfd.h.
67915 2012-02-14  Marek Polacek  <polacek@redhat.com>
67917         * sysdeps/x86_64/crti.S: New file.
67918         * sysdeps/x86_64/crtn.S: New file.
67919         * sysdeps/x86_64/elf/initfini.c: Remove file.
67921 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67923         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
67924         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
67925         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
67926         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
67927         <bits/inotify.h>.
67928         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
67929         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67930         bits/inotify.h.
67932 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67934         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
67935         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
67936         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
67937         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
67938         <bits/eventfd.h>.
67939         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
67940         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67941         bits/eventfd.h.
67943 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
67945         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
67946         __feraiseexcept instead of feraiseexcept.
67948         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
67949         nanosleep invocations.
67950         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
67951         strings, and add error checking for a nanosleep invocations.
67953 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
67955         Replace FSF snail mail address with URLs, as per GNU coding standards.
67956         Most of the snail mail addresses were wrong anyway, and omitting
67957         them makes the source code easier to maintain.  Almost all of the
67958         changes are to license notices and to locale LC_IDENTIFICATION
67959         addresses, except for this one:
67960         * manual/libc.texinfo: In "Published by", give the FSF's URL,
67961         not its snail mail address.
67963 2012-02-09  Richard Henderson  <rth@twiddle.net>
67965         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
67966         of kernel-features.h.
67968         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
67970 2012-02-08  Marek Polacek  <polacek@redhat.com>
67972         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
67973         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
67974         * sysdeps/gnu/_G_config.h: Likewise.
67975         * sysdeps/generic/_G_config.h: Likewise.
67977 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
67979         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
67980         tests.
67981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67983         * sysdeps/powerpc/powerpc32/crti.S: New file.
67984         * sysdeps/powerpc/powerpc32/crtn.S: New file.
67985         * sysdeps/powerpc/powerpc64/crti.S: New file.
67986         * sysdeps/powerpc/powerpc64/crtn.S: New file.
67988         * Makeconfig (have-initfini): Don't set.
67989         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
67990         * configure.in (nopic_initfini): Don't substitute.
67991         * config.h.in (HAVE_INITFINI): Don't #undef.
67992         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
67993         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
67995 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
67997         Support crti.S and crtn.S provided directly by architectures.
67998         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
67999         [crti.S in sysdirs] (omit-deps): Likewise.
68000         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
68001         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
68002         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
68003         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
68004         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
68005         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
68006         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
68007         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
68008         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
68009         compiler output for sysdeps/generic/initfini.c.
68010         * sysdeps/i386/elf/Makefile: Remove file.
68011         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
68013 2012-02-07  Marek Polacek  <polacek@redhat.com>
68015         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
68016         * sysdeps/gnu/_G_config.h: Likewise.
68017         * sysdeps/mach/hurd/_G_config.h: Likewise.
68019 2012-02-07  Marek Polacek  <polacek@redhat.com>
68021         * math/Makefile (tests): Add tst-CMPLX2.
68022         * math/tst-CMPLX2.c: New file.
68024 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
68026         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68028         * math/libm-test.inc (jn_test): Add missing L suffix.
68030 2012-02-06  Marek Polacek  <polacek@redhat.com>
68032         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
68033         * sysdeps/i386/fpu/e_powf.S: Likewise.
68034         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68035         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68036         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68037         * sysdeps/i386/fpu/e_pow.S: Likewise.
68038         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68039         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68040         * sysdeps/i386/fpu/s_expm1.S: Likewise.
68041         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68042         * sysdeps/i386/fpu/e_log2.S: Likewise.
68043         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68044         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68045         * sysdeps/i386/fpu/e_powl.S: Likewise.
68046         * sysdeps/i386/fpu/s_log1p.S: Likewise.
68047         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68048         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68049         * sysdeps/i386/fpu/e_logl.S: Likewise.
68050         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68051         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
68052         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68053         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68054         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68055         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68056         * sysdeps/i386/fpu/e_log.S: Likewise.
68057         * sysdeps/i386/fpu/s_cexp.S: Likewise.
68058         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68059         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
68060         * sysdeps/i386/fpu/e_logf.S: Likewise.
68061         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68062         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68063         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
68064         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68065         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68066         * sysdeps/i386/fpu/e_log10.S: Likewise.
68067         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68068         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68069         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68070         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68071         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68072         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68073         * sysdeps/i386/asm-syntax.h: Likewise.
68074         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68075         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68076         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68077         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
68078         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
68079         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68080         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68081         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68082         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68083         * sysdeps/powerpc/sysdep.h: Likewise.
68084         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
68085         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68087 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68089         [BZ #411]
68090         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
68092 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68094         * sysdeps/i386/sysdep.h: Include <features.h>.
68095         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
68096         version.
68098 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
68100         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
68101         Define.
68102         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
68103         LOAD_PIC_REG_STR.
68105 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68107         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
68108         (SETUP_PIC_REG): Use GET_PC_THUNK.
68109         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
68110         macro.
68112 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68114         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
68115         for non-PIC compilation.
68116         (SETUP_PIC_REG): Add .p2align directive.
68117         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
68118         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
68119         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68120         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68121         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
68122         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68123         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
68124         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68125         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68126         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68127         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68128         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68129         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68130         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68131         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68132         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
68133         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
68134         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68135         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68136         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68137         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68138         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
68139         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68140         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68141         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
68142         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
68143         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68144         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
68145         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68146         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68147         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68148         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68149         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68150         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68151         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68152         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68153         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68154         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68155         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68156         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68157         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68159 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68161         * math/tst-CMPLX.c: Include <stdio.h>.
68163 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
68165         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
68166         float.
68167         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68168         * sysdeps/sparc/bits/mathdef.h: Likewise.
68170 2012-01-31  Marek Polacek  <polacek@redhat.com>
68172         * libio/libio.h: Don't define _PARAMS.
68173         * locale/programs/config.h: Don't define PARAMS.
68174         * stdlib/strtol_l.c: Likewise.
68175         (__strtol_l): Remove PARAMS from the prototype.
68177 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
68179         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
68180         names.  Just use the correct names.  Remove unnecessary wrapper
68181         functions.
68182         * malloc/arena.c: Likewise.
68183         * malloc/hooks.c: Likewise.
68185         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
68186         ARENA_TEST says not to.  Simplify test for creation of a new arena.
68187         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
68189 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
68191         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
68192         into tail calls.
68193         (update_get_addr): New function.
68194         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
68195         GET_ADDR_MODULE parameter.
68197 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68199         * crypt/cert.c: Remove __STDC__ conditionals.
68200         * crypt/crypt-entry.c: Likewise.
68201         * crypt/crypt_util.c: Likewise.
68202         * libio/filedoalloc.c: Likewise.
68203         * libio/fileops.c: Likewise.
68204         * libio/genops.c: Likewise.
68205         * libio/iofclose.c: Likewise.
68206         * libio/iofdopen.c: Likewise.
68207         * libio/iofopen.c: Likewise.
68208         * libio/iofopen64.c: Likewise.
68209         * libio/iogetdelim.c: Likewise.
68210         * libio/iopopen.c: Likewise.
68211         * libio/obprintf.c: Likewise.
68212         * libio/oldfileops.c: Likewise.
68213         * libio/oldiofclose.c: Likewise.
68214         * libio/oldiofdopen.c: Likewise.
68215         * libio/oldiofopen.c: Likewise.
68216         * libio/oldiopopen.c: Likewise.
68217         * libio/wfiledoalloc.c: Likewise.
68218         * libio/wgenops.c: Likewise.
68219         * locale/programs/xmalloc.c: Likewise.
68220         * misc/syslog.c: Likewise.
68221         * stdio-common/xbug.c: Likewise.
68222         * string/memchr.c: Likewise.
68223         * string/memcmp.c: Likewise.
68224         * string/memrchr.c: Likewise.
68225         * string/rawmemchr.c: Likewise.
68226         * sysdeps/posix/getcwd.c: Likewise.
68227         * time/strftime_l.c: Likewise.
68229 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68231         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
68232         * config.make.in (config-cflags-sse2avx): Define.
68233         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
68234         Fix typo.
68236 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
68238         * scripts/config.guess: Update from upstream config git repository.
68239         * scripts/config.sub: Likewise.
68241 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
68243         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
68244         (EM_NUM): Update.
68245         (R_TILEPRO_*, R_TILEGX_*): New macros.
68247         * scripts/firstversions.awk: Fix bug in version range handling.
68249         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
68251         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
68253         * include/sys/epoll.h: New file.
68254         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
68255         libc_hidden_def.
68257 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
68259         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
68260         Avoid unnecessary __WORDSIZE == 64 test.
68261         (fmaxf): Use VEX format if possible.
68262         (fmax): Likewise.
68263         (fminf): Likewise.
68264         (fmin): Likewise.
68266         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
68267         * math/math_private.h: Remove libc_fegetround* and
68268         libc_fesetround*.
68269         * sysdeps/i386/configure.in: Check for -msse2avx.
68270         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
68271         also if SSE2AVX is defined.
68272         Remove libc_fegetround* and libc_fesetround*.
68273         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
68274         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
68275         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
68276         of HAS_YMM_USABLE.
68277         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68278         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68279         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68280         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68281         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68283         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
68285 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68287         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
68288         size is not set.
68289         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68291 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
68293         [BZ #13618]
68294         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
68295         relocation.
68296         * Makeconfig (libm): Define.
68297         * elf/Makefile: Add rules to build and run tst-relsort1.
68298         * elf/tst-relsort1.c: New file.
68299         * elf/tst-relsort1mod1.c: New file.
68300         * elf/tst-relsort1mod2.c: New file.
68302 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
68304         * math/s_ldexp.c: Remove __STDC__ conditionals.
68305         * math/s_ldexpf.c: Likewise.
68306         * math/s_ldexpl.c: Likewise.
68307         * math/s_nextafter.c: Likewise.
68308         * math/s_nexttowardf.c: Likewise.
68309         * math/s_significand.c: Likewise.
68310         * math/s_significandf.c: Likewise.
68311         * math/s_significandl.c: Likewise.
68312         * math/w_jnl.c: Likewise.
68313         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68314         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68315         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68316         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68317         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68318         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68319         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
68320         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68321         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68322         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68323         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68324         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68325         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68326         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68327         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68328         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68329         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68330         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68331         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68332         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68333         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68334         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68335         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68336         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68337         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68338         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68339         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68340         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68341         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68342         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68343         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68344         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68345         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68346         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68347         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68348         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68349         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68350         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68351         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68352         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68353         * sysdeps/ieee754/k_standard.c: Likewise.
68354         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68355         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68356         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68357         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68358         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68359         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68360         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68361         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68362         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68363         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68364         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68365         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68366         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68367         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68368         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68369         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68370         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68371         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68372         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68373         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68374         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68375         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68376         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68377         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68378         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68379         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68380         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68381         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68382         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68383         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68384         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68385         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
68386         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68387         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68388         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68389         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68390         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
68391         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68392         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68393         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
68394         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
68395         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68396         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
68397         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
68398         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68399         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
68400         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
68401         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68402         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68403         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
68404         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
68405         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68406         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68407         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68408         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68409         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68410         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
68411         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68412         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68413         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68414         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68415         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68416         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68417         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68418         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68419         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68420         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68421         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68422         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68423         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68424         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68425         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68426         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68427         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68428         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68429         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68430         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68431         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68432         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68433         * sysdeps/ieee754/s_matherr.c: Likewise.
68434         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68435         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68436         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68437         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68439 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68441         * crypt/md5.h: Remove __STDC__ conditionals.
68442         * libio/libioP.h: Likewise.
68443         * locale/programs/config.h: Likewise.
68444         * sysdeps/generic/sysdep.h: Likewise.
68445         * sysdeps/i386/asm-syntax.h: Likewise.
68446         * sysdeps/s390/asm-syntax.h: Likewise.
68447         * sysdeps/unix/sysdep.h: Likewise.
68448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
68449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68451 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68453         * libio/libio.h: Remove __STDC__ conditionals.
68454         * malloc/obstack.h: Likewise.
68455         * math/complex.h: Likewise.
68456         * math/math.h: Likewise.
68457         * sysdeps/generic/_G_config.h: Likewise.
68458         * sysdeps/gnu/_G_config.h: Likewise.
68459         * sysdeps/mach/hurd/_G_config.h: Likewise.
68460         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68461         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68462         * sysdeps/sparc/bits/mathdef.h: Likewise.
68464 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
68466         [BZ #13583]
68467         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
68468         Clean up HAS_* macros.
68469         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
68470         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
68471         possible.
68472         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
68473         HAS_AVX.
68474         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68475         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68476         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68477         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68478         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68480 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
68482         * elf/tst-unique3.cc (gets): Remove declaration.
68483         * elf/tst-unique3lib.cc (gets): Likewise.
68484         * elf/tst-unique3lib2.cc (gets): Likewise.
68485         * elf/tst-unique4.cc (gets): Likewise.
68487 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
68489         * include/stdio.h: Add C++ protection.  Add gets declarations and
68490         definitions.
68491         * debug/tst-chk1.c: Don't declare gets here.
68492         * stdio-common/tst-gets.c: Likewise.
68494 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68496         * posix/glob: Remove directory.
68498 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68500         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
68502 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
68504         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
68505         of the non-standard EPFNOSUPPORT.
68507 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68509         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
68510         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
68511         ANYWHERE set to 1 only on KERN_NO_SPACE error.
68513 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
68515         * wcsmbs/uchar.h: Test __STDC_VERSION__.
68517 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
68519         * nscd/aicache.c (addhstaiX): Do not cache negative results of
68520         transient errors.
68521         * nscd/grpcache.c (cache_addgr): Likewise.
68522         * nscd/hstcache.c (cache_addhst): Likewise.
68523         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68524         * nscd/pwdcache.c (cache_addpw): Likewise.
68525         * nscd/servicescache.c (cache_addserv): Likewise.
68527 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
68529         * malloc/malloc.c: Various cleanups.
68530         * malloc/hooks.c: Likewise.
68532         * stdlib/Makefile (tests): Add bug-fmtmsg1.
68533         * stdlib/bug-fmtmsg1.c: New file.
68535         * stdlib/fmtmsg.c (init): Add missing unlock.
68536         Patch by Peng Haitao <penght@cn.fujitsu.com>.
68538 2012-01-12  Marek Polacek  <polacek@redhat.com>
68540         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
68541         and _GNU_SOURCE.
68543 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68545         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
68546         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
68547         macro to ensure uniqueness of label name.
68548         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68549         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68551 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
68553         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
68555         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
68556         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68557         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68558         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
68560 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
68562         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
68564         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
68565         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68566         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68568         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
68570         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
68571         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68572         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68573         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
68575         * math/bits/math-finite.h: Add ldexp support.
68577 2012-01-10  Marek Polacek  <polacek@redhat.com>
68579         * locale/programs/localedef.h (show_archive_content): Add noreturn
68580         attribute.
68582 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
68584         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
68586 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68588         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
68590         * io/Makefile (headers): Add bits/poll2.h.
68592 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
68594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
68595         typo #include statement.
68597 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68599         * include/sys/cdefs.h: Define __attribute_alloc_size.
68600         * catgets/gencat.c: Add alloc_size attribute and apply consistently
68601         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
68602         * elf/pldd.c: Likewise.
68603         * iconv/iconv_charmap.c: Likewise.
68604         * iconv/iconvconfig.c: Likewise.
68605         * iconv/strtab.c: Likewise.
68606         * locale/programs/locale.c: Likewise.
68607         * locale/programs/localedef.h: Likewise.
68608         * locale/programs/simple-hash.c: Likewise.
68609         * nscd/nscd.h: Likewise.
68610         * nss/makedb.c: Likewise.
68611         * sysdeps/generic/ldconfig.h: Likewise.
68612         * locale/programs/localedef.c: Remove xmalloc prototype.
68613         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
68615 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68617         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
68618         appropriate.
68620 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68622         * math/Makefile (tests): Add tst-CMPLX.
68623         * math/tst-CMPLX.c: New file.
68625         * math/complex.h (CMPLXL): Fix typo.
68627         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
68628         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
68629         GLIBC_2.16.
68630         * debug/tst-chk1.c: Add poll and ppoll tests.
68631         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
68632         * include/sys/poll.h: Add hidden proto for ppoll.
68633         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
68634         * sysdeps/mach/hurd/ppoll.c: Likewise.
68635         * io/ppoll.c: Likewise.
68636         * debug/poll_chk.c: New file.
68637         * debug/ppoll_chk.c: New file.
68638         * include/bits/poll2.h: New file.
68639         * io/bits/poll2.h: New file.
68641         [BZ #1350]
68642         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
68644         * configure.in: static is always set to yes.  Remove.
68645         * config.make.in: Don't set build-static.
68646         * Makeconfig: Remove use of build-static.
68647         * dlfcn/Makefile: Likewise.
68648         * elf/Makefile: Likewise.
68649         * math/Makefile: Likewise.
68650         * misc/Makefile: Likewise.
68651         * nptl/Makefile: Likewise.
68652         * sysdeps/mach/hurd/Makefile: Likewise.
68654         * configure.in: PWD_P is not used anymore.
68655         * config.make.in: Remove PWD_P entry.
68657         * configure.in: Remove last remnants of RANLIB.
68658         No need to check for signed size_t anymore.
68659         Don't set libc_commonpagesize and libc_relro_required here for Alpha
68660         and IA-64.
68661         Remove __builtin_expect test because we require at least gcc 3.4.
68662         * aclocal.m4: Likewise.
68664         * wcsmbs/mbrtoc16.c: Implement using towc function.
68665         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
68666         * wcsmbs/wcsmbsload.c: Likewise.
68667         * iconv/gconv_simple.c: Likewise.
68668         * iconv/gconv_int.h: Likewise.
68669         * iconv/gconv_builtin.h: Likewise.
68670         * iconv/iconv_prog.c: Remove CHAR16 handling.
68672         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
68674         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
68676         * configure.in: Remove --with-elf and --enable-bounded options.
68677         Dont set base_machine for ia64.  More non-ELF conditions removed.
68678         Remove testing and setting of leading underscore information.
68679         * config.make.in (build-bounded): Set to no.
68680         * config.h.in: Remove NO_UNDERSCORES entry.
68681         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
68682         them.
68683         * csu/start.c: Remove !NO_UNDERSCORE code.
68684         * locale/localeinfo.h: Likewise.
68685         * sysdeps/generic/machine-gmon.h: Likewise.
68686         * sysdeps/generic/sysdep.h: Likewise.
68687         * sysdeps/i386/sysdep.h: Likewise.
68688         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68689         * sysdeps/mach/sysdep.h: Likewise.
68690         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68691         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68692         * sysdeps/sh/sysdep.h: Likewise.
68693         * sysdeps/sparc/sparc32/alloca.S: Likewise.
68694         * sysdeps/unix/i386/sysdep.S: Likewise.
68695         * sysdeps/unix/sparc/start.c: Likewise.
68696         * sysdeps/unix/sparc/sysdep.S: Likewise.
68697         * sysdeps/unix/sparc/sysdep.h: Likewise.
68698         * sysdeps/unix/start.c: Likewise.
68699         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68700         * sysdeps/x86_64/sysdep.h: Likewise.
68702 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
68704         [BZ #13553]
68705         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
68706         for non-gcc.
68707         * argp/argp-fmtstream.h: Use const instead __const.
68708         * argp/argp.h: Likewise.
68709         * assert/assert.h: Likewise.
68710         * bits/fenv.h: Likewise.
68711         * bits/sched.h: Likewise.
68712         * bits/sigset.h: Likewise.
68713         * bits/sigthread.h: Likewise.
68714         * catgets/nl_types.h: Likewise.
68715         * conform/data/pthread.h-data: Likewise.
68716         * crypt/crypt-private.h: Likewise.
68717         * crypt/crypt.h: Likewise.
68718         * crypt/crypt_util.c: Likewise.
68719         * ctype/ctype.h: Likewise.
68720         * debug/execinfo.h: Likewise.
68721         * debug/mbsnrtowcs_chk.c: Likewise.
68722         * debug/mbsrtowcs_chk.c: Likewise.
68723         * debug/wcsnrtombs_chk.c: Likewise.
68724         * debug/wcsrtombs_chk.c: Likewise.
68725         * debug/wcstombs_chk.c: Likewise.
68726         * dirent/dirent.h: Likewise.
68727         * dlfcn/dlfcn.h: Likewise.
68728         * elf/neededtest4.c: Likewise.
68729         * grp/grp.h: Likewise.
68730         * gshadow/gshadow.h: Likewise.
68731         * iconv/gconv.h: Likewise.
68732         * iconv/gconv_int.h: Likewise.
68733         * iconv/gconv_simple.c: Likewise.
68734         * iconv/iconv.h: Likewise.
68735         * iconv/loop.c: Likewise.
68736         * iconv/skeleton.c: Likewise.
68737         * include/aio.h: Likewise.
68738         * include/aliases.h: Likewise.
68739         * include/argz.h: Likewise.
68740         * include/arpa/inet.h: Likewise.
68741         * include/assert.h: Likewise.
68742         * include/dirent.h: Likewise.
68743         * include/dlfcn.h: Likewise.
68744         * include/execinfo.h: Likewise.
68745         * include/fcntl.h: Likewise.
68746         * include/fenv.h: Likewise.
68747         * include/glob.h: Likewise.
68748         * include/grp.h: Likewise.
68749         * include/libintl.h: Likewise.
68750         * include/mntent.h: Likewise.
68751         * include/netdb.h: Likewise.
68752         * include/pwd.h: Likewise.
68753         * include/rpc/netdb.h: Likewise.
68754         * include/sched.h: Likewise.
68755         * include/search.h: Likewise.
68756         * include/shadow.h: Likewise.
68757         * include/signal.h: Likewise.
68758         * include/stdio.h: Likewise.
68759         * include/stdlib.h: Likewise.
68760         * include/string.h: Likewise.
68761         * include/sys/socket.h: Likewise.
68762         * include/sys/stat.h: Likewise.
68763         * include/sys/statfs.h: Likewise.
68764         * include/sys/statvfs.h: Likewise.
68765         * include/sys/syslog.h: Likewise.
68766         * include/sys/time.h: Likewise.
68767         * include/sys/uio.h: Likewise.
68768         * include/time.h: Likewise.
68769         * include/unistd.h: Likewise.
68770         * include/utmp.h: Likewise.
68771         * include/wchar.h: Likewise.
68772         * include/wctype.h: Likewise.
68773         * inet/aliases.h: Likewise.
68774         * inet/arpa/inet.h: Likewise.
68775         * inet/netinet/ether.h: Likewise.
68776         * inet/netinet/in.h: Likewise.
68777         * intl/libintl.h: Likewise.
68778         * io/bits/fcntl2.h: Likewise.
68779         * io/fcntl.h: Likewise.
68780         * io/ftw.h: Likewise.
68781         * io/sys/poll.h: Likewise.
68782         * io/sys/stat.h: Likewise.
68783         * io/sys/statfs.h: Likewise.
68784         * io/sys/statvfs.h: Likewise.
68785         * io/utime.h: Likewise.
68786         * libio/bits/stdio.h: Likewise.
68787         * libio/bits/stdio2.h: Likewise.
68788         * libio/libio.h: Likewise.
68789         * libio/libioP.h: Likewise.
68790         * libio/stdio.h: Likewise.
68791         * locale/lc-ctype.c: Likewise.
68792         * locale/locale.h: Likewise.
68793         * login/utmp.h: Likewise.
68794         * malloc/arena.c: Likewise.
68795         * malloc/malloc.c: Likewise.
68796         * malloc/malloc.h: Likewise.
68797         * malloc/mcheck.c: Likewise.
68798         * malloc/mtrace.c: Likewise.
68799         * math/bits/mathcalls.h: Likewise.
68800         * math/fenv.h: Likewise.
68801         * math/math_private.h: Likewise.
68802         * misc/bits/error.h: Likewise.
68803         * misc/bits/syslog.h: Likewise.
68804         * misc/err.h: Likewise.
68805         * misc/error.h: Likewise.
68806         * misc/fstab.h: Likewise.
68807         * misc/mntent.h: Likewise.
68808         * misc/regexp.h: Likewise.
68809         * misc/search.h: Likewise.
68810         * misc/sgtty.h: Likewise.
68811         * misc/sys/mman.h: Likewise.
68812         * misc/sys/syslog.h: Likewise.
68813         * misc/sys/uio.h: Likewise.
68814         * misc/sys/xattr.h: Likewise.
68815         * misc/ttyent.h: Likewise.
68816         * nis/rpcsvc/ypclnt.h: Likewise.
68817         * nss/nss.h: Likewise.
68818         * posix/bits/unistd.h: Likewise.
68819         * posix/fnmatch.h: Likewise.
68820         * posix/glob.h: Likewise.
68821         * posix/sched.h: Likewise.
68822         * posix/spawn.h: Likewise.
68823         * posix/sys/wait.h: Likewise.
68824         * posix/unistd.h: Likewise.
68825         * posix/wordexp.h: Likewise.
68826         * pwd/pwd.h: Likewise.
68827         * resolv/netdb.h: Likewise.
68828         * resource/sys/resource.h: Likewise.
68829         * rt/aio.h: Likewise.
68830         * rt/bits/mqueue2.h: Likewise.
68831         * rt/mqueue.h: Likewise.
68832         * shadow/shadow.h: Likewise.
68833         * signal/signal.h: Likewise.
68834         * socket/send.c: Likewise.
68835         * socket/sendto.c: Likewise.
68836         * socket/sys/socket.h: Likewise.
68837         * stdio-common/printf.h: Likewise.
68838         * stdlib/bits/stdlib.h: Likewise.
68839         * stdlib/fmtmsg.h: Likewise.
68840         * stdlib/monetary.h: Likewise.
68841         * stdlib/stdlib.h: Likewise.
68842         * stdlib/ucontext.h: Likewise.
68843         * streams/stropts.h: Likewise.
68844         * string/argz.h: Likewise.
68845         * string/bits/string2.h: Likewise.
68846         * string/string.h: Likewise.
68847         * string/strings.h: Likewise.
68848         * sunrpc/rpc/auth.h: Likewise.
68849         * sunrpc/rpc/auth_des.h: Likewise.
68850         * sunrpc/rpc/clnt.h: Likewise.
68851         * sunrpc/rpc/netdb.h: Likewise.
68852         * sunrpc/rpc/pmap_clnt.h: Likewise.
68853         * sunrpc/rpc/xdr.h: Likewise.
68854         * sysdeps/generic/inttypes.h: Likewise.
68855         * sysdeps/generic/net/if.h: Likewise.
68856         * sysdeps/generic/sys/swap.h: Likewise.
68857         * sysdeps/gnu/net/if.h: Likewise.
68858         * sysdeps/gnu/utmpx.h: Likewise.
68859         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
68860         * sysdeps/i386/i486/bits/string.h: Likewise.
68861         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
68862         * sysdeps/s390/bits/string.h: Likewise.
68863         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
68864         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
68865         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
68866         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
68867         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
68868         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
68869         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
68870         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
68871         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
68872         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
68873         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
68874         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
68875         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
68876         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
68877         * sysdeps/unix/sysv/linux/readv.c: Likewise.
68878         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
68879         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
68880         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68881         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
68882         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
68883         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68884         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
68885         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
68886         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
68887         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
68888         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
68889         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
68890         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68891         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
68892         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
68893         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
68894         * sysvipc/sys/ipc.h: Likewise.
68895         * sysvipc/sys/msg.h: Likewise.
68896         * sysvipc/sys/sem.h: Likewise.
68897         * sysvipc/sys/shm.h: Likewise.
68898         * termios/termios.h: Likewise.
68899         * time/sys/time.h: Likewise.
68900         * time/time.h: Likewise.
68901         * wcsmbs/bits/wchar2.h: Likewise.
68902         * wcsmbs/uchar.h: Likewise.
68903         * wcsmbs/wchar.h: Likewise.
68904         * wctype/wctype.h: Likewise.
68906         [BZ #13551]
68907         * Makeconfig: Remove all but ELF support including AIX support.
68908         * Makerules: Likewise.
68909         * config.h.in: Likewise.
68910         * config.make.in: Likewise.
68911         * configure: Likewise.
68912         * configure.in: Likewise.
68913         * csu/Makefile: Likewise.
68914         * csu/version.c: Likewise.
68915         * debug/Makefile: Likewise.
68916         * dlfcn/Makefile: Likewise.
68917         * elf/Makefile: Likewise.
68918         * extra-lib.mk: Likewise.
68919         * iconv/Makefile: Likewise.
68920         * include/libc-symbols.h: Likewise.
68921         * include/shlib-compat.h: Likewise.
68922         * resolv/Makefile: Likewise.
68923         * resolv/res_libc.c: Likewise.
68924         * rt/Makefile: Likewise.
68925         * sysdeps/i386/asm-syntax.h: Likewise.
68926         * sysdeps/i386/sysdep.h: Likewise.
68927         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68928         * sysdeps/mach/sysdep.h: Likewise.
68929         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
68930         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
68931         * sysdeps/s390/asm-syntax.h: Likewise.
68932         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68933         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68934         * sysdeps/sh/sysdep.h: Likewise.
68935         * sysdeps/unix/sparc/sysdep.h: Likewise.
68936         * sysdeps/wordsize-32/divdi3.c: Likewise.
68937         * sysdeps/x86_64/sysdep.h: Likewise.
68939         * argp/Versions: Remove _argp_unlock_xxx.
68941         [BZ #13559]
68942         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
68943         * abilist/libBrokenLocale.abilist: Likewise.
68944         * abilist/libanl.abilist: Likewise.
68945         * abilist/libc.abilist: Likewise.
68946         * abilist/libcrypt.abilist: Likewise.
68947         * abilist/libdl.abilist: Likewise.
68948         * abilist/libm.abilist: Likewise.
68949         * abilist/libnsl.abilist: Likewise.
68950         * abilist/libpthread.abilist: Likewise.
68951         * abilist/libresolv.abilist: Likewise.
68952         * abilist/librt.abilist: Likewise.
68953         * abilist/libthread_db.abilist: Likewise.
68954         * abilist/libutil.abilist: Likewise.
68955         * abilist/libnss_db.abilist: New file.
68957         * scripts/abilist.awk: Add support for indirect functions.
68959         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
68961         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
68963         * shlib-versions: Remove entries for ports architectures.
68965         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
68966         files in ports.
68967         * elf/stackguard-macros.h: Remove support for IA-64.
68968         * elf/tst-auditmod1.c: Likewise.
68969         * sysdeps/generic/ldsodefs.h: Likewise.
68971         * sysdeps/unix/sysv/linux/configure.in: Ports should define
68972         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
68973         configure files.
68975         [BZ #13552]
68976         * configure.in: Remove --enable-omitfp support.
68977         * FAQ.in: Adjust.
68978         * config.make.in: Likewise.
68979         * Makeconfig: Likewise.
68980         * manual/install.texi: Likewise.
68982         In case anyone cares, the IA-64 architecture could move to ports.
68983         * sysdeps/ia64/*: Removed.
68984         * sysdeps/unix/sysv/linux/ia64/*: Removed.
68985         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
68987         [BZ #13555]
68988         * configure.in: Remove entries for unsupported architectures.
68990         [BZ #13533]
68991         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
68992         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
68993         routines.
68994         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
68995         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
68996         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
68997         fall back to using wcrtomb.
68998         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
68999         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
69000         renaming.
69001         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
69002         * wcsmbs/tst-c16c32-1.c: New file.
69004         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
69005         local variable.
69007         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
69009         * elf/tst-unique3.cc: Add explicit declaration of gets.
69010         * elf/tst-unique3lib.cc: Likewise.
69011         * elf/tst-unique3lib2.cc: Likewise.
69012         * elf/tst-unique4.cc: Likewise.
69014         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
69016 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
69018         [BZ #13566]
69019         * assert/assert.h (static_assert): Don't define for C++.
69020         * libio/stdio.h (gets): Do declare for C++ <= C++11.
69021         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
69023 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
69025         * iconv/loop.c (single loop): Fix assertion in storing of
69026         remaining bytes.
69028         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
69030 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
69032         * posix/getconf.c: Update copyright year.
69033         * nss/getent.c: Likewise.
69034         * nss/makedb.c: Likewise.
69035         * iconv/iconvconfig.c: Likewise.
69036         * iconv/iconv_prog.c: Likewise.
69037         * elf/ldconfig.c: Likewise.
69038         * elf/pldd.c: Likewise.
69039         * elf/sotruss.ksh: Likewise.
69040         * catgets/gencat.c: Likewise.
69041         * csu/version.c: Likewise.
69042         * elf/ldd.bash.in: Likewise.
69043         * elf/sprof.c (print_version): Likewise.
69044         * locale/programs/locale.c: Likewise.
69045         * locale/programs/localedef.c: Likewise.
69046         * login/programs/pt_chown.c: Likewise.
69047         * nscd/nscd.c (print_version): Likewise.
69048         * debug/xtrace.sh: Likewise.
69049         * malloc/memusage.sh: Likewise.
69050         * malloc/mtrace.pl: Likewise.
69051         * debug/catchsegv.sh: Likewise.
69053 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
69055         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
69056         pure attribute.
69058 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
69060         [BZ #13533]
69061         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
69062         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
69063         transformations.
69064         * iconv/gconv_int.h: Likewise.
69065         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
69066         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
69067         from libc for GLIBC_2.16.
69068         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
69069         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
69070         * wcsmbs/uchar.h: Really define mbstate_t.
69071         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
69072         * wcsmbs/c16rtomb.c: New file.
69073         * wcsmbs/mbrtoc16.c: New file.
69074         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
69075         for C/POSIX locale.
69076         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
69077         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
69079         * wcsmbs/wchar.h: Add missing __restrict.
69081 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69083         [BZ #13532]
69084         * time/Makefile (routines): Add timespec_get.
69085         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
69086         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
69087         timespec for ISO C11.
69088         * time/timespec_get.c: New file.
69089         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
69090         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
69092         [BZ #13531]
69093         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
69094         * stdlib/stdlib.h: Declare aligned_alloc.
69095         * Versions.def: Add GLIBC_2.16 for libc.
69096         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
69098         [BZ 13527]
69099         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
69100         ISO C11.
69102         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
69103         code.
69105         [BZ #13528]
69106         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
69108         [BZ #13529]
69109         * assert/assert.h (static_assert): Define.
69111         * version.h: Update for 2.16 development version.
69113         [BZ #13526]
69114         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
69115         _ISOC11_SOURCE.
69117         * version.h (RELEASE): Bump for 2.15 release.
69118         * include/features.h (__GLIBC_MINOR__): Bump to 15.
69120         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
69121         Patch by Marek Polacek <mpolacek@redhat.com>.
69123         * bits/byteswap.h: Protect long long constants with __extension__.
69124         * sysdeps/i386/bits/byteswap.h: Likewise.
69125         * sysdeps/ia64/bits/byteswap.h: Likewise.
69126         * sysdeps/s390/bits/byteswap.h: Likewise.
69127         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69129 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69131         [BZ #13540]
69132         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
69133         destination buffer.
69134         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
69136 2011-12-23  Marek Polacek  <polacek@redhat.com>
69138         * elf/dl-addr.c (determine_info): Add inline keyword.
69139         * elf/tst-auditmod4b.c (check_avx): Likewise.
69140         * elf/tst-auditmod6b.c (check_avx): Likewise.
69141         * elf/tst-auditmod6c.c (check_avx): Likewise.
69142         * elf/tst-auditmod7b.c (check_avx): Likewise.
69144 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69146         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
69147         !__SSE_MATH__.
69149 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69151         [BZ #13540]
69152         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
69153         processing for last bytes.
69155 2011-08-06  Bruno Haible  <bruno@clisp.org>
69157         [BZ #13061]
69158         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
69159         U+0385, not to U+1FEE.
69161         [BZ #13062]
69162         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
69163         entry for U+00A5 U+0301.
69165 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69167         [BZ #13166]
69168         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
69169         buffer for the output is too small.
69171         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
69172         optimization.
69174         [BZ #13185]
69175         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
69176         SSE flags if possible.
69178 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69180         [BZ #13540]
69181         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
69182         processing for last bytes.
69184 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
69186         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
69187         (syscall-list-default-options, syscall-list-default-condition)
69188         (syscall-list-includes): Define.
69189         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
69190         list of ABIs and options and #if conditions for each ABI.  Do not
69191         handle common syscalls between ABIs specially.
69192         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
69193         Remove.
69194         (syscall-list-variants, syscall-list-32bit-options)
69195         (syscall-list-32bit-condition, syscall-list-64bit-options)
69196         (syscall-list-64bit-condition): Define.
69197         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
69198         (syscall-list-variants, syscall-list-32bit-options)
69199         (syscall-list-32bit-condition, syscall-list-64bit-options)
69200         (syscall-list-64bit-condition): Define.
69201         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
69202         Remove.
69203         (syscall-list-variants, syscall-list-32bit-options)
69204         (syscall-list-32bit-condition, syscall-list-64bit-options)
69205         (syscall-list-64bit-condition): Define.
69206         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
69207         Remove.
69208         (syscall-list-variants, syscall-list-32bit-options)
69209         (syscall-list-32bit-condition, syscall-list-64bit-options)
69210         (syscall-list-64bit-condition): Define.
69212 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69214         * locale/iso-639.def: Add brx entry.
69216         [BZ #13328]
69217         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
69218         Proposed by Mariusz_Cukr <marcukr@op.pl>.
69220         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
69221         __feraiseexcept_renamed.
69223 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69225         [BZ #13538]
69226         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
69227         EPOLLET with unsigned values.
69228         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69229         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69231         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
69232         to large cancellation.
69233         * math/s_cacoshf.c: Likewise.
69234         * math/s_cacoshl.c: Likewise.
69236 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
69238         [BZ #13305]
69239         [BZ #12786]
69240         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
69241         * math/s_cacoshf.c: Likewise.
69242         * math/s_cacoshl.c: Likewise.
69244 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69246         [BZ #13439]
69247         * iconv/gconv.h: Define __GCONV_SWAP.
69248         * iconvdata/unicode.c: The swap bit must be stored in __flags.
69249         * iconvdata/utf-16.c: Likewise.
69250         * iconvdata/utf-32.c: Likewise.
69252 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
69254         [BZ #13524]
69255         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
69256         numerator after shifting it by one limb.
69258 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
69260         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
69261         under [__USE_EXTERN_INLINES].
69263 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69265         [BZ #13446]
69266         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
69268 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69270         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
69271         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
69272         optimized code.
69273         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
69274         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
69275         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
69276         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
69277         for strncasecmp/strncasecmp_l compilation.
69278         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
69279         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
69281 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
69283         [BZ #13484]
69284         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
69285         of __asm__.
69287 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69289         [BZ #13506]
69290         * time/tzfile.c (__tzfile_read): Check values from file header.
69292 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69294         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
69295         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
69296         * powerpc/powerpc32/dl-start.S: Likewise.
69297         * powerpc/powerpc32/elf/start.S: Likewise.
69298         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
69299         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
69300         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
69301         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
69302         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
69303         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
69304         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
69305         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69306         * powerpc/powerpc32/fpu/s_round.S: Likewise.
69307         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
69308         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
69309         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
69310         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
69311         * powerpc/powerpc32/memset.S: Likewise.
69312         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
69313         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69314         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69315         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69316         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69317         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
69318         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
69319         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
69320         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
69321         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
69322         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
69323         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69324         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69326 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69328         * math/libm-test.inc: Added more nearbyint tests.
69329         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
69330         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
69331         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
69332         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
69334 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
69336         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
69337         FD_CLOEXEC.
69339 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69341         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
69342         Add wcscpy-ssse3 wcscpy-c.
69343         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
69344         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
69345         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
69346         * sysdeps/x86_64/wcschr.S: New file.
69347         * sysdeps/x86_64/wcsrchr.S: New file.
69348         * string/test-strcmp.c: Remove checking of wcscmp function for
69349         wrong alignments.
69350         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
69351         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
69352         wcsrchr-sse2 wcsrchr-c.
69353         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
69354         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
69355         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
69356         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
69357         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
69358         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
69359         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
69360         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
69361         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
69362         * wcsmbc/wcschr.c (WCSCHR): New macro.
69364 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69366         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
69367         * wcsmbs/test-wcsrchr.c: New file.
69368         * string/test-strrchr.c: Add wcsrchr support.
69369         (WIDE): New macro.
69370         * wcsmbs/test-wcscpy.c: New file.
69371         * string/test-strcpy.c: Add wcscpy support.
69372         (WIDE): New macro.
69374 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
69376         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
69377         the inner loop.
69379 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
69381         [BZ #13472]
69382         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
69384 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
69386         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
69387         Minor optimizations.
69389         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
69390         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
69391         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
69393 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
69395         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
69396         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
69397         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
69398         for gcc to avoid warnings.
69399         * inet/Makefile (tests): Add tst-checks.
69400         * inet/tst-checks.c: New file.
69402         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
69403         warning.
69405         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
69406         __wmemcmp_sse2.
69408         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
69409         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
69411         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
69413 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
69415         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
69416         problem.
69418         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
69420 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
69422         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
69423         conditional on GCC version.
69424         (__arch_compare_and_exchange_val_8_acq)
69425         (__arch_compare_and_exchange_val_16_acq)
69426         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
69427         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
69428         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
69430 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
69432         * sysdeps/sh/backtrace.c: New file.
69434 2011-12-02  Andreas Schwab  <schwab@redhat.com>
69436         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
69437         parenthesis.
69439 2011-12-01  Andreas Schwab  <schwab@redhat.com>
69441         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
69442         falling back to utime.
69444 2011-11-30  Andreas Schwab  <schwab@redhat.com>
69446         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
69447         expectations for float.
69449 2011-11-29  Andreas Schwab  <schwab@redhat.com>
69451         * locale/weight.h (findidx): Add parameter len.
69452         * locale/weightwc.h (findidx): Likewise.
69453         * posix/fnmatch_loop.c (FCT): Adjust caller.
69454         * posix/regcomp.c (build_equiv_class): Likewise.
69455         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
69456         * posix/regexec.c (check_node_accept_bytes): Likewise.
69457         * string/strcoll_l.c (STRCOLL): Likewise.
69458         * string/strxfrm_l.c (STRXFRM): Likewise.
69460 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
69462         * Makefile.in: Remove CVSOPT handling.
69463         * configure.in: Remove use of AC_REVISION.
69464         * iconvdata/Makefile (distribute): No need to filter out CVS.
69465         * scripts/list-sources.sh: Remove CVS, subversion and monotone
69466         handling.
69468 2011-11-16  Andreas Schwab  <schwab@redhat.com>
69470         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
69471         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
69472         [USE_AS_STRNCASECMP_L]: Likewise.
69473         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
69474         NO_TLS_DIRECT_SEG_REFS.
69475         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
69476         Fix argument offsets for non-PIC.
69477         [USE_AS_STRNCASECMP_L]: Likewise.
69478         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
69479         NO_TLS_DIRECT_SEG_REFS.
69481 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69483         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
69484         O_CLOEXEC.
69485         * locale/loadlocale.c (_nl_load_locale): Likewise.
69487 2011-11-15  Andreas Schwab  <schwab@redhat.com>
69489         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
69490         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
69491         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
69492         (SYSCALL_GETTIME): Set errno on error.
69494         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
69495         count references to noai6ai_cached.
69497 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69499         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
69501         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
69502         FD_CLOEXEC for /proc/self/maps.
69504         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
69505         FD_CLOEXEC for /proc/meminfo.
69507         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
69508         gai.conf.
69510         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
69511         FD_CLOEXEC for given file.
69513         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
69515         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
69516         FD_CLOEXEC for /etc/hosts.
69517         (_gethtent): Likewise.
69519         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
69521         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
69522         cancellation and set FD_CLOEXEC for /etc/netgroup.
69524         * nss/nss_files/files-key.c (search): Don't allow cancellation when
69525         reading /etc/publickey.
69527         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
69528         allow cancellation when reading /etc/group.
69530         * nss/nss_files/files-alias.c (internal_setent): Don't allow
69531         cancellation.
69532         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
69534         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
69535         when using data file.
69537         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
69539         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
69540         (write_nis_obj): Use "c" and "e" in fopen.
69542         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
69544         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
69546         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
69548         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
69550         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
69551         locale.alias.
69553         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
69555         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
69557         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
69559         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
69560         file parsing and set FD_CLOEXEC.
69562 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69564         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
69566 2011-11-14  Andreas Schwab  <schwab@redhat.com>
69568         * malloc/arena.c (arena_get2): Don't call reused_arena when
69569         _int_new_arena failed.
69571 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69573         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
69574         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
69575         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
69576         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69577         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69578         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
69579         to compile strcasecmp and strncasecmp.
69580         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
69581         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
69583         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
69585 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
69587         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
69588         locale-defines.sym to gen-as-const-headers.
69589         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
69590         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
69591         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
69592         to compile strcasecmp and strncasecmp.
69593         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
69594         strcasecmp_l and strncasecmp_l.
69595         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
69596         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
69597         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
69598         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
69599         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
69600         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
69601         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
69602         * sysdeps/i386/i686/multiarch/strncase.S: New file.
69603         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
69604         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
69605         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
69607 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
69609         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
69610         result of SYSDEP_GETTIME_CPU to retval.
69611         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
69612         parameter list to macro.  Remove trailing semicolon.  Adjust users.
69614         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
69615         variable.
69617         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
69618         mantissa words.
69619         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
69621         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
69622         from unused variable.
69624         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
69625         DWARF definitions.
69626         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
69627         for assembling.
69629         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
69630         over namespaces.
69632         * sunrpc/rpc_prot.c (rejected): Fix case value.
69634         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
69635         unsigned long long int to avoid warnings in shift.
69637         * posix/regex_internal.c (re_string_reconstruct): Actually use result
69638         of use of trans.
69639         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
69640         variable tmp.
69642         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
69643         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
69644         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
69646         * nis/nis_table.c (nis_list): Use variable of correct type for
69647         result of __follow_path call.
69649 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69651         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
69652         of math functions ceil, trunc, floor, round, and sqrt, when
69653         avaliable on the platform.
69654         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
69655         name clash.
69656         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
69657         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
69658         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69660 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
69662         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
69663         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69665 2011-11-11  Roland McGrath  <roland@hack.frob.com>
69667         * include/unistd.h: Fix __readlink return type.
69668         Reported by Chris Metcalf <cmetcalf@tilera.com>.
69670 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
69672         * stdlib/ucontext.h: Undo last change for makecontext.
69674 2011-11-11  Andreas Schwab  <schwab@redhat.com>
69676         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
69678         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
69679         * setjmp/setjmp.h: Mark functions as non-leaf.
69680         * setjmp/bits/setjmp2.h: Likewise.
69681         * stdlib/ucontext.h: Likewise.
69683 2011-11-10  Andreas Schwab  <schwab@redhat.com>
69685         * malloc/arena.c (_int_new_arena): Don't increment narenas.
69686         (reused_arena): Don't check arena limit.
69687         (arena_get2): Atomically check arena limit.
69689 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
69691         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
69692         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
69694         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
69695         instructions.
69697 2011-11-07  Andreas Schwab  <schwab@redhat.com>
69699         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
69700         handler when locking.
69702         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
69703         Fix size of allocated buffer.
69705 2011-11-04  Andreas Schwab  <schwab@redhat.com>
69707         [BZ #10103]
69708         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
69709         declarations for long double functions.
69710         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
69712         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
69714 2011-11-03  Andreas Schwab  <schwab@redhat.com>
69716         * nscd/nscd.c (main): Don't start AVC thread until credentials are
69717         installed.
69719         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
69720         is disabled.
69722 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69724         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
69726 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69728         * include/alloca.h (stackinfo_alloca_round): Define.
69729         (extend_alloca): Use it.
69730         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
69731         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
69732         here.
69734         * scripts/check-local-headers.sh: Ignore libaudit.h.
69736         * nscd/Makefile (extra-objs): Make recursively expanded.
69738 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
69740         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
69741         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
69743         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
69744         * posix/tst-rfc3484-2.c: Likewise.
69745         * posix/tst-rfc3484-3.c: Likewise.
69747         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69748         process_vm_writev.
69749         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
69750         process_vm_writev.
69751         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
69752         process_vm_writev from libc using GLIBC_2.15 version.
69754         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
69756 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
69758         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
69759         stack usage.
69761 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
69763         [BZ #13367]
69764         * nss/getent.c (initgroups_keys): Show error message in case no group
69765         names are given.
69767         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
69768         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
69769         __bump_nl_timestamp.
69770         * nscd/connections (nscd_init): When host database is served open
69771         netlink socket and request notification about configuration changes.
69772         (main_loop_poll): Track netlink file descriptor and bump timestamp
69773         in case data becomes available.
69774         (main_loop_epoll): Likewise.
69775         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
69776         (database_pers_head): Add extra_data fileds.
69777         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
69778         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
69779         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
69780         Adjust caller.
69781         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
69782         in6ai data, call __free_in6ai.
69783         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
69784         Add -DHAVE_NETLINK.
69785         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
69786         interface information.  Reuse previous data if netlink timestamp
69787         is not changed.
69788         (__bump_nl_timestamp): New function.
69789         (__free_in6ai): New function.
69791 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
69793         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
69794         close_not_cancel_no_status here.
69795         (__check_pf): Reorganize code a bit to not call close twice if OOM.
69797 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69799         [BZ #13276]
69800         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
69801         return value.
69803         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
69804         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
69805         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
69807 2011-07-03  Andreas Jaeger  <aj@suse.de>
69809         [BZ #10709]
69810         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
69811         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
69812         * math/libm-test.inc (sin_test): Add test case.
69814 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69816         [BZ #13337]
69817         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
69818         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69820         * elf/chroot_canon.c (chroot_canon): Cleanups.
69822         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
69824         [BZ #13335]
69825         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
69826         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69828         * string/test-strchr.c: Make usable for strchrnul testing.
69829         * string/test-strchrnul.c: New file.
69830         * string/Makefile (strop-tests): Add strchrnul.
69832         * po/it.po: Update from translation team.
69833         * po/es.po: Likewise.
69835 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
69837         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
69838         the three constants needed as parameters.  Drop the others.
69839         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
69840         __m128i_strloadu_tolower.
69841         Create and initialize variable zero and use it in all the places
69842         where _mm_setzero_si128 was used.
69844         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
69845         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
69846         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
69847         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
69848         anymore.
69849         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
69850         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
69851         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
69852         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
69853         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
69854         __mpranred, __mptan.
69855         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
69856         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
69857         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
69858         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
69859         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
69860         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
69861         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
69862         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
69863         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
69865 2011-10-28  Andreas Schwab  <schwab@redhat.com>
69867         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
69868         redefine if SHARED.
69869         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
69871         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
69872         wide char related routines to wcsmbs subdir.
69874 2011-10-27  Andreas Schwab  <schwab@redhat.com>
69876         [BZ #13344]
69877         * misc/sys/cdefs.h (__THROWNL): Define.
69878         * posix/unistd.h: Use __THREADNL instead of __THREAD
69879         for memory synchronization functions.
69881 2011-10-26  Roland McGrath  <roland@hack.frob.com>
69883         [BZ #13349]
69884         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
69885         doesn't exist.
69886         * manual/stdio.texi (Obstack Streams): Node removed.
69888 2011-10-26  Andreas Schwab  <schwab@redhat.com>
69890         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
69891         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69892         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69894         * math/math_private.h (math_force_eval): Allow non-addressable
69895         arguments.
69896         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
69898 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69900         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
69901         file is not needed.
69903         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
69904         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
69905         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69906         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69907         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69908         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69909         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69910         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
69911         Add AVX variants.
69912         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
69913         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
69914         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
69915         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
69916         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
69917         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
69918         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
69919         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
69920         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
69921         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
69922         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
69923         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
69924         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
69925         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
69926         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
69927         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
69928         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
69929         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
69930         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
69932         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
69933         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
69935         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
69936         place.  Use VEX encoding when compiling for AVX.
69938 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69940         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
69941         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
69943         * string/test-strchr.c (do_test): Don't generate NUL bytes.
69945 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69947         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
69948         useless if() expression.
69949         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69950         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69951         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69952         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69953         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69954         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69955         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69956         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69957         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69958         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69959         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69960         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69961         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69962         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69963         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69964         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69965         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69966         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69967         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69969         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
69971 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69973         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
69974         condition.
69975         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69977 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69979         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
69980         .text section.  Avoid duplicate constants.
69981         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69982         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69983         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69984         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69985         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69986         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69987         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69988         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69989         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69990         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
69991         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69992         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69993         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69994         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69995         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69996         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69997         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69998         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69999         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70000         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70001         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70002         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70003         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70004         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
70005         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
70006         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
70007         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
70008         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
70009         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
70010         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
70011         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
70012         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
70013         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70014         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
70015         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
70016         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
70017         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
70018         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
70019         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
70020         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
70021         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
70022         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
70023         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
70024         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
70025         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
70027 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
70029         * sysdeps/x86_64/dla.h: Move to ...
70030         * sysdeps/x86_64/fpu/dla.h: ...here.
70031         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
70032         situations.  Use __builtin_fma only for gcc 4.6 and up.
70034         * config.make.in: Add have-mfma4 entry.
70035         * configure.in: Substitute libc_cv_cc_fma4.
70036         * math/Makefile (dbl-only-routines): Add sincostab.
70037         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
70038         Use __sincostab not sincos.
70039         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
70040         name is a macro.
70041         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70042         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70043         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70044         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
70045         using __copysign.
70046         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
70047         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
70048         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
70049         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
70050         and __inv.
70051         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
70052         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
70053         __copysign.
70054         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
70055         define aliases when function name is a macro.
70056         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
70057         sysdeps/ieee754/dbl-64/sincos.tbl.
70058         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
70059         fma4-enabled routines.
70060         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
70061         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
70062         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
70063         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
70064         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
70065         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
70066         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
70067         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
70068         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
70069         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
70070         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
70071         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
70072         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
70073         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
70074         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
70075         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
70076         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
70077         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
70078         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
70079         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
70080         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
70081         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
70082         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
70083         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
70084         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
70085         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
70086         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
70087         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
70088         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
70089         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
70091         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
70092         rename.
70093         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70094         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70095         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70097         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70098         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70099         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70100         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70102 2011-10-24  Andreas Schwab  <schwab@redhat.com>
70104         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
70106 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70108         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
70110         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
70111         prediction.
70112         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
70114         * string/strnlen.c: Don't define STRNLEN, reverse logic.
70115         Remove unused variable magic_bits.
70116         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
70118         * string/strnlen.c: Define and use STRNLEN macro.
70119         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
70120         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
70121         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
70122         * wcsmbs/wcslen.c: Define and use WCSLEN.
70123         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
70124         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
70125         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
70126         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
70127         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
70128         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
70129         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70131 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70133         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70134         strnlen-sse2-no-bsf.
70135         Rename strlen-no-bsf to strlen-sse2-no-bsf.
70136         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
70137         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
70138         Add strnlen support.
70139         (USE_AS_STRNLEN): New macro.
70140         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
70141         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
70142         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
70143         * sysdeps/x86_64/wcslen.S: New file.
70145 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
70147         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70148         XMM-moves are used for copying on small sizes.
70150 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70152         * wcsmbs/Makefile (strop-tests): Add wcschr.
70153         * wcsmbs/test-wcschr.c: New file.
70154         * string/test-strchr.c: Update.
70155         Add wcschr support.
70156         (WIDE): New macro.
70158 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70160         * wcsmbs/Makefile (strop-tests): Add wcslen.
70161         * wcsmbs/test-wcslen.c: New file.
70162         * string/test-strlen.c: Update.
70163         Add wcslen support.
70164         (WIDE): New macro.
70166 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70168         * po/it.po: Update from translation team.
70170 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70172         * sysdeps/x86_64/wcscmp.S: Update.
70173         Fix wrong comparison semantics.
70174         wcscmp shall use signed comparison not unsigned.
70175         Don't use substraction to avoid overflow bug.
70176         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
70177         * wcsmbc/wcscmp.c: Likewise.
70178         * string/test-strcmp.c: Likewise.
70179         Add new tests to check cases with negative values.
70181 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70183         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
70184         * sysdeps/x86_64/dla.h: ...here.  New file.
70185         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
70186         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70187         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70188         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70189         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70190         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70191         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70192         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70193         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70195 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
70197         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
70198         __ynl_finite aliases.
70200 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70204         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
70205         define DLA_FMA.
70206         [DLA_FMA] (EMULV): Use DLA_FMA.
70207         [DLA_FMA] (MUL12): Use EMULV.
70208         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
70209         that are not needed.
70210         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70211         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70212         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70213         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70214         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70215         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70216         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70218 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
70220         * math/s_nan.c: Undef __nan.
70221         * math/s_nanf.c: Undef __nanf.
70222         * math/s_nanl.c: Undef __nanl.
70223         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
70224         "math_private.h".
70226 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70228         * math/s_catan.c: Add branch predictions.
70229         * math/s_catanf.c: Likewise.
70230         * math/s_catanh.c: Likewise.
70231         * math/s_catanhf.c: Likewise.
70232         * math/s_catanhl.c: Likewise.
70233         * math/s_catanl.c: Likewise.
70234         * math/s_cexp.c: Likewise.
70235         * math/s_cexpf.c: Likewise.
70236         * math/s_cexpl.c: Likewise.
70237         * math/s_clog.c: Likewise.
70238         * math/s_clog10.c: Likewise.
70239         * math/s_clog10f.c: Likewise.
70240         * math/s_clog10l.c: Likewise.
70241         * math/s_clogf.c: Likewise.
70242         * math/s_clogl.c: Likewise.
70243         * math/s_csqrt.c: Likewise.
70244         * math/s_csqrtf.c: Likewise.
70245         * math/s_csqrtl.c: Likewise.
70246         * math/s_ctanf.c: Likewise.
70247         * math/s_ctanh.c: Likewise.
70248         * math/s_ctanhf.c: Likewise.
70249         * math/s_ctanhl.c: Likewise.
70250         * math/s_ctanl.c: Likewise.
70252         * math/math_private.h: Define __nan, __nanf, __nanl.
70253         * math/s_cacosh.c: Include <math_private.h>.
70254         * math/s_cacoshl.c: Likewise.
70255         * math/s_casinh.c: Likewise.
70256         * math/s_casinhf.c: Likewise.
70257         * math/s_casinhl.c: Likewise.
70258         * math/s_ccos.c: Rely entire on ccosh.
70259         * math/s_ccosf.c: Rely entire on ccoshf.
70260         * math/s_ccosl.c: Rely entirely on ccoshl.
70261         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
70262         Remove tests for FE_INVALID.
70263         * math/s_ccoshf.c: Likewise.
70264         * math/s_ccoshl.c: Likewise.
70265         * math/s_csin.c: Likewise.
70266         * math/s_csinf.c: Likewise.
70267         * math/s_csinh.c Likewise.
70268         * math/s_csinhf.c: Likewise.
70269         * math/s_csinhl.c: Likewise.
70270         * math/s_csinl.c: Likewise.
70271         * math/s_ctan.c: Likewise.
70272         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
70273         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
70274         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
70276 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
70278         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
70279         compilation problems.
70281         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
70282         __builtin_expect.
70284 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
70286         * sysdeps/i386/configure.in: Test for -mfma4 option.
70287         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
70288         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
70289         COMMON_CPUID_INDEX_80000001.
70290         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
70291         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
70292         use it if FMA3 is not supported.
70293         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
70295         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
70296         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70298 2011-10-20  Andreas Schwab  <schwab@redhat.com>
70300         [BZ #12892]
70301         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
70302         it would create a cycle with a link time dependency.
70304 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
70306         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
70307         instruction.
70308         * string/Makefile (strop-tests): Add rawmemchr.
70309         * string/test-rawmemchr.c: New file.
70311         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
70312         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
70313         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
70314         when compiling str{,n}casecmp and when AVX is available.  Hook up
70315         new optimized code in initializers.
70317 2011-10-19  Andreas Schwab  <schwab@redhat.com>
70319         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
70320         __feraiseexcept instead of feraiseexcept.
70322 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
70324         * math/math_private.h: Define defaults for libc_fetestexcept and
70325         libc_feupdateenv.
70326         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
70327         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
70328         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70329         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70330         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70331         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70332         libc_fetestexcept and libc_feupdateenv.
70334         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
70335         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
70336         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
70337         * sysdeps/x86_64/fpu/math_private.h: Define special version of
70338         libc_feholdexcept_setround.
70340         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
70341         Add s_nearbyint-c and s_nearbyintf-c.
70342         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
70343         nearbyintf inlines.
70344         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
70345         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
70346         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
70347         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
70349         * math/math_private.h: Define defaults for libc_fegetround,
70350         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
70351         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
70352         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
70353         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
70354         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
70355         standard functions.
70356         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70357         Remove comments and hacks for old compiler versions.
70358         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70359         libc_fegetround, libc_fesetround, libc_feholdexcept, and
70360         libc_feholdexceptl.
70362 2011-10-18  Andreas Schwab  <schwab@redhat.com>
70364         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
70365         (__feraiseexcept_renamed): Add __NTH.
70366         (feraiseexcept): Add __NTH.  Rename local variables to fix
70367         namespace violations.
70369 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
70371         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
70373         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
70375         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
70376         recently added interfaces.
70377         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
70379         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
70380         about macro parameter expansion.
70382         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
70383         __NO_MATH_INLINES is defined.  Cleanups.
70385         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
70386         and __floorf is target has SSE4.1.
70387         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
70388         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
70389         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
70390         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
70392         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
70393         name.
70394         (floorf): Likewise.
70396         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
70398 2011-10-17  Andreas Schwab  <schwab@redhat.com>
70400         * misc/sys/cdefs.h: Fix last change.
70402         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
70403         database lookup.
70405 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
70407         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
70409         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
70410         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70411         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70412         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70413         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70414         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70415         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70416         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70417         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70418         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
70419         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
70420         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
70421         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
70422         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
70423         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
70424         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
70425         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
70426         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
70427         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
70428         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
70429         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
70430         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
70432         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
70433         ceil, ceilf, floor, floorf.
70435         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
70436         Perform IRELATIVE relocations last.
70438         * elf/do-rel.h: Add another parameter nrelative, replacing the
70439         local variable with the same name.  Change name of the function
70440         to end in Rel or Rela (uppercase).
70441         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
70442         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
70443         elf_dynamic_do_##reloc function.
70445 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70447         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
70448         is sufficient, at least on modern CPUs.
70450         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
70452         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
70453         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
70455         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
70456         __expl_finite.
70457         * math/bits/math-finite.h: Add entries for exp.
70458         * math/e_expl.c: Add __*_finite alias.
70459         * sysdeps/i386/fpu/e_exp.S: Likewise.
70460         * sysdeps/i386/fpu/e_expf.S: Likewise.
70461         * sysdeps/i386/fpu/e_expl.c: Likewise.
70462         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70463         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70464         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
70465         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
70466         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
70467         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70468         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70470         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
70471         is sufficient, at least on modern CPUs.
70473         * ctype/ctype-info.c (__ctype_init): Define.
70474         * include/ctype.h (__ctype_init): Declare.
70475         (__ctype_b_loc): The variable is always initialized.
70476         (__ctype_toupper_loc): Likewise.
70477         (__ctype_tolower_loc): Likewise.
70478         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
70479         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
70481 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
70483         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
70485         * configure.in: Also look in $cxxmachine/include for C++ system
70486         headers.
70488 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70490         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
70491         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
70492         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
70493         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
70494         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
70495         (USE_AS_WMEMCMP): New macro.
70496         Fixing indents.
70497         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
70498         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
70499         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
70500         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
70501         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70502         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
70503         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
70504         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
70505         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
70506         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
70507         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
70508         (USE_AS_WMEMCMP): New macro.
70509         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
70510         * sysdeps/string/test-memcmp.c: Update.
70511         Fix simple_wmemcmp.
70512         Add new tests.
70513         * wcsmbs/wmemcmp.c: Update.
70514         (WMEMCMP): New macro.
70515         Fix overflow bug.
70517 2011-10-12  Andreas Jaeger  <aj@suse.de>
70519         [BZ #13268]
70520         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
70522 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70524         * libio/iofwide.c (do_length): Avoid warning.
70526         * ctype/ctype.h (__isctype_f): Add missing __THROW.
70528 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
70530         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
70532         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
70533         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
70534         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
70535         * sysdeps/i386/i686/fpu/e_log.S: New file.
70536         * sysdeps/i386/i686/fpu/e_logf.S: New file.
70537         * sysdeps/i386/i686/fpu/e_logl.S: New file.
70539         * ctype/ctype.h: Add support for inlined isXXX functions when
70540         compiling C++ code.
70542 2011-10-14  Andreas Schwab  <schwab@redhat.com>
70544         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70546         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
70548 2011-10-13  Roland McGrath  <roland@hack.frob.com>
70550         [BZ #13291]
70551         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
70553 2011-10-13  Andreas Schwab  <schwab@redhat.com>
70555         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
70556         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
70557         feraiseexcept.
70559         * sysdeps/x86_64/memrchr.S: Check for zero size.
70561         * string/stratcliff.c: Add memrchr tests.
70563 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70565         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70566         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
70567         rawmemchr-sse2 rawmemchr-sse2-bsf.
70568         * sysdeps/i386/i686/multiarch/memchr.S: New file.
70569         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
70570         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
70571         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
70572         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
70573         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
70574         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
70575         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
70576         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
70577         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
70578         * string/memrchr.c (MEMRCHR): New macro.
70580 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
70582         Add integration with gcc's -ffinite-math-only and optimize wrapper
70583         functions in libm.
70584         * Versions.def: Define GLIBC_2.15 version for libm.
70585         * math/Makefile (headers): Add bits/math-finite.h.
70586         * math/bits/math-finite.h: New file.
70587         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
70588         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
70589         * math/e_acoshl.c: Add __*_finite alias.
70590         * math/e_acosl.c: Likewise.
70591         * math/e_asinl.c: Likewise.
70592         * math/e_atan2l.c: Likewise.
70593         * math/e_atanhl.c: Likewise.
70594         * math/e_coshl.c: Likewise.
70595         * math/e_exp10.c: Likewise.
70596         * math/e_exp10f.c: Likewise.
70597         * math/e_exp10l.c: Likewise.
70598         * math/e_exp2l.c: Likewise.
70599         * math/e_fmodl.c: Likewise.
70600         * math/e_gammal_r.c: Likewise.
70601         * math/e_hypotl.c: Likewise.
70602         * math/e_j0l.c: Likewise.
70603         * math/e_j1l.c: Likewise.
70604         * math/e_jnl.c: Likewise.
70605         * math/e_lgammal_r.c: Likewise.
70606         * math/e_log10l.c: Likewise.
70607         * math/e_log2l.c: Likewise.
70608         * math/e_logl.c: Likewise.
70609         * math/e_powl.c: Likewise.
70610         * math/e_sinhl.c: Likewise.
70611         * math/e_sqrtl.c: Likewise.
70612         * math/e_scalb.c: Completely rewritten and optimized.
70613         * math/e_scalbf.c: Likewise.
70614         * math/e_scalbl.c: Likewise.
70615         * math/w_acos.c: Likewise.
70616         * math/w_acosf.c: Likewise.
70617         * math/w_acosl.c: Likewise.
70618         * math/w_acosh.c: Likewise.
70619         * math/w_acoshf.c: Likewise.
70620         * math/w_acoshl.c: Likewise.
70621         * math/w_asin.c: Likewise.
70622         * math/w_asinf.c: Likewise.
70623         * math/w_asinl.c: Likewise.
70624         * math/w_atan2.c: Likewise.
70625         * math/w_atan2f.c: Likewise.
70626         * math/w_atan2l.c: Likewise.
70627         * math/w_atanh.c: Likewise.
70628         * math/w_atanhf.c: Likewise.
70629         * math/w_atanhl.c: Likewise.
70630         * math/w_exp10.c: Likewise.
70631         * math/w_exp10f.c: Likewise.
70632         * math/w_exp10l.c: Likewise.
70633         * math/w_fmod.c: Likewise.
70634         * math/w_fmodf.c: Likewise.
70635         * math/w_fmodl.c: Likewise.
70636         * math/w_j0.c: Likewise.
70637         * math/w_j0f.c: Likewise.
70638         * math/w_j0l.c: Likewise.
70639         * math/w_j1.c: Likewise.
70640         * math/w_j1f.c: Likewise.
70641         * math/w_j1l.c: Likewise.
70642         * math/w_jn.c: Likewise.
70643         * math/w_jnf.c: Likewise.
70644         * math/w_log.c: Likewise.
70645         * math/w_logf.c: Likewise.
70646         * math/w_logl.c: Likewise.
70647         * math/w_log10.c: Likewise.
70648         * math/w_log10f.c: Likewise.
70649         * math/w_log10l.c: Likewise.
70650         * math/w_log2.c: Likewise.
70651         * math/w_log2f.c: Likewise.
70652         * math/w_log2l.c: Likewise.
70653         * math/w_pow.c: Likewise.
70654         * math/w_powf.c: Likewise.
70655         * math/w_powl.c: Likewise.
70656         * math/w_remainder.c: Likewise.
70657         * math/w_remainderf.c: Likewise.
70658         * math/w_remainderl.c: Likewise.
70659         * math/w_scalb.c: Likewise.
70660         * math/w_scalbf.c: Likewise.
70661         * math/w_scalbl.c: Likewise.
70662         * math/w_sqrt.c: Likewise.
70663         * math/w_sqrtf.c: Likewise.
70664         * math/w_sqrtl.c: Likewise.
70665         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
70666         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
70667         used.
70668         * math/math_private.h: Declare __kernel_standard_f.
70669         * math/w_cosh.c: Remove cruft and optimize a bit.
70670         * math/w_coshf.c: Likewise.
70671         * math/w_coshl.c: Likewise.
70672         * math/w_exp2.c: Likewise.
70673         * math/w_exp2f.c: Likewise.
70674         * math/w_exp2l.c: Likewise.
70675         * math/w_hypot.c: Likewise.
70676         * math/w_hypotf.c: Likewise.
70677         * math/w_hypotl.c: Likewise.
70678         * math/w_lgamma.c: Likewise.
70679         * math/w_lgamma_r.c: Likewise.
70680         * math/w_lgammaf.c: Likewise.
70681         * math/w_lgammaf_r.c: Likewise.
70682         * math/w_lgammal.c: Likewise.
70683         * math/w_lgammal_r.c: Likewise.
70684         * math/w_sinh.c: Likewise.
70685         * math/w_sinhf.c: Likewise.
70686         * math/w_sinhl.c: Likewise.
70687         * math/w_tgamma.c: Likewise.
70688         * math/w_tgammaf.c: Likewise.
70689         * math/w_tgammal.c: Likewise.
70690         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70691         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70692         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
70693         Minor optimizations.  Pretty printing.  Remove cruft.
70694         * sysdeps/i386/fpu/e_acosf.S: Likewise.
70695         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70696         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70697         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70698         * sysdeps/i386/fpu/e_acosl.c: Likewise.
70699         * sysdeps/i386/fpu/e_asin.S: Likewise.
70700         * sysdeps/i386/fpu/e_asinf.S: Likewise.
70701         * sysdeps/i386/fpu/e_atan2.S: Likewise.
70702         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
70703         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
70704         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70705         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70706         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70707         * sysdeps/i386/fpu/e_exp10.S: Likewise.
70708         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
70709         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
70710         * sysdeps/i386/fpu/e_exp2.S: Likewise.
70711         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
70712         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
70713         * sysdeps/i386/fpu/e_fmod.S: Likewise.
70714         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
70715         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
70716         * sysdeps/i386/fpu/e_hypot.S: Likewise.
70717         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
70718         * sysdeps/i386/fpu/e_log.S: Likewise.
70719         * sysdeps/i386/fpu/e_log10.S: Likewise.
70720         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70721         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70722         * sysdeps/i386/fpu/e_log2.S: Likewise.
70723         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70724         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70725         * sysdeps/i386/fpu/e_logf.S: Likewise.
70726         * sysdeps/i386/fpu/e_logl.S: Likewise.
70727         * sysdeps/i386/fpu/e_pow.S: Likewise.
70728         * sysdeps/i386/fpu/e_powf.S: Likewise.
70729         * sysdeps/i386/fpu/e_powl.S: Likewise.
70730         * sysdeps/i386/fpu/e_remainder.S: Likewise.
70731         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
70732         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
70733         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70734         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70735         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70736         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
70737         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
70738         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
70739         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70740         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70741         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70742         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70743         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70744         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70745         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
70746         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70747         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70748         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70749         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70750         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70751         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70752         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70753         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70754         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70755         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70756         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70757         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70758         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70759         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70760         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70761         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70762         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70763         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70764         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70765         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70766         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70767         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
70768         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70769         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70770         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70771         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70772         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70773         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70774         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70775         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70776         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70777         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70778         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70779         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70780         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70781         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70782         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70783         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70784         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70785         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70786         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70787         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70788         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
70789         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70790         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70791         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70792         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70793         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70794         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70795         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70796         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70797         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70798         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70799         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70800         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70801         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70802         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70803         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70804         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70805         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70806         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70807         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
70808         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70809         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70810         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70811         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70812         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70813         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70814         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70815         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70816         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70817         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70818         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70819         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70820         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70821         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
70822         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70823         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70824         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70825         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70826         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70827         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70828         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70829         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70830         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70831         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70832         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
70833         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70834         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70835         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70836         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
70837         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
70838         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
70839         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
70840         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
70841         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
70842         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
70843         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70844         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70845         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70846         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70847         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
70848         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70849         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
70850         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
70851         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
70852         (__isnanf): Likewise.
70853         (__isinf_ns): Likewise.
70854         (__isinf_nsf): Likewise.
70855         (__finite): Likewise.
70856         (__finitef): Likewise.
70857         (__ieee754_sqrt): Define as macro.
70858         (__ieee754_sqrtf): Define as macro.
70859         (__ieee754_sqrtl): Define as macro.
70860         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
70861         inlined copy.
70862         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
70863         __FINITE_MATH_ONLY__ consistent.
70864         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
70866 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
70868         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
70869         of rawmemchr.
70871         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
70873 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
70875         * po/ja.po: Update from translation team.
70877 2011-10-08  Roland McGrath  <roland@hack.frob.com>
70879         * locale/programs/locarchive.c (prepare_address_space): New function.
70880         (create_archive, enlarge_archive, open_archive): Use it.
70882         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
70883         inside [SHARED], where it is used.
70885         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
70887         * nss/getent.c (netgroup_keys): Remove unused variable.
70888         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70890 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
70892         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
70893         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
70894         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
70895         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
70896         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
70897         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
70898         * math/Makefile (libm-calls): Add s_isinf_ns.
70899         * math/divtc3.c: Use __isinf_nsl instead of isinf.
70900         * math/multc3.c: Likewise.
70901         * math/s_casin.c: Likewise.
70902         * math/s_casinf.c: Likewise.
70903         * math/s_casinl.c: Likewise.
70904         * math/s_ccos.c: Likewise.
70905         * math/s_ccosf.c: Likewise.
70906         * math/s_ccosl.c: Likewise.
70907         * math/s_ctan.c: Likewise.
70908         * math/s_ctanf.c: Likewise.
70909         * math/s_ctanh.c: Likewise.
70910         * math/s_ctanhf.c: Likewise.
70911         * math/s_ctanhl.c: Likewise.
70912         * math/s_ctanl.c: Likewise.
70913         * math/w_fmod.c: Likewise.
70914         * math/w_fmodf.c: Likewise.
70915         * math/w_fmodl.c: Likewise.
70916         * math/w_remainder.c: Likewise.
70917         * math/w_remainderf.c: Likewise.
70918         * math/w_remainderl.c: Likewise.
70919         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
70920         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
70921         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
70922         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
70923         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
70924         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
70925         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
70926         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
70928         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
70929         of the number.
70930         * stdio-common/printf_fphex.c: Likewise.
70931         * stdio-common/printf_size.c: Likewise.
70933         * math/e_exp10.c: Include math_private.h using <...> not "...".
70934         * math/e_exp10f.c: Likewise.
70935         * math/e_exp10l.c: Likewise.
70936         * math/e_exp2l.c: Likewise.
70937         * math/e_j0l.c: Likewise.
70938         * math/e_j1l.c: Likewise.
70939         * math/e_jnl.c: Likewise.
70940         * math/e_lgammal_r.c: Likewise.
70941         * math/e_rem_pio2l.c: Likewise.
70942         * math/e_scalb.c: Likewise.
70943         * math/e_scalbf.c: Likewise.
70944         * math/e_scalbl.c: Likewise.
70945         * math/k_cosl.c: Likewise.
70946         * math/k_sinl.c: Likewise.
70947         * math/k_tanl.c: Likewise.
70948         * math/s_cacoshf.c: Likewise.
70949         * math/s_catan.c: Likewise.
70950         * math/s_catanf.c: Likewise.
70951         * math/s_catanh.c: Likewise.
70952         * math/s_catanhf.c: Likewise.
70953         * math/s_catanhl.c: Likewise.
70954         * math/s_catanl.c: Likewise.
70955         * math/s_ccosh.c: Likewise.
70956         * math/s_ccoshf.c: Likewise.
70957         * math/s_ccoshl.c: Likewise.
70958         * math/s_cexp.c: Likewise.
70959         * math/s_cexpf.c: Likewise.
70960         * math/s_cexpl.c: Likewise.
70961         * math/s_clog.c: Likewise.
70962         * math/s_clog10.c: Likewise.
70963         * math/s_clog10f.c: Likewise.
70964         * math/s_clog10l.c: Likewise.
70965         * math/s_clogf.c: Likewise.
70966         * math/s_clogl.c: Likewise.
70967         * math/s_csin.c: Likewise.
70968         * math/s_csinf.c: Likewise.
70969         * math/s_csinh.c: Likewise.
70970         * math/s_csinhf.c: Likewise.
70971         * math/s_csinhl.c: Likewise.
70972         * math/s_csinl.c: Likewise.
70973         * math/s_csqrt.c: Likewise.
70974         * math/s_csqrtf.c: Likewise.
70975         * math/s_csqrtl.c: Likewise.
70976         * math/s_ctan.c: Likewise.
70977         * math/s_ctanf.c: Likewise.
70978         * math/s_ctanh.c: Likewise.
70979         * math/s_ctanhf.c: Likewise.
70980         * math/s_ctanhl.c: Likewise.
70981         * math/s_ctanl.c: Likewise.
70982         * math/s_ldexp.c: Likewise.
70983         * math/s_ldexpf.c: Likewise.
70984         * math/s_ldexpl.c: Likewise.
70985         * math/s_significand.c: Likewise.
70986         * math/s_significandf.c: Likewise.
70987         * math/s_significandl.c: Likewise.
70988         * math/w_acos.c: Likewise.
70989         * math/w_acosf.c: Likewise.
70990         * math/w_acosh.c: Likewise.
70991         * math/w_acoshf.c: Likewise.
70992         * math/w_acoshl.c: Likewise.
70993         * math/w_acosl.c: Likewise.
70994         * math/w_asin.c: Likewise.
70995         * math/w_asinf.c: Likewise.
70996         * math/w_asinl.c: Likewise.
70997         * math/w_atan2.c: Likewise.
70998         * math/w_atan2f.c: Likewise.
70999         * math/w_atan2l.c: Likewise.
71000         * math/w_atanh.c: Likewise.
71001         * math/w_atanhf.c: Likewise.
71002         * math/w_atanhl.c: Likewise.
71003         * math/w_cosh.c: Likewise.
71004         * math/w_coshf.c: Likewise.
71005         * math/w_coshl.c: Likewise.
71006         * math/w_dremf.c: Likewise.
71007         * math/w_exp10.c: Likewise.
71008         * math/w_exp10f.c: Likewise.
71009         * math/w_exp10l.c: Likewise.
71010         * math/w_exp2.c: Likewise.
71011         * math/w_exp2f.c: Likewise.
71012         * math/w_fmod.c: Likewise.
71013         * math/w_fmodf.c: Likewise.
71014         * math/w_fmodl.c: Likewise.
71015         * math/w_hypot.c: Likewise.
71016         * math/w_hypotf.c: Likewise.
71017         * math/w_hypotl.c: Likewise.
71018         * math/w_j0.c: Likewise.
71019         * math/w_j0f.c: Likewise.
71020         * math/w_j0l.c: Likewise.
71021         * math/w_j1.c: Likewise.
71022         * math/w_j1f.c: Likewise.
71023         * math/w_j1l.c: Likewise.
71024         * math/w_jn.c: Likewise.
71025         * math/w_jnf.c: Likewise.
71026         * math/w_jnl.c: Likewise.
71027         * math/w_lgamma.c: Likewise.
71028         * math/w_lgamma_r.c: Likewise.
71029         * math/w_lgammaf.c: Likewise.
71030         * math/w_lgammaf_r.c: Likewise.
71031         * math/w_lgammal.c: Likewise.
71032         * math/w_lgammal_r.c: Likewise.
71033         * math/w_log.c: Likewise.
71034         * math/w_log10.c: Likewise.
71035         * math/w_log10f.c: Likewise.
71036         * math/w_log10l.c: Likewise.
71037         * math/w_log2.c: Likewise.
71038         * math/w_log2f.c: Likewise.
71039         * math/w_log2l.c: Likewise.
71040         * math/w_logf.c: Likewise.
71041         * math/w_logl.c: Likewise.
71042         * math/w_pow.c: Likewise.
71043         * math/w_powf.c: Likewise.
71044         * math/w_powl.c: Likewise.
71045         * math/w_remainder.c: Likewise.
71046         * math/w_remainderf.c: Likewise.
71047         * math/w_remainderl.c: Likewise.
71048         * math/w_scalb.c: Likewise.
71049         * math/w_scalbf.c: Likewise.
71050         * math/w_scalbl.c: Likewise.
71051         * math/w_sinh.c: Likewise.
71052         * math/w_sinhf.c: Likewise.
71053         * math/w_sinhl.c: Likewise.
71054         * math/w_sqrt.c: Likewise.
71055         * math/w_sqrtf.c: Likewise.
71056         * math/w_sqrtl.c: Likewise.
71057         * math/w_tgamma.c: Likewise.
71058         * math/w_tgammaf.c: Likewise.
71059         * math/w_tgammal.c: Likewise.
71061         * po/ja.po: Update from translation team.
71063 2011-09-29  Andreas Jaeger  <aj@suse.de>
71065         [BZ #13179]
71066         * sunrpc/netname.c (netname2host): Fix logic.
71068         [BZ #6779]
71069         [BZ #6783]
71070         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
71071         correctly.
71072         * math/w_remainder.c (__remainder): Likewise.
71073         * math/w_remainderf.c (__remainderf): Likewise.
71074         * math/libm-test.inc (remainder_test): Add test cases.
71076 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71078         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
71079         sdiv_qrnnd.
71081 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71083         * string/test-memcmp.c: Avoid unncessary #defines.
71084         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71086 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71088         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
71089         Use new sse2 version for core i3 - i7 as it's faster
71090         than sse42 version.
71091         (bit_Prefer_PMINUB_for_stringop): New.
71092         * sysdeps/x86_64/rawmemchr.S: Update.
71093         Replace with faster SSE2 version.
71094         * sysdeps/x86_64/memrchr.S: New file.
71095         * sysdeps/x86_64/memchr.S: Update.
71096         Replace with faster SSE2 version.
71098 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
71100         * elf/dl-load.c (lose): Add cast to avoid warning.
71102 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71104         * po/ca.po: Update from translation team.
71106         * inet/getnetgrent_r.c: Hook up nscd.
71107         * nscd/Makefile (routines): Add nscd_netgroup.
71108         (nscd-modules): Add netgroupcache.
71109         (CFLAGS-netgroupcache.c): Define.
71110         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
71111         (cache_search): Add const to second parameter.
71112         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
71113         INNETGR.
71114         (dbs): Add netgrdb entry.
71115         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
71116         (verify_persistent_db): Handle netgrdb.
71117         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
71118         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
71119         GETFDNETGR.
71120         (netgroup_response_header): Define.
71121         (innetgroup_response_header): Define.
71122         (datahead): Add netgroup_response_header and innetgroup_response_header
71123         elements.
71124         * nscd/nscd.conf: Add entries for netgroup cache.
71125         * nscd/nscd.h (dbtype): Add netgrdb.
71126         (_PATH_NSCD_NETGROUP_DB): Define.
71127         (netgroup_iov_disabled): Declare.
71128         (xmalloc, xcalloc, xrealloc): Move declarations here.
71129         (cache_search): Adjust prototype.
71130         Add netgroup-related prototypes.
71131         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
71132         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
71133         (__nscd_innetgr): Declare.
71134         * nscd/selinux.c (perms): Use access_vector_t as element type and
71135         add netgroup-related initializers.
71136         * nscd/netgroupcache.c: New file.
71137         * nscd/nscd_netgroup.c: New file.
71138         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
71139         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
71140         For four parameters use innetgr.
71141         * nss/nss_files/files-init.c: Add definition and callback for netgr.
71142         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
71143         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
71144         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
71146         * nscd/connections.c (register_traced_file): Don't register file
71147         for disabled databases.
71149 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
71151         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
71153         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
71154         from tree and freeing node.
71156 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
71158         * nss/nsswitch.c (__nss_database_lookup): Handle
71159         nss_parse_service_list out of memory case.
71161 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
71163         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
71164         out of memory case.
71166 2011-10-04  Andreas Schwab  <schwab@redhat.com>
71168         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
71169         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
71170         pass it down.
71171         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
71172         elf_machine_rela, elf_machine_lazy_rel.
71173         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
71174         (ELF_DYNAMIC_DO_REL): Likewise.
71175         (ELF_DYNAMIC_DO_RELA): Likewise.
71176         (ELF_DYNAMIC_RELOCATE): Likewise.
71177         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
71178         to ELF_DYNAMIC_DO_REL.
71179         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
71180         (dl_main): In trace mode always set __RTLD_NOIFUNC.
71181         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
71182         elf_machine_rela.
71183         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
71184         skip_ifunc, don't call ifunc function if non-zero.
71185         (elf_machine_rela): Likewise.
71186         (elf_machine_lazy_rel): Likewise.
71187         (elf_machine_lazy_rela): Likewise.
71188         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
71189         (elf_machine_lazy_rel): Likewise.
71190         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
71191         Likewise.
71192         (elf_machine_lazy_rel): Likewise.
71193         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71194         Likewise.
71195         (elf_machine_lazy_rel): Likewise.
71196         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
71197         (elf_machine_lazy_rel): Likewise.
71198         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
71199         (elf_machine_lazy_rel): Likewise.
71200         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
71201         (elf_machine_lazy_rel): Likewise.
71202         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
71203         (elf_machine_lazy_rel): Likewise.
71204         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
71205         (elf_machine_lazy_rel): Likewise.
71206         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
71207         (elf_machine_lazy_rel): Likewise.
71209 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
71211         * nss/nss_files/files-init.c (_nss_files_init): Use static
71212         initialization for all the *_traced_file variables.
71214 2011-09-28  Andreas Schwab  <schwab@redhat.com>
71216         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71218 2011-09-27  Roland McGrath  <roland@hack.frob.com>
71220         [BZ #13226]
71221         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
71223 2011-09-27  Andreas Schwab  <schwab@redhat.com>
71225         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71226         Reread the line before reparsing it.
71228 2011-09-26  Andreas Schwab  <schwab@redhat.com>
71230         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
71232 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
71233             Maxim Kuvyrkov  <maxim@codesourcery.com>
71234             Joseph Myers  <joseph@codesourcery.com>
71236         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
71237         if needed for __stack_chk_guard.
71239 2011-09-19  Roland McGrath  <roland@hack.frob.com>
71241         * sysdeps/posix/spawni.c (script_execute): Always define it.
71242         It will be optimized away if unused.
71243         (maybe_script_execute): New function.
71244         (__spawni): Call it.
71246         * Makerules: Don't include tls.make.
71247         (config-tls): Always set to thread.
71248         * tls.make.c: File removed.
71250 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
71252         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
71253         * config.make.in (CPPFLAGS-config): New substituted variable.
71255 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71257         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
71259         [BZ #13192]
71260         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
71261         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
71263 2011-09-15  Roland McGrath  <roland@hack.frob.com>
71265         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
71266         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
71267         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71268         (CALL_FAIL): Likewise.
71269         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
71270         (CALL_FAIL): Macro removed.
71271         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
71273 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71275         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
71276         for __FINITE_MATH_ONLY__ == 1.
71278 2011-09-15  Andreas Schwab  <schwab@redhat.com>
71280         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
71281         __ieee754_sqrt instead of sqrt.
71282         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
71283         __ieee754_sqrtf instead of sqrtf.
71284         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71285         __floorf instead of floorf.
71286         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
71287         __floorf, __truncf instead of floorf, truncf.
71289 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
71291         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
71293         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
71294         __extern_always_inline.
71295         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
71296         32-bit.
71298 2011-09-14  Andreas Schwab  <schwab@redhat.com>
71300         * elf/rtld.c (dl_main): Also relocate in dependency order when
71301         doing symbol dependency testing.
71303 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
71305         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71306         Always define `refsym'.
71308 2011-09-13  Andreas Schwab  <schwab@redhat.com>
71310         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
71311         (__FD_ELT): Renamed from __FDELT.
71312         * misc/bits/select2.h (__FD_ELT): Likewise.
71313         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
71314         __FD_MASK instead of __FDELT, __FDMASK.
71315         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71316         Likewise.
71317         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71318         Likewise.
71320         * elf/Makefile (gen-ldd): Fix pattern.
71322         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
71323         (init_tls): Likewise.
71325 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
71327         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
71329 2011-09-12  Andreas Schwab  <schwab@redhat.com>
71331         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
71332         `struct cmsghdr *' instead of `void *'.
71333         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
71334         Likewise.
71336 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
71338         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
71339         if non-absolute.
71340         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
71341         ldd_rewrite_script.
71343 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
71345         * configure.in: Remove --with-tls option.
71346         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
71347         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
71348         out in case it is missing.
71349         * sysdeps/ia64/elf/configure.in: Likewise.
71350         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
71351         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
71352         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
71353         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
71354         * sysdeps/sh/elf/configure.in: Likewise.
71355         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
71356         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71357         * sysdeps/x86_64/elf/configure.in: Likewise.
71358         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
71359         * sysdeps/mach/hurd/tls.h: Likewise.
71361         [BZ #13067]
71362         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
71364         [BZ #13090]
71365         * configure.in: Fix use of AC_INIT.
71367         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
71369 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
71371         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
71372         __set_errno.
71373         * malloc/hooks.c: Likewise.
71375         [BZ #11929]
71376         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
71377         variables statically.
71378         (narenas): Initialize.
71379         (list_lock): Initialize.
71380         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
71381         initializtion of main_arena and list_lock.  Small cleanups.
71382         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
71383         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
71384         Add initializers to main_arena and mp_.
71385         (malloc_state): Remove pagesize member.  Change all users to use
71386         GLRO(dl_pagesize).
71388         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
71389         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
71390         is always initialized.
71392         * malloc/malloc.c: Removed unused configurations and dead code.
71393         * malloc/arena.c: Likewise.
71394         * malloc/hooks.c: Likewise.
71395         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
71397         * include/tls.h: Removed.  USE___THREAD must always be defined.
71398         * bits/libc-tsd.h: Don't handle !USE___THREAD.
71399         * elf/dl-libc.c: Likewise.
71400         * elf/dl-tsd.c: Likewise.
71401         * include/errno.h: Likewise.
71402         * include/netdb.h: Likewise.
71403         * include/resolv.h: Likewise.
71404         * inet/herrno-loc.c: Likewise.
71405         * inet/herrno.c: Likewise.
71406         * malloc/arena.c: Likewise.
71407         * malloc/hooks.c: Likewise.
71408         * malloc/malloc.c: Likewise.
71409         * resolv/res-state.c: Likewise.
71410         * resolv/res_libc.c: Likewise.
71411         * sysdeps/i386/dl-machine.h: Likewise.
71412         * sysdeps/ia64/dl-machine.h: Likewise.
71413         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
71414         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71415         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
71416         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
71417         * sysdeps/sh/dl-machine.h: Likewise.
71418         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71419         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71420         * sysdeps/unix/i386/sysdep.S: Likewise.
71421         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
71422         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
71423         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
71424         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
71425         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
71426         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
71427         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
71428         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71429         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71430         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
71431         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71432         * sysdeps/x86_64/dl-machine.h: Likewise.
71433         * tls.make.c: Likewise.
71435         * configure.in: Remove --with-__thread option.  Make tests for
71436         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
71437         tls_model attribute fail if no support is available.  Remove
71438         USE_IN_LIBIO.
71439         * Makeconfig: Adjust for dropped configure option.  All features are
71440         now mandatory.
71441         * Makerules: Likewise.
71442         * Versions.def: Likewise.
71443         * argp/argp-fmtstream.c: Likewise.
71444         * argp/argp-fmtstream.h: Likewise.
71445         * argp/argp-help.c: Likewise.
71446         * assert/assert.c: Likewise.
71447         * config.h.in: Likewise.
71448         * config.make.in: Likewise.
71449         * configure: Likewise.
71450         * configure.in: Likewise.
71451         * csu/Versions: Likewise.
71452         * csu/init.c: Likewise.
71453         * elf/tst-audit2.c: Likewise.
71454         * elf/tst-tls10.c: Likewise.
71455         * elf/tst-tls10.h: Likewise.
71456         * elf/tst-tls11.c: Likewise.
71457         * elf/tst-tls12.c: Likewise.
71458         * elf/tst-tls14.c: Likewise.
71459         * elf/tst-tlsmod11.c: Likewise.
71460         * elf/tst-tlsmod12.c: Likewise.
71461         * elf/tst-tlsmod13.c: Likewise.
71462         * elf/tst-tlsmod13a.c: Likewise.
71463         * elf/tst-tlsmod14a.c: Likewise.
71464         * elf/tst-tlsmod15b.c: Likewise.
71465         * elf/tst-tlsmod16a.c: Likewise.
71466         * elf/tst-tlsmod16b.c: Likewise.
71467         * elf/tst-tlsmod7.c: Likewise.
71468         * elf/tst-tlsmod8.c: Likewise.
71469         * elf/tst-tlsmod9.c: Likewise.
71470         * gmon/gmon.c: Likewise.
71471         * grp/fgetgrent_r.c: Likewise.
71472         * grp/putgrent.c: Likewise.
71473         * hurd/fopenport.c: Likewise.
71474         * include/libc-symbols.h: Likewise.
71475         * include/tls.h: Likewise.
71476         * intl/gettextP.h: Likewise.
71477         * intl/loadinfo.h: Likewise.
71478         * locale/global-locale.c: Likewise.
71479         * locale/localeinfo.h: Likewise.
71480         * mach/devstream.c: Likewise.
71481         * malloc/arena.c: Likewise.
71482         * malloc/set-freeres.c: Likewise.
71483         * misc/err.c: Likewise.
71484         * misc/getttyent.c: Likewise.
71485         * misc/mntent_r.c: Likewise.
71486         * posix/getopt.c: Likewise.
71487         * posix/wordexp.c: Likewise.
71488         * pwd/fgetpwent_r.c: Likewise.
71489         * resolv/Versions: Likewise.
71490         * resolv/res_hconf.c: Likewise.
71491         * shadow/fgetspent_r.c: Likewise.
71492         * shadow/putspent.c: Likewise.
71493         * stdio-common/printf_fphex.c: Likewise.
71494         * stdio-common/tmpfile.c: Likewise.
71495         * stdlib/abort.c: Likewise.
71496         * stdlib/fmtmsg.c: Likewise.
71497         * sunrpc/auth_unix.c: Likewise.
71498         * sunrpc/clnt_perr.c: Likewise.
71499         * sunrpc/clnt_tcp.c: Likewise.
71500         * sunrpc/clnt_udp.c: Likewise.
71501         * sunrpc/clnt_unix.c: Likewise.
71502         * sunrpc/openchild.c: Likewise.
71503         * sunrpc/svc_simple.c: Likewise.
71504         * sunrpc/svc_tcp.c: Likewise.
71505         * sunrpc/svc_udp.c: Likewise.
71506         * sunrpc/svc_unix.c: Likewise.
71507         * sunrpc/xdr.c: Likewise.
71508         * sunrpc/xdr_array.c: Likewise.
71509         * sunrpc/xdr_rec.c: Likewise.
71510         * sunrpc/xdr_ref.c: Likewise.
71511         * sunrpc/xdr_stdio.c: Likewise.
71513 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71515         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71517 2011-07-03  Andreas Jaeger  <aj@suse.de>
71519         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
71520         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
71521         regenerate with gen-libm-tests.pl.
71523 2010-05-12  Petr Baudis  <pasky@suse.cz>
71525         [BZ #11589]
71526         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
71527         around j0() zero points by switching to j1().
71528         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71529         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71530         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71531         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71533 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71535         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
71536         instead of 0.
71537         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
71538         instead of 0.
71539         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71540         Patch in part by Pavel Roskin <proski@gnu.org>.
71542         [BZ #13138]
71543         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
71544         realloc.
71545         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
71546         Free memory block if necessary.
71548         [BZ #12847]
71549         * libio/genops.c (INTDEF): For string streams the _lock pointer can
71550         be NULL.  Don't lock in this case.
71552 2011-09-09  Roland McGrath  <roland@hack.frob.com>
71554         * elf/elf.h (ELFOSABI_GNU): New macro.
71555         (ELFOSABI_LINUX): Define to that.
71557 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
71559         * string/strncat.c (strncat): Undef the symbol in case it has been
71560         defined in bits/string.h.
71562 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71564         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
71566         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
71567         link map.
71569 2011-08-17  Andreas Jaeger  <aj@suse.de>
71571         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
71573 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
71574             Ian Lance Taylor  <iant@google.com>
71576         * math/libm-test.inc (lround_test): New testcase.
71577         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
71579 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
71581         * Makefile: Remove support for automatic cvs check-ins.
71582         * Makerules: Likewise.
71583         * config.make.in: Likewise.
71584         * configure.in: Likewise.
71585         * intl/Makefile: Likewise.
71586         * locale/Makefile: Likewise.
71587         * po/Makefile: Likewise.
71588         * posix/Makefile: Likewise.
71589         * sysdeps/gnu/Makefile: Likewise.
71590         * sysdeps/mach/hurd/Makefile: Likewise.
71591         * sysdeps/sparc/sparc32/Makefile: Likewise.
71593         [BZ #13118]
71594         * posix/Makefile (bug-regex32-ENV): Define.
71595         Patch by John Stanley <jpsinthemix@verizon.net>.
71597         * misc/Makefile (headers): Add bits/select2.h.
71598         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
71599         * misc/bits/select2.h: New file.
71600         * include/bits/select2.h: New file.
71601         * debug/Makefile (routines): Add fdelt_chk.
71602         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
71603         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
71604         FD_ISSET.
71605         * debug/fdelt_chk.c: New file.
71607         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
71608         * wcsmbs/test-wmemcmp.c: Likewise.
71609         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
71610         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
71612 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71614         * string/Makefile (strop-tests): Add memcmp.
71615         * string/test-wmemcmp.c: New file.
71616         * string/test-memcmp.c: Add wmemcmp support.
71618 2011-09-08  Roland McGrath  <roland@hack.frob.com>
71620         [BZ #13153]
71621         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
71622         2011-07-19 change.
71624         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
71625         garbage value in a __mach_port_mod_refs call in the cases of the
71626         task-self and thread-self ports.
71628 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71630         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
71632 2011-09-08  Andreas Schwab  <schwab@redhat.com>
71634         * elf/dl-load.c (lose): Check for non-null L.
71636 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71638         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
71640         * elf/dl-libc.c (dlerror_run): Pass back error code from
71641         dl_catch_error.
71643         [BZ #13123]
71644         * elf/dl-load.c (lose): Free l_origin if it is valid.
71646         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
71647         names.
71648         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
71649         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71650         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71651         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71652         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
71653         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
71655 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71657         * sysdeps/powerpc/fpu/e_hypot.c: New file.
71658         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
71659         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
71660         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
71661         * sysdeps/powerpc/fpu/k_cosf.c: New file.
71662         * sysdeps/powerpc/fpu/k_sinf.c: New file.
71663         * sysdeps/powerpc/fpu/s_cosf.c: New file.
71664         * sysdeps/powerpc/fpu/s_sinf.c: New file.
71665         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
71666         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
71668 2011-08-15  Alan Modra  <amodra@gmail.com>
71670         [BZ #13092]
71671         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
71672         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
71673         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
71674         ppc_mcount to static-only-routines.
71675         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
71676         __mcount_internal.
71677         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
71678         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
71680 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
71682         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
71683         for finite and infinity parameters.
71685 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
71687         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
71688         and add nop instructions for throughput optimization.
71689         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71691 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
71693         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
71694         aligned copy for power7 with vector-scalar instructions.
71695         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
71697 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
71699         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
71700         AVX check.
71702 2011-09-07  Andreas Schwab  <schwab@redhat.com>
71704         [BZ #13144]
71705         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
71706         last change.
71708 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71710         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71711         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
71712         syscall wrapper around clock_gettime in __vdso_clock_gettime.
71713         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
71714         clock_gettime.
71716 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71718         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
71719         Forgot to demangle the pointer.
71721         * sysdeps/i386/sysdep.h: Define atom_text_section.
71722         * sysdeps/x86_64/sysdep.h: Likewise.
71723         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
71724         section with atom_text_section.
71725         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71726         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71727         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
71728         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71729         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
71731         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
71732         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
71733         already be defined.  Change to take two parameters and don't assign
71734         result to variable.  Adjust all users.
71735         Define INTERNAL_GETTIME if not already defined.
71736         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
71737         call.
71738         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
71739         HAVE_CLOCK_GETTIME_VSYSCALL.
71740         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
71742         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
71743         gettimeofday vsyscall, just use time.
71745 2011-09-06  Andreas Schwab  <schwab@redhat.com>
71747         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
71748         <errno.h>.
71750 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71752         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
71753         syscall on x86-64.
71754         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
71755         syscall.
71756         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
71757         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
71758         syscall if possible.
71760 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71762         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
71763         e_ident.  Don't pass to find_mapsXX.
71764         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
71766 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71769         strchr-sse2-no-bsf strrchr-sse2-no-bsf
71770         * sysdeps/x86_64/multiarch/strchr.S: Update.
71771         Check bit_slow_BSF bit.
71772         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
71773         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
71774         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
71776 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71778         [BZ #13134]
71779         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
71780         before glibc 2.15.
71781         (tryshell): Define.
71782         (__spawni): Change last parameter to be flag.  Test
71783         SPAWN_XFLAGS_USE_PATH flag to use path or not.
71784         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
71785         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
71786         * posix/spawni.c: Likewise.
71787         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
71788         * posix/spawnp.c: Likewise.  Change normal version to use
71789         SPAWN_XFLAGS_USE_PATH.
71790         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
71791         SPAWN_XFLAGS_TRY_SHELL.
71793         [BZ #13150]
71794         * posix/glob.h: Remove gcc 1.x support.
71796         [BZ #13068]
71797         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
71799 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71801         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71802         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
71803         strrchr-sse2-bsf
71804         * sysdeps/i386/i686/multiarch/strchr.S: New file.
71805         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
71806         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
71807         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
71808         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
71809         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
71811 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71813         * sysdeps/x86_64/wcscmp.S: New file.
71815         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
71816         wcscmp-c wcscmp-sse2
71817         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
71818         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
71819         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
71820         * wcsmbs/wcscmp.c: Allow renaming.
71822 2011-09-05  David S. Miller  <davem@davemloft.net>
71824         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
71825         stack slot, rather than the struct return pointer slot.
71826         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
71827         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
71828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
71829         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
71831 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71833         * po/ja.po: Update from translation team.
71835         [BZ #13144]
71836         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
71837         kernel in 64-bit binaries.
71839 2011-09-01  David S. Miller  <davem@davemloft.net>
71841         * elf/elf.h (HWCAP_SPARC_*): Move to..
71842         * sysdeps/sparc/sysdep.h: this new file and add new values.
71843         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
71844         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
71845         _DL_HWCAP_COUNT to 24.
71846         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71847         entries.
71848         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
71849         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
71850         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
71851         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
71852         instead of magic constants.
71853         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71855 2011-08-31  David S. Miller  <davem@davemloft.net>
71857         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
71858         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
71859         Reimplement to do errno handling inline.
71860         (SYSCALL_ERROR_HANDLER): New macro.
71861         (__SYSCALL_STRING): Do not do errno handling in asm.
71862         (__CLONE_SYSCALL_STRING): Delete.
71863         (__INTERNAL_SYSCALL_STRING): Delete.
71864         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
71865         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
71866         (PSEUDO): Reimplement to do errno handling inline.
71867         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
71868         (SYSCALL_ERROR_HANDLER): New macro.
71869         (__SYSCALL_STRING): Do not do errno handling in asm.
71870         (__CLONE_SYSCALL_STRING): Delete.
71871         (__INTERNAL_SYSCALL_STRING): Delete.
71872         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
71873         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
71874         i386.
71875         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
71876         (inline_syscall*): Add 'err' argument.
71877         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
71878         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
71879         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
71880         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
71882         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
71883         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
71885 2011-08-30  Andreas Schwab  <schwab@redhat.com>
71887         * elf/rtld.c (dl_main): Relocate objects in dependency order.
71889 2011-08-29  Jiri Olsa <jolsa@redhat.com>
71891         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
71892         directive.
71894 2011-08-24  David S. Miller  <davem@davemloft.net>
71896         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
71898 2011-08-24  Andreas Schwab  <schwab@redhat.com>
71900         * elf/Makefile: Add rules to build and run unload8 test.
71901         * elf/unload8.c: New file.
71902         * elf/unload8mod1.c: New file.
71903         * elf/unload8mod1x.c: New file.
71904         * elf/unload8mod2.c: New file.
71905         * elf/unload8mod3.c: New file.
71907         * elf/dl-close.c (_dl_close_worker): Reset private search list if
71908         it wasn't used.
71910 2011-08-23  David S. Miller  <davem@davemloft.net>
71912         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
71913         subtract stack bias.
71914         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
71915         %sp not %fp in calculations.
71916         (_JMPBUF_UNWINDS_ADJ): Likewise.
71918         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
71919         (aio_suspend): Call it to force an exception region around the
71920         AIO_MISC_WAIT() invocation.
71922 2011-08-23  Andreas Schwab  <schwab@redhat.com>
71924         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
71925         backslash.
71927 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
71929         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
71930         protection macro.
71931         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
71932         and <dl-machine.h>.
71933         (Elf64_FuncDesc): Remove.
71935 2011-08-22  David S. Miller  <davem@davemloft.net>
71937         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
71938         sigaltstack check, add missing cfi directives.
71939         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
71940         missing cfi directives, and sigaltstack handling.
71942 2011-08-16  Andreas Schwab  <schwab@redhat.com>
71944         [BZ #11724]
71945         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
71946         object is seen twice.
71947         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71949         * elf/Makefile (distribute): Add tst-initorder2.c.
71950         (tests): Add tst-initorder2.
71951         (modules-names): Add tst-initorder2a tst-initorder2b
71952         tst-initorder2c tst-initorder2d.  Add rules to build them.
71953         ($(objpfx)tst-initorder2.out): New rule.
71954         * elf/tst-initorder2.c: New file.
71955         * elf/tst-initorder2.exp: New file.
71957 2011-08-22  Andreas Schwab  <schwab@redhat.com>
71959         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
71961         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
71962         dependencies back to end of function.
71964         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71965         $(elfobjdir)/ld.so.
71967 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
71969         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
71970         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
71971         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
71972         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
71973         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
71974         of __vdso_gettimeofday.
71975         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
71976         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
71977         attribute_hidden.
71978         (_libc_vdso_platform_setup): Remove initialization of
71979         __vdso_gettimeofday and __vdso_time.
71981 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71983         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
71984         and fgetc_unlocked.
71985         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
71986         getc_unlocked.
71988         * elf/dl-open.c (add_to_global): Report additions to the global scope
71989         for LD_DEBUG=scopes.
71990         (dl_open_worker): Also print scope of newly loaded dependencies.
71991         (_dl_show_scope): Indicate if there is no scope.
71993         [BZ #13114]
71994         * stdio-common/Makefile (tests): Add bug24.
71995         * stdio-common/bug24.c: New file.
71997 2011-08-19  Andreas Jaeger  <aj@suse.de>
71999         [BZ #13114]
72000         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
72001         non-existant file when using close-on-exec mode.
72003 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72005         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
72006         the very first instruction.
72008         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
72009         the CFI state in the end.
72010         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
72011         inclusion of dl-trampoline.h.
72012         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
72014 2011-08-19  Andreas Schwab  <schwab@redhat.com>
72016         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
72017         expectations for long double.
72019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
72020         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
72022 2011-08-14  David S. Miller  <davem@davemloft.net>
72024         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
72025         artificual limit depends upon the system page size.
72027 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72029         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
72030         * resolv/Makefile: Define CFLAGS-libresolv.
72032 2011-08-17  Andreas Schwab  <schwab@redhat.com>
72034         * nss/makedb.c (compute_tables): Make variables used in nested
72035         function static.
72037 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72039         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
72040         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
72041         if buffer was too small.
72043         * elf/pldd.c (main): Attach to all threads in the process.
72044         Rewrite /proc handling to use *at functions.
72046 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
72048         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
72049         specifies first scope to show.
72050         (dl_open_worker): Update callers.  Move printing scope of new
72051         object to before the relocation.
72052         * elf/rtld.c (dl_main): Update _dl_show_scope call.
72053         * sysdeps/generic/ldsodefs.h: Update declaration.
72055         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
72056         string for the scope number.
72058 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
72060         * nscd/servicescache.c (cache_addserv): Make sure written is always
72061         initialized.
72063 2011-08-14  Roland McGrath  <roland@hack.frob.com>
72065         * sysdeps/i386/i486/bits/atomic.h
72066         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
72067         statement expression, so as to suppress "set but not used" warning.
72068         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
72070         * string/strncat.c (STRNCAT): Use prototype definition.
72072         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
72073         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
72074         -Iprograms here.
72075         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
72076         (localedef-modules): Add localedef.
72077         (locale-modules): Add locale.
72079         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
72080         * elf/rtld.c (dl_main): Invert order of assignment in last change,
72081         to avoid a warning.
72083 2011-08-14  David S. Miller  <davem@davemloft.net>
72085         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
72086         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
72088 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
72090         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
72091         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
72092         * elf/rtld.c (dl_main): Set l_name of vDSO.
72093         Call _dl_show_scope when DL_DEBUG_SCOPES.
72094         (process_dl_debug): Recognize scopes flag and also set it for all.
72095         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
72096         Declare _dl_show_scope.
72098         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
72099         (do_dlopen): Pass caller_dlopen to dl_open.
72100         (__libc_dlopen_mode): Initialize caller_dlopen.
72102         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
72103         of libc.  Make tolower call locale-independent.  Optimize a bit by
72104         using isdigit instead of isalnum.
72105         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
72107 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
72109         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
72110         was a dependency or dynamically loaded.
72112 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
72114         * intl/l10nflist.c: Allow architecture-specific pop function.
72115         * sysdeps/x86_64/l10nflist.c: New file.
72117         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
72118         classification.
72120 2011-08-10  Andreas Schwab  <schwab@redhat.com>
72122         * include/dirent.h: Add libc_hidden_proto for scandirat and
72123         scandirat64.  Don't declare __scandirat64.
72124         * dirent/scandirat.c: Add libc_hidden_def.
72125         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
72126         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
72128 2011-08-10  David S. Miller  <davem@davemloft.net>
72130         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
72131         enum.
72132         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72133         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72134         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72136 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
72138         * Versions.def [libc]: Add GLIBC_2.15.
72139         * dirent/Makefile (routines): Add scandirat and scandirat64.
72140         * dirent/Versions [libc]: Export scandirat and scandirat64 for
72141         GLIBC_2.15.
72142         * dirent/dirent.h: Declare scandirat and scandirat64.
72143         * dirent/scandirat.c: New file.
72144         * dirent/scandirat64.c: New file.
72145         * sysdeps/wordsize-64/scandirat.c: New file.
72146         * sysdeps/wordsize-64/scandirat64.c: New file.
72147         * dirent/opendir.c: Define opendirat.
72148         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
72149         using scandirat.
72150         * dirent/scandir64.c: Adjust for scandir.c change.
72151         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
72152         __scandirat64, and __scandir_cancel_handler.
72153         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
72154         additional parameter and use openat instead of open (outside of ld.so).
72155         Add new __opendir as wrapper around __opendirat.
72156         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
72157         here without requiring old scandirat implementation.
72159 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
72161         * dirent/scandir.c (cancel_handler): Renamed to
72162         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
72163         defined.  Adjust users.
72164         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
72165         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
72167 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
72169         * string/test-string.h (IMPL): Use __STRING to expand name and then
72170         stringify it.
72172         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
72173         of cleanups.
72175 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72177         * string/Makefile: Update.
72178         (strop-tests): Append strncat.
72179         * string/test-wcscmp.c: New file.
72180         New comprehensive test for wcscmp.
72181         * string/test-strcmp.c: Update.
72182         (WIDE): New define.
72184 2011-07-22  Andreas Schwab  <schwab@redhat.com>
72186         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
72187         line.
72189 2011-07-26  Andreas Schwab  <schwab@redhat.com>
72191         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72192         encoding to ACE if AI_IDN.
72194 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
72196         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
72197         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
72199 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72201         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
72202         Fix overflow bug in strncat.
72203         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
72205         * string/test-strncat.c: Update.
72206         Add new tests for checking overflow bugs.
72208 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72210         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72211         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
72212         * sysdeps/i386/i686/multiarch/strcat.S: New file.
72213         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
72214         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
72215         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
72216         * sysdeps/i386/i686/multiarch/strncat.S: New file.
72217         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
72218         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
72220         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
72221         (USE_AS_STRCAT): Define.
72222         Add strcat and strncat support.
72223         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72225 2011-07-25  Andreas Schwab  <schwab@redhat.com>
72227         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
72228         __n bigger than INT_MAX+1.
72229         (__strncmp_g): Likewise.
72231 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
72233         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
72234         * libio/stido.h: Likewise.
72236         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
72237         (AF_NFC): Define.
72238         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
72239         (AF_NFC): Define.
72241         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
72242         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72243         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72244         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
72245         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72247         [BZ #13021]
72248         * scripts/test-installation.pl: Don't expect libnss_test1 to be
72249         installed.
72251         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
72252         typo.
72253         (_dl_x86_64_save_sse): Likewise.
72255 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
72257         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
72258         OSXSAVE.
72259         (_dl_x86_64_save_sse): Likewise.
72261         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
72263         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
72265 2011-07-21  Andreas Schwab  <schwab@redhat.com>
72267         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
72268         change.
72269         (_dl_x86_64_save_sse): Use correct AVX check.
72271 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72273         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
72274         bug in strncpy/strncat.
72275         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
72277 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
72279         * string/tester.c (test_strcat): Add tests for different alignments
72280         of source and destination.
72281         (test_strncat): Likewise.
72283 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72285         [BZ #12852]
72286         * posix/glob.c (glob): Check passed in values before using them in
72287         expressions to avoid some overflows.
72288         (glob_in_dir): Likewise.
72290         [BZ #13007]
72291         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
72292         check for AVX enablement so that we don't crash with old kernels and
72293         new hardware.
72294         * elf/tst-audit4.c: Add same checks here.
72295         * elf/tst-audit6.c: Likewise.
72297         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
72299 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
72301         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
72303 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72305         * po/cs.po: Update from translation team.
72306         * po/bg.po: Likewise.
72308 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
72310         * misc/sys/cdefs.h: Add support for const attribute.
72311         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
72312         to gnu_dev_{major,minor,makedev} functions.
72314 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
72316         * intl/dcigettext.c (get_output_charset): Add missing bracket.
72318 2011-07-20  Andreas Schwab  <schwab@redhat.com>
72320         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
72321         strlen results.
72323 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72325         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
72326         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
72327         register in order to avoid conflicts with the soft frame pointer
72328         being held in r11 when necessary.
72329         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
72330         (INTERNAL_VSYSCALL_NCS): Likewise.
72332 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
72334         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
72335         * elf/dl-fini.c (_dl_fini): Adjust caller.
72336         * elf/dl-close.c (_dl_close_worker): Likewise.
72337         * sysdeps/generic/ldsodefs.h: Adjust declaration.
72339 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72341         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
72342         "aux_cache->nlibs < 0".
72344         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
72345         in the reload-count case.
72347 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72349         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72350         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
72351         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
72352         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
72353         * sysdeps/x86_64/multiarch/strcat.S: New file.
72354         * sysdeps/x86_64/multiarch/strncat.S: New file.
72355         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
72356         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
72357         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
72358         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
72359         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
72360         (USE_AS_STRCAT): Define.
72361         Add strcat and strncat support.
72362         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72363         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
72364         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
72365         * string/strncat.c: Update.
72366         (USE_AS_STRNCAT): Define.
72367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72368         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
72369         and i7.
72370         * sysdeps/x86_64/multiarch/init-arch.h
72371         (bit_Prefer_PMINUB_for_stringop): New.
72372         (index_Prefer_PMINUB_for_stringop): Likewise.
72373         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
72374         bit_Prefer_PMINUB_for_stringop.
72376 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72378         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
72379         buffer64.
72380         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
72381         of casting of buffer.
72382         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
72383         buffer32 and buffer64.
72384         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
72385         writes instead of casting of buffer.
72386         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
72387         buffer32.
72388         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
72389         casting of buffer.
72391 2011-07-19  Andreas Schwab  <schwab@redhat.com>
72393         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
72395 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72397         * nscd/nscd.c (termination_handler): Don't do anything for a database
72398         if it has not yet been initialized.
72400 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72402         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72404 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72406         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72408 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72410         * po/nl.po: Update from translation team.
72411         * po/sv.po: Likewise.
72413 2011-07-16  Roland McGrath  <roland@hack.frob.com>
72415         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
72416         now disallowed by GCC.
72418         * configure.in (use-default-link): Default to yes if a test -shared
72419         link meets our qualifications.
72420         * configure: Regenerated.
72422         * config.make.in (output-format): New variable.
72423         * configure.in: Check for ld --print-output-format support.
72424         * configure: Regenerated.
72425         * Makerules ($(common-objpfx)format.lds)
72426         [$(output-format) != unknown]: Just use $(output-format),
72427         instead of the linker-script munging.
72429 2011-07-14  Roland McGrath  <roland@hack.frob.com>
72431         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
72432         of $(common-objpfx)shlib.lds.
72433         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
72435         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
72436         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
72438         * configure.in (-z relro check): Adjust test code to add a large
72439         writable data section after it.
72440         * configure: Regenerated.
72442 2011-07-11  Roland McGrath  <roland@hack.frob.com>
72444         * configure.in (-z relro check): Fix test code to make the variable
72445         truly const.
72446         * configure: Regenerated.
72448 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
72450         * nscd/nscd.h (struct traced_file): Define.
72451         (struct database_dyn): Remove inotify_descr, reset_res, and filename
72452         elements.  Add traced_files.
72453         (inotify_fd): Declare.
72454         (register_traced_file): Declare.
72455         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
72456         (inotify_fd): Export.
72457         (resolv_conf_descr): Remove.
72458         (nscd_init): Move inotify descriptor creation to main.
72459         Don't register files for notification here.
72460         (register_traced_file): New function.
72461         (invalidate_cache): Don't use reset_res to determine whether to call
72462         res_init, go through the list of registered files.
72463         (main_loop_poll): The inotify descriptors are now stored in the
72464         structures for the traced files.
72465         (main_loop_epoll): Likewise.
72466         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
72467         to __nss_disable_nscd.
72468         * nscd/cache.c (prune_cache): There is no single inotify descriptor
72469         for a database anymore.  Check the records for all the registered
72470         files instead.
72471         * nss/Makefile (libnss_files-routines): Add files-init.
72472         (libnss_db-routines): Add db-init.
72473         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
72474         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
72475         * nss/nss_db/db-init.c: New file.
72476         * nss/nss_files/files-init.c: New file.
72477         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
72478         __nss_lookup_function.
72479         (__nss_lookup_function): Call nss_load_library.
72480         (nss_load_all_libraries): New function.
72481         (__nss_disable_nscd): Take parameter with callback function for files
72482         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
72483         used for the cached services.
72484         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
72485         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
72486         options for features to all the files in nscd.
72488         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
72490 2011-07-10  Roland McGrath  <roland@hack.frob.com>
72492         * csu/elf-init.c (__libc_csu_init): Comment typo.
72494 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
72496         * po/pl.po: Update from translation team.
72497         * po/ja.po: Likewise.
72498         * po/ru.po: Likewise.
72499         * po/ko.po: Likewise.
72500         * po/fr.po: Likewise.
72502 2011-07-09  Roland McGrath  <roland@hack.frob.com>
72504         * configure.in (.ctors/.dtors header and trailer check):
72505         Use an empirical test on a built program.
72506         * configure: Regenerated.
72508         * configure.in (-z relro check): Use an empirical test on a built DSO.
72509         Detect, but do not require, on ia64.
72510         * configure: Regenerated.
72512         * configure.in (READELF): Find it with AC_CHECK_TOOL.
72513         Update tests that use readelf to use $READELF instead.
72514         * configure: Regenerated.
72516 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
72518         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
72519         if the result is not used.
72521 2011-07-05  Andreas Jaeger  <aj@suse.de>
72523         [BZ#9696]
72524         * stdlib/tst-strtod.c: Add testcase.
72526 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
72528         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
72529         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
72530         The latter has a higher limit.  Take additional parameter to pass to
72531         the new function.
72532         (__pathconf): Pass file to __statfs_link_max.
72533         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
72534         __statfs_link_max.
72535         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
72536         __statfs_link_max.
72538         [BZ #12868]
72539         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
72540         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72541         Handle Lustre.
72542         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
72543         (__statfs_filesize_max): Likewise.
72544         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
72546 2011-07-05  Andreas Jaeger  <aj@suse.de>
72548         * resolv/res_comp.c (dn_skipname): Remove unused variable.
72550 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
72552         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
72553         `status' variable.
72554         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
72555         Likewise.
72557 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
72559         * Makefile (strop-tests): Add strncat.
72560         * string/test-strncat.c: New file.
72562 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
72564         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
72566 2011-06-21  Andreas Jaeger  <aj@suse.de>
72568         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
72569         Copy rule from iconvdata/Makefile.
72571 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72573         [BZ #12922]
72574         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
72575         but no long options are defined, just return 'W'.
72577 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
72579         [BZ #9696]
72580         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
72582 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72584         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
72585         netgroups to read.
72586         (innetgr): Likewise.
72588 2011-07-05  Roland McGrath  <roland@hack.frob.com>
72590         * config.make.in (install_root): Default to $(DESTDIR).
72592 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
72594         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
72596 2011-07-02  Roland McGrath  <roland@hack.frob.com>
72598         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
72600         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
72601         containing directory rather than embedding absolute directory names.
72603         * scripts/check-local-headers.sh: Rewritten using awk.
72604         Match by word, not by line.  Print error messages for matches.
72605         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
72607         * Makerules [shlib-lds-flags empty]:
72608         ($(common-objpfx)libc_pic.opts): New target.
72609         ($(common-objpfx)libc_pic.os.clean): New target.
72610         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
72612         * config.make.in (OBJCOPY): New variable.
72613         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
72614         * configure: Regenerated.
72616         * config.make.in (use-default-link): New variable.
72617         * configure.in (use_default_link): Grok --with-default-link to set it.
72618         * configure: Regenerated.
72619         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
72620         (shlib-lds, shlib-lds-flags): Define to empty.
72622         * Makerules (shlib-lds): New variable.
72623         (shlib-lds-flags): New variable.
72624         (build-shlib, build-moduile, build-module-asneeded): Use it.
72625         ($(common-objpfx)libc.so): Use $(shlib-lds).
72626         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
72627         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
72629         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
72630         DT_FLAGS/DT_FLAGS_1 with zero flags.
72632         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
72633         linker script munging.
72635 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
72637         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
72638         as 128-bit value.
72639         * crypt/sha512.c (sha512_process_block): Perform total addition using
72640         128-bit if possible.
72641         (__sha512_finish_ctx): Likewise.
72642         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
72643         as 64-bit value.
72644         * crypt/sha256.c (SWAP64): Define.
72645         (sha256_process_block): Perform total addition using 64-bit if
72646         possible.
72647         (__sha256_finish_ctx): Likewise.
72649 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
72651         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
72652         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72653         * nscd/hstcache.c (cache_addhst): Likewise.
72654         * nscd/grpcache.c (cache_addgr): Likewise.
72655         * nscd/aicache.c (addhstaiX): Likewise.
72656         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
72658 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
72660         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
72661         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72662         * nscd/hstcache.c (cache_addhst): Likewise.
72663         * nscd/grpcache.c (cache_addgr): Likewise.
72664         * nscd/aicache.c (addhstaiX): Likewise.
72666 2011-07-01  Andreas Schwab  <schwab@redhat.com>
72668         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
72669         domain only when needed.
72671 2011-06-30  Andreas Schwab  <schwab@redhat.com>
72673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
72674         is always restored.
72676 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
72678         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
72679         are re-adding the entry.
72680         * nscd/servicescache.c (cache_addserv): Likewise.
72682 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
72684         * sysdeps/generic/dl-irel.h: fix protection against multiple
72685         inclusions.
72686         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
72688 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
72690         [BZ #12935]
72691         * malloc/memusage.sh: Fix quoting in message.
72692         * debug/xtrace.sh: Likewise.
72694         * configure.in: Remove support for --experimental-malloc option, make
72695         it the default.
72696         * config.make.in: Likewise.
72697         * malloc/Makefile: Likewise.
72699 2011-06-27  Andreas Schwab  <schwab@redhat.com>
72701         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
72702         two-byte characters.
72704 2011-06-27  Roland McGrath  <roland@hack.frob.com>
72706         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
72707         AC_CACHE_CHECK invocation.
72708         * configure: Regenerated.
72710         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
72712 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
72714         [BZ #12350]
72715         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
72716         bit from old_res_options.
72718         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
72720         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
72721         value type for setfct.
72723 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
72725         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72726         __gettimeofday instead of gettimeofday.
72728 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
72730         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
72732 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
72734         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
72736         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
72737         info.
72739 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72741         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72742         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72743         strcpy-sse2-unaligned strncpy-sse2-unaligned
72744         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
72745         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
72746         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
72747         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
72748         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
72749         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
72750         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
72751         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
72752         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
72753         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
72754         (STRCPY): Support SSE2 and SSSE3 versions.
72756 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
72758         [BZ #12874]
72759         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
72760         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
72761         kernels which artificially limit size of requests.
72763 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72765         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72766         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72767         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
72768         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
72769         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
72770         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
72771         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
72772         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
72773         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
72774         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
72775         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
72776         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
72777         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
72778         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
72779         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
72780         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72781         Enable unaligned load optimization for Intel Core i3, i5 and i7
72782         processors.
72783         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
72784         Define.
72785         (index_Fast_Unaligned_Load): Define.
72786         (HAS_FAST_UNALIGNED_LOAD): Define.
72788 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
72790         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
72792 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72794         [BZ #12907]
72795         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
72796         until it is clear that the information is realy needed.
72797         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
72799 2011-06-22  Andreas Schwab  <schwab@redhat.com>
72801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
72803 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72805         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72806         /sys/devices/system/cpu/online if it is usable.
72808         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
72809         reading the information from the /proc filesystem to once a second.
72811 2011-06-21  Andreas Jaeger  <aj@suse.de>
72813         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
72814         NULL after inclusion of kernel headers.
72816 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
72818         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
72819         calls to internal_setent.
72821         [BZ #12885]
72822         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
72823         addresses using gethostbyname4_r ignore IPv4 addresses.
72825         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
72826         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
72828         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
72830 2011-06-20  David S. Miller  <davem@davemloft.net>
72832         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
72833         inclusions.
72834         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
72836         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
72837         (elf_irel): Use it.
72838         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
72839         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
72840         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
72841         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
72842         * sysdeps/x86_64/dl-irel.h: Likewise.
72844         * elf/dl-runtime.c: Use elf_ifunc_invoke.
72845         * elf/dl-sym.c: Likewise.
72847 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72849         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
72850         need to dereference resplen2.
72852 2011-06-14  Andreas Schwab  <schwab@redhat.com>
72854         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
72856 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72858         * Makeconfig: Define vardbdir and inst_vardbdir.
72859         * nss/Makefile: Add rules to install db-Makefile.
72861         * nss/nss_db/db-XXX.c: Cleanup.
72863         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
72864         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
72865         GLIBC_PRIVATE.
72866         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
72867         * nss/makedb.c: Implement -g option to specify that value strings
72868         are generated and should not be added to table iterated over for
72869         get*ent calls.
72870         * nss/nss_db/db-initgroups.c: New file.
72872         * nss/getent.c: Add support for initgroups lookups through getgrouplist
72873         interface.
72875         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
72876         (internal_getgrouplist): Adjust to name change.
72877         Update use_initgroups_entry if this is not the first call.
72878         * nss/databases.def: Add initgroups entry.
72880         * nss/makedb.c (compute_tables): Check result of multiple hash table
72881         sizes to minimize maximum chain length.
72883 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
72885         * Versions.def: Add entry for libnss_db.
72886         * shlib-versions: Likewise.
72887         * nss/Makefile: Add rules to build libnss_db.
72888         * nss/Versions: Add libnss_db information.  Organize libnss_files
72889         entries better.
72890         * nss/db-Makefile: Add gshadow support.  Change rules for the new
72891         makedb progra.  Some minor improvements to generate smaller files.
72892         * nss/nss_db/nss_db.h: Move NSS database header data structures to
72893         here from...
72894         * nss/makedb.c: ...here.
72895         Improve database format to be smaller and require less memory at
72896         runtime.
72897         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
72898         db anymore.
72899         * nss/nss_db/db-netgrp.c: Likewise.
72900         * nss/nss_db/db-open.c: Likewise.
72901         * nss/nss_files/flies-XXX.x: Adjust comments.
72902         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
72903         * nss/nss_files/files-grp.c: Likewise.
72904         * nss/nss_files/files-hosts.c: Likewise.
72905         * nss/nss_files/files-network.c: Likewise.
72906         * nss/nss_files/files-proto.c: Likewise.
72907         * nss/nss_files/files-pwd.c: Likewise.
72908         * nss/nss_files/files-rpc.c: Likewise.
72909         * nss/nss_files/files-service.c: Likewise.
72910         * nss/nss_files/files-sgrp.c: Likewise.
72911         * nss/nss_files/files-spwd.c: Likewise.
72912         * nss/nss_db/db-alias.c: Removed.
72913         * nss/nss_db/dummy-db.h: Removed.
72915 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
72917         * nss/makedb.c: Rewritten to not use database library.
72918         * nss/Makefile: Update to build new makedb program.
72920 2011-06-14  Andreas Jaeger  <aj@suse.de>
72922         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
72923         memset declaration.
72925 2011-06-10  Andreas Schwab  <schwab@redhat.com>
72927         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
72928         tmpbuf.
72930 2011-06-10  Roland McGrath  <roland@hack.frob.com>
72932         * Makerules (shlib.lds): Fail if the linker script comes out empty.
72933         * elf/Makefile ($(objpfx)ld.so): Likewise.
72935         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
72936         Don't list ld.so twice in dependencies.
72938         * posix/bug-regex31.c: Include <stdlib.h>.
72940         * nscd/hstcache.c (cache_addhst): Remove unused variable.
72942         * nis/nss_compat/compat-spwd.c
72943         (getspent_next_nss_netgr): Remove unused variable.
72944         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
72946         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
72947         nonmembers" output to use the right array.
72949         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
72951         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
72953         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
72954         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
72955         * catgets/gencat.c (read_input_file): Likewise.
72956         * locale/programs/locarchive.c (enlarge_archive): Likewise.
72958         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
72959         variable definition inside #if's controlling its use.
72961         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
72963         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
72965         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
72967         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
72968         unreachable code.
72970         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
72972         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
72973         * configure: Regenerated.
72975         * Makerules: Revert last change.
72976         * elf/Makefile: Likewise.
72978 2011-06-09  Roland McGrath  <roland@hack.frob.com>
72980         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
72981         * elf/Makefile ($(objpfx)librtld.os): Likewise.
72982         (reloc-link): Likewise.
72984 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
72986         * elf/Makefile: Add rules to build pldd.
72987         * elf/pldd.c: New file.
72988         * elf/pldd-xx.c: New file.
72990 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
72992         * version.h: Update for 2.15 development version.
72994 2011-06-07  David S. Miller  <davem@davemloft.net>
72996         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
72997         ifuncs.
72998         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
72999         elf_machine_lazy_rel): Likewise.
73000         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
73001         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
73002         elf_machine_lazy_rel): Likewise.
73003         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
73004         dl_hwcap via passed in argument.
73005         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
73006         Likewise.
73008 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73010         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
73012 2011-06-06  Roland McGrath  <roland@hack.frob.com>
73014         [BZ #12849]
73015         * manual/fdl-1.1.texi: New file, verbatim from:
73016         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
73017         * manual/lgpl-2.1.texi: New file, verbatim from:
73018         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
73019         * manual/Makefile (licenses): New variable, list those new file names.
73020         (texis): Use it.
73021         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
73023         * manual/fdl.texi: File removed.
73024         * manual/lesser.texi: File removed.
73025         * manual/libc.texinfo (Copying, Documentation License):
73026         Use new @include file names, put @appendix directive before @include.
73028 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
73030         [BZ #12841]
73031         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
73032         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
73033         (mq_open): Add __NTH.
73035 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
73037         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73038         Assume Intel Core i3/i5/i7 processor if AVX is available.
73040 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73042         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73043         typo.
73045 2011-05-31  Andreas Schwab  <schwab@redhat.com>
73047         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
73048         memory.  Use alloca_account.  Fix memory leak when retrying.
73050 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73052         * version.h (RELEASE): Bump for 2.14 release.
73053         * include/features.h (__GLIBC_MINOR__): Bump to 14.
73055         * config.make.in (RANLIB): Remove entry.
73057 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
73059         * po/Makefile (po-sed-cmd): Add ksh to extensions.
73060         (libc.pot): Work around missing support for .ksh extension in xgettext.
73062         [BZ #12684]
73063         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
73064         if both request failed.
73065         (send_dg): In case of server errors clear resplen or *resplen2.
73067         [BZ #12454]
73068         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
73069         when there are multiple maps.
73070         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
73071         (_dl_fini): Remove test here.
73073         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
73075 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
73077         [BZ #12350]
73078         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
73079         bit from old_res_options.
73080         (gaih_inet): Likewise.
73082         [BZ #11099]
73083         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
73084         as signed.
73086         * resolv/res_init.c (res_setoptions): Make the code more compact.
73088         [BZ #11558]
73089         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
73090         set RES_USEVC.
73092         [BZ #11634]
73093         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
73095         * malloc/malloc.h: Mark malloc hook variables as deprecated.
73097         [BZ #11781]
73098         * malloc/malloc.h: Declare malloc hook variables as volatile.
73100         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
73101         in last patch.
73103         [BZ #11799]
73104         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
73105         raise in the comment.
73106         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73107         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73108         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
73110 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
73112         [BZ #12811]
73113         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
73114         grow the buffers more if it already has to be sufficient.
73115         (build_wcs_upper_buffer): Likewise.
73116         * posix/regexec.c (check_matching): Likewise.
73117         (clean_state_log_if_needed): Likewise.
73118         (extend_buffers): Don't enlarge buffers beyond size of the input
73119         buffer.
73120         Patches mostly by Emil Wojak <emil@wojak.eu>.
73121         * posix/bug-regex32.c: New file.
73122         * posix/Makefile (tests): Add bug-regex32.
73124         * locale/findlocale.c (_nl_find_locale): Return right away if
73125         _nl_explode_name failed.
73126         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
73128         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
73130         * debug/xtrace.sh: Unify messages.
73131         * malloc/memusage.sh: Likewise.
73133         [BZ #12813]
73134         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
73135         time symbol from vDSO.  Substitute with vsyscall if not available.
73136         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
73137         __vdso_time.
73139         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
73140         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
73141         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
73142         Add sendmmsg and internal_sendmmsg.
73143         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
73144         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
73145         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
73147         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
73148         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
73149         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
73151 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
73153         [BZ #12813]
73154         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
73155         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
73156         available.
73157         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
73158         __vdso_getcpu.
73160         [BZ #12814]
73161         * iconvdata/Makefile (tests): Add bug-iconv9.
73162         * iconvdata/bug-iconv9.c: New file.
73164 2011-05-27  Andreas Schwab  <schwab@redhat.com>
73166         [BZ #12814]
73167         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
73169 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
73171         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73172         (struct user_regs_struct): Change intcs field back to cs.
73174 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
73176         * po/ja.po: Update from translation team.
73178 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
73180         [BZ #12795]
73181         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
73182         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
73184 2011-05-20  Andreas Schwab  <schwab@redhat.com>
73186         * stdlib/longlong.h: Update from GCC.
73188 2011-05-23  Andreas Schwab  <schwab@redhat.com>
73190         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
73191         parameter name.
73192         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
73193         Add parameter name.
73194         (__sysconf): Pass it down.
73196 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
73198         [BZ #12671]
73199         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
73200         some situations.
73201         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
73202         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
73203         add in in __libc_use_alloca calls.  Adjust callers.
73204         (glob): Use malloc in some situations.
73206         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
73207         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
73208         pltexit.
73210 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
73212         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
73213         and CLOCK_BOOTTIME_ALARM.
73215         [BZ #12782]
73216         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
73217         is returned.
73219         * string/_strerror.c (__strerror_r): Print negative errors as signed
73220         numbers.
73222         [BZ #12777]
73223         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
73224         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
73225         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
73227         * configure.in: Fix typo in redirection and correct removal of test
73228         files in two cases.
73230         [BZ #12788]
73231         * locale/setlocale.c (new_composite_name): Fix test to check for
73232         identical name of all categories.
73234         [BZ #12792]
73235         * libio/filedoalloc.c (local_isatty): New function.
73236         (_IO_file_doallocate): Use local_isatty.
73237         * stdio-common/perror.c (perror): In case a new stream is used
73238         forward the stream error.
73239         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
73240         error flag.
73242 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
73244         [BZ #11884]
73245         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
73246         alloca.
73247         * include/alloca.h (extend_alloca_account): Define.
73249         [BZ #11857]
73250         * posix/regex.h: Fix comments with documentation of user-accessible
73251         fields after compilation and describe correct free'ing of pattern
73252         after re_compile_pattern.
73253         Patch by Reuben Thomas <rrt@sc3d.org>.
73255 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
73257         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
73258         and -mno-altivec to prevent the compiler from using Altivec and/or
73259         VSX instructions when the corresponding registers are not available.
73261 2011-05-19  Andreas Schwab  <schwab@redhat.com>
73263         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
73265 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
73267         * libio/freopen.c (freopen): Use __dup2, not dup2.
73268         * libio/freopen64.c (freopen64): Likewise.
73270 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73272         [BZ #12775]
73273         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
73274         * math/Makefile (tests): Add test-powl.
73275         (CFLAGS-test-powl.c): Define.
73276         * math/test-powl.c: New file.
73278 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73280         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
73282 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
73284         [BZ #11837]
73285         * iconvdata/gb18030.c: Update to GB18020-2005.
73287 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
73289         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
73290         RE_SYNTAX_POSIX_AWK): Update to match recent development.
73291         Patch by Aharon Robbins <arnold@skeeve.com>.
73293         [BZ #11892]
73294         * stdlib/putenv.c (putenv): Don't always create copy of the variable
73295         on the stack.
73297         [BZ #11895]
73298         * misc/pselect.c (__pselect): Handle timeout value errors hidden
73299         through underflows.
73301         [BZ #12766]
73302         * misc/error.c (error_at_line): Ensure file_name and old_file_name
73303         point to strings before performing equality test for error_one_per_line
73304         mode.
73306         [BZ #11697]
73307         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
73309         [BZ #11820]
73310         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73311         (struct user_fpregs_struct): Avoid __uint*_t types.
73313         [BZ #6420]
73314         * malloc/mtrace.c (tr_where): Add additional parameter to point to
73315         symbol info.  Use it instead of calling _dl_addr locally.
73316         (lock_and_info): New function.
73317         (tr_freehook): Call lock_and_info and pass symbol info as additional
73318         parameter to tr_where.
73319         (tr_mallochook): Likewise.
73320         (tr_reallochook): Likewise.
73321         (tr_memalignhook): Likewise.
73323         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
73324         used and couldn't be at all thread-safe.
73326 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
73328         * libio/freopen.c (freopen): Don't close old file descriptor
73329         before the new one is opened.  Instead dup the new file descriptor
73330         to the old one after the new stream is created.
73331         * libio/freopen64.c (freopen64): Likewise.
73332         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
73333         * libio/fileops.c (_IO_new_file_close_it): Handle new
73334         _IO_FLAGS2_NOCLOSE flag.
73335         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
73336         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
73337         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
73338         _IO_FLAGS2_NOCLOSE flag.
73339         * include/unistd.h: Add hidden_proto for dup3.
73340         Define __have_dup3.
73341         * io/dup3.c: Define hidden symbol.
73342         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
73344         [BZ #7101]
73345         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
73346         when an incomplete long option is used.
73347         * posix/tst-getopt_long1.c: New file.
73348         * posix/Makefile (tests): Add tst-getopt_long1.
73350         [BZ #10138]
73351         * scripts/config.guess: Update from autoconf-2.68.
73352         * scripts/config.sub: Likewise.
73354         [BZ #10157]
73355         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
73356         tests into ...
73357         (has_cpuclock): ...this.  New function.
73358         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
73359         macro here based on has_cpuclock code.
73361         [BZ #10149]
73362         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73363         First byte (not low byte) is now always NUL.
73364         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
73366         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73367         Use non-cancelable interfaces.
73369         [BZ #9809]
73370         * locale/iso-639.def: Add entry for Sorani.
73372         [BZ #11901]
73373         * include/stdlib.h: Move include protection to the right place.
73374         Define abort_msg_s.  Declare __abort_msg with it.
73375         * stdlib/abort.c (__abort_msg): Adjust type.
73376         * assert/assert.c (__assert_fail_base): New function.  Majority
73377         of code from __assert_fail.  Allocate memory for __abort_msg with
73378         mmap.
73379         (__assert_fail): Now call __assert_fail_base.
73380         * assert/assert-perr.c: Remove bulk of implementation.  Use
73381         __assert_fail_base.
73382         * include/assert.hL Declare __assert_fail_base.
73383         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
73384         mmap.
73385         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
73387 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
73389         [BZ #11952]
73390         [BZ #12453]
73391         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
73392         until all modules are registered in the DTV.
73393         * elf/Makefile: Add rules to build and run tst-tls19.
73394         * elf/tst-tls19.c: New file.
73395         * elf/tst-tls19mod1.c: New file.
73396         * elf/tst-tls19mod2.c: New file.
73397         * elf/tst-tls19mod3.c: New file.
73398         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
73400         [BZ #12083]
73401         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
73402         correctly.
73404         [BZ #12601]
73405         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
73406         two-byte sequence errors.
73407         * iconvdata/Makefile (tests): Add bug-iconv8.
73408         * iconvdata/bug-iconv8.c: New file.
73410         [BZ #12626]
73411         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
73412         buf2 definition.
73414         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
73416         [BZ #12432]
73417         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
73418         (dummy_getcfa): New function.
73419         (init): Get _Unwind_GetCFA address, use dummy if not found.
73420         (backtrace_helper): In recursion check, also check whether CFA changes.
73421         (__backtrace): Completely initialize arg.
73423         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
73424         storing incomplete byte sequence in state object.  Avoid testing for
73425         guaranteed too small input if we know there is enough data available.
73427 2011-05-11  Andreas Schwab  <schwab@redhat.com>
73429         * Makeconfig (+link-pie): Indent.
73430         * Rules (binaries-pie): Define if $(have-fpie) and
73431         $(build-shared).
73432         (binaries-shared): Also filter out $(binaries-pie).
73433         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
73434         * nscd/Makefile (others-pie): Add nscd.
73435         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
73436         ($(objpfx)nscd): Remove command override.
73437         * login/Makefile (others-pie): Add pt_chown.
73438         ($(objpfx)pt_chown): Remove command override.
73439         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
73440         remove command overrides.
73442 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
73444         * libio/tst_putwc.c: Fix error messages.
73446         [BZ #12724]
73447         * libio/fileops.c (_IO_new_file_close_it): Always flush when
73448         currently writing and seek to current position when not.
73449         * libio/Makefile (tests): Add bug-fclose1.
73450         * libio/bug-fclose1.c: New file.
73452 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
73454         [BZ #12511]
73455         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
73456         don't set DF_1_NODELETE here.
73457         (do_lookup_x): When entering new entry test for copy relocation
73458         and if necessary set DF_1_NODELETE flag.
73459         * elf/tst-unique4.cc: New file.
73460         * elf/tst-unique4.h: New file.
73461         * elf/tst-unique4lib.cc: New file.
73462         * elf/Makefile: Add rules to build and run tst-unique4.
73463         Patch by Piotr Bury <pbury@goahead.com>.
73465 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
73467         [BZ #12052]
73468         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
73470         [BZ #12625]
73471         * misc/mntent_r.c (addmntent): Flush the stream after the output
73473         [BZ #12393]
73474         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
73475         (is_trusted_path_normalize): Skip initial colon.  Append slash
73476         to empty buffer.  Duplicate is_trusted_path code but allow
73477         constructed patch to be prefix.
73478         (is_dst): Allow $ORIGIN followed by /.
73479         (_dl_dst_substitute): Correct clearing of check_for_trusted.
73480         Correct testing of result of is_trusted_path_normalize
73481         (decompose_rpath): Fix warning.
73483 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
73485         [BZ #11257]
73486         * grp/initgroups.c (internal_getgrouplist): When we found the service
73487         list through the initgroups entry in nsswitch.conf do not always
73488         continue on a successful lookup.  Don't always use the
73489         __nss_group_database value if it is set.
73490         * nss/nsswitch.conf (initgroups): Change action for successful db
73491         lookup to continue for compatibility.
73493 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
73495         [BZ #11532]
73496         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
73497         and CP774 modules.
73498         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
73499         and CP774 modules.
73500         * iconvdata/tst-tables.sh: Likewise.
73501         * iconvdata/cp770.c: New file.
73502         * iconvdata/cp771.c: New file.
73503         * iconvdata/cp772.c: New file.
73504         * iconvdata/cp773.c: New file.
73505         * iconvdata/cp774.c: New file.
73506         * iconvdata/testdata/CP770: New file.
73507         * iconvdata/testdata/CP770..UTF8: New file.
73508         * iconvdata/testdata/CP771: New file.
73509         * iconvdata/testdata/CP771..UTF8: New file.
73510         * iconvdata/testdata/CP772: New file.
73511         * iconvdata/testdata/CP772..UTF8: New file.
73512         * iconvdata/testdata/CP773: New file.
73513         * iconvdata/testdata/CP773..UTF8: New file.
73514         * iconvdata/testdata/CP774: New file.
73515         * iconvdata/testdata/CP774..UTF8: New file.
73517         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
73518         END CHARMAP line.
73519         * iconvdata/gen-8bit-gap.sh: Likewise.
73520         * iconvdata/gen-8bit.sh: Likewise.
73522         * locale/iso-639.def: Add ary entry.
73524         [BZ #11258]
73525         * locale/C-translit.h.in: Add U20A1 transliteration.
73527         [BZ #12178]
73528         * locale/iso-639.def: Add wae entry.
73529         Patch by Kevin Bortis <bortis@translate-wae.ch>.
73531         [BZ #12545]
73532         * locale/programs/localedef.c (construct_output_path): Use ssize_t
73533         for n.
73535         [BZ #12711]
73536         * locale/C-translit.h.in: Add entry for U20B9.
73537         Patch by pravin.d.s@gmail.com.
73539 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
73541         [BZ #12713]
73542         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
73543         ENAMETOOLONG use generic getcwd.
73544         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
73545         in rtld.  Use *stat64.
73546         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
73547         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
73548         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
73549         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
73550         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
73551         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
73552         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
73553         __fstatat64 macros.
73554         * include/dirent.h: Add libc_hidden_proto for rewinddir.
73555         * dirent/rewinddir.c: Add libc_hidden_def.
73556         * sysdeps/mach/hurd/rewinddir.c: Likewise.
73557         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
73559         * include/dirent.h (__alloc_dir): Add flags parameter.
73560         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
73561         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
73562         __alloc_dir.
73563         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
73564         from fdopendir if O_CLOEXEC is already set.
73566 2011-03-15  Alan Modra  <amodra@gmail.com>
73568         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
73569         l_tls_firstbyte_offset non-zero.  Save padding offset in
73570         l_tls_firstbyte_offset for later use.
73571         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
73572         freeing static tls block.
73574 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
73576         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
73577         where #ifdef was intended.  The intent is to prevent ARG_MAX from
73578         being defined by the kernel headers.
73580 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
73582         [BZ #12734]
73583         * resolv/resolv.h: Define RES_NOTLDQUERY.
73584         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
73585         no-tld-query and set RES_NOTLDQUERY.
73586         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
73587         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
73588         modern BIND to search name as TLD unless forbidden.
73590 2011-05-07  Petr Baudis  <pasky@suse.cz>
73591             Ulrich Drepper  <drepper@gmail.com>
73593         [BZ #12393]
73594         * elf/dl-load.c (fillin_rpath): Move trusted path check...
73595         (is_trusted_path): ...to here.
73596         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
73597         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
73598         using is_trusted_path_normalize() in setuid scripts.
73600 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73602         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
73603         __BEGIN/__END_DECLS.
73605 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
73607         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
73608         NSS_STATUS_NOTFOUND if no record was found.
73610 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73612         * sunrpc/Makefile (headers): Add rpc/netdb.h.
73613         (headers-not-in-tirpc): Remove rpc/netdb.h
73614         * resolv/netdb.h: Revert last change.
73616 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73618         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
73619         circular dependency between libgcc.a and libc.a.
73621 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73623         * resolv/netdb.h: Don't include <rpc/netdb.h>.
73624         * nis/Makefile: Don't install rpcsvc/*.
73625         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
73626         instead of <rpc/types.h>.
73627         (MAXHOSTNAMELEN): Define.
73629 2011-05-03  Andreas Schwab  <schwab@redhat.com>
73631         * elf/ldconfig.c (add_dir): Don't crash on empty path.
73633 2011-04-28  Maciej Babinski  <mbabinski@google.com>
73635         [BZ #12714]
73636         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
73637         gethostbyname4_r when IPv6 results are possible.
73639 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
73641         [BZ #12723]
73642         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
73643         _PC_PIPE_BUF handling.
73645 2011-04-30  Bruno Haible  <bruno@clisp.org>
73647         [BZ #12717]
73648         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
73649         * resolv/netdb.h (getnameinfo): Change type of flags parameter
73650         to 'int'.
73651         * inet/getnameinfo.c (getnameinfo): Likewise.
73653 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
73655         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
73656         to groups setting in database lookup.
73657         * nss/nsswitch.conf: Add initgroups entry.
73659 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
73661         [BZ #12685]
73662         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
73663         mode string.
73664         Patch by Eric Blake <eblake@redhat.com>.
73666 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
73668         * sunrpc/Makefile (need-export-routines): Add svc_run.
73669         (routines): Remove svc_run.
73670         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
73671         * sunrpc/clnt_perr.c (clnt_perrno): Export.
73672         * sunrpc/svc_run.c (svc_run): Likewise.
73673         * sunrpc/svc_udp.c (svcudp_create): Likewise.
73675 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
73677         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
73678         problem in reallocation in last patch.
73680 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
73682         * sunrpc/Makefile: Move inclusion of Rules.
73684 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
73686         * nss/nss_files/files-initgroups.c: New file.
73687         * nss/Makefile (libnss_files-routines): Add files-initgroups.
73688         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
73689         _nss_files_initgroups_dyn.
73691 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
73693         * elf/elf.h (R_ARM_IRELATIVE): Define.
73695 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
73697         * po/ru.po: Update from translation team.
73699 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73701         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
73702         dependencies.
73704 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
73706         [BZ #12653]
73707         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
73708         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
73709         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73710         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
73711         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
73713 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
73715         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
73716         differing bytes.
73717         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
73718         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
73719         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73721 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73723         [BZ #12420]
73724         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
73725         storing it.
73726         * stdlib/bug-getcontext.c: New file.
73727         * stdlib/Makefile: Add rules to build and run bug-getcontext.
73729 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73731         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
73732         instructions into .machine "z9-109".
73733         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
73734         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
73736 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73738         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
73739         between environment variables and auxiliary vector.
73741 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
73743         * Makefile: Add rules to build linkobj/libc.so.
73744         * include/libc-symbols.h: Define libc_hidden_nolink.
73745         * include/rpc/auth.h: Mark functions which are to be hidden.
73746         * include/rpc/auth_des.h: Likewise.
73747         * include/rpc/auth_unix.h: Likewise.
73748         * include/rpc/clnt.h: Likewise.
73749         * include/rpc/des_crypt.h: Likewise.
73750         * include/rpc/key_prot.h: Likewise.
73751         * include/rpc/pmap_clnt.h: Likewise.
73752         * include/rpc/pmap_prot.h: Likewise.
73753         * include/rpc/pmap_rmt.h: Likewise.
73754         * include/rpc/rpc_msg.h: Likewise.
73755         * include/rpc/svc.h: Likewise.
73756         * include/rpc/svc_auth.h: Likewise.
73757         * include/rpc/xdr.h: Likewise.
73758         * nis/Makefile: Link all DSOs against linkobj/libc.so.
73759         * nss/Makefile: Likewise.
73760         * sunrpc/Makefile: Don't install headers.  Build library with normal
73761         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
73762         * sunrpc/auth_des.c: Hide exported symbols by default, export some
73763         for the compat linking library.  Remove use of INTDEF/INTUSE.
73764         * sunrpc/auth_none.c: Likewise.
73765         * sunrpc/auth_unix.c: Likewise.
73766         * sunrpc/authdes_prot.c: Likewise.
73767         * sunrpc/authuxprot.c: Likewise.
73768         * sunrpc/clnt_gen.c: Likewise.
73769         * sunrpc/clnt_perr.c: Likewise.
73770         * sunrpc/clnt_raw.c: Likewise.
73771         * sunrpc/clnt_simp.c: Likewise.
73772         * sunrpc/clnt_tcp.c: Likewise.
73773         * sunrpc/clnt_udp.c: Likewise.
73774         * sunrpc/clnt_unix.c: Likewise.
73775         * sunrpc/des_crypt.c: Likewise.
73776         * sunrpc/des_soft.c: Likewise.
73777         * sunrpc/get_myaddr.c: Likewise.
73778         * sunrpc/key_call.c: Likewise.
73779         * sunrpc/key_prot.c: Likewise.
73780         * sunrpc/netname.c: Likewise.
73781         * sunrpc/pm_getmaps.c: Likewise.
73782         * sunrpc/pm_getport.c: Likewise.
73783         * sunrpc/pmap_clnt.c: Likewise.
73784         * sunrpc/pmap_prot.c: Likewise.
73785         * sunrpc/pmap_prot2.c: Likewise.
73786         * sunrpc/pmap_rmt.c: Likewise.
73787         * sunrpc/publickey.c: Likewise.
73788         * sunrpc/rpc_cmsg.c: Likewise.
73789         * sunrpc/rpc_common.c: Likewise.
73790         * sunrpc/rpc_dtable.c: Likewise.
73791         * sunrpc/rpc_prot.c: Likewise.
73792         * sunrpc/rpc_thread.c: Likewise.
73793         * sunrpc/rtime.c: Likewise.
73794         * sunrpc/svc.c: Likewise.
73795         * sunrpc/svc_auth.c: Likewise.
73796         * sunrpc/svc_authux.c: Likewise.
73797         * sunrpc/svc_raw.c: Likewise.
73798         * sunrpc/svc_run.c: Likewise.
73799         * sunrpc/svc_simple.c: Likewise.
73800         * sunrpc/svc_tcp.c: Likewise.
73801         * sunrpc/svc_udp.c: Likewise.
73802         * sunrpc/svc_unix.c: Likewise.
73803         * sunrpc/svcauth_des.c: Likewise.
73804         * sunrpc/xcrypt.c: Likewise.
73805         * sunrpc/xdr.c: Likewise.
73806         * sunrpc/xdr_array.c: Likewise.
73807         * sunrpc/xdr_float.c: Likewise.
73808         * sunrpc/xdr_intXX_t.c: Likewise.
73809         * sunrpc/xdr_mem.c: Likewise.
73810         * sunrpc/xdr_rec.c: Likewise.
73811         * sunrpc/xdr_ref.c: Likewise.
73812         * sunrpc/xdr_sizeof.c: Likewise.
73813         * sunrpc/xdr_stdio.c: Likewise.
73815 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
73817         [BZ #12650]
73818         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
73819         * sysdeps/ia64/dl-tls.h: Likewise.
73820         * sysdeps/powerpc/dl-tls.h: Likewise.
73821         * sysdeps/s390/dl-tls.h: Likewise.
73822         * sysdeps/sh/dl-tls.h: Likewise.
73823         * sysdeps/sparc/dl-tls.h: Likewise.
73824         * sysdeps/x86_64/dl-tls.h: Likewise.
73825         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
73827 2011-03-14  Andreas Schwab  <schwab@redhat.com>
73829         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
73830         rpath element also skip the following colon.
73831         (expand_dynamic_string_token): Add is_path parameter and pass
73832         down to DL_DST_REQUIRED and _dl_dst_substitute.
73833         (decompose_rpath): Call expand_dynamic_string_token with
73834         non-zero is_path.  Ignore empty rpaths.
73835         (_dl_map_object_from_fd): Call expand_dynamic_string_token
73836         with zero is_path.
73838 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
73840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73841         Make cancelable.
73843 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
73845         [BZ #12655]
73846         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
73847         Patch by Filipe David Manana <fdmanana@apache.org>.
73849 2011-04-07  Andreas Schwab  <schwab@redhat.com>
73851         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
73852         Maintain aligned stack.
73853         (CHECK_RSP): Remove unused macro.
73855 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
73857         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
73858         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
73860 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
73862         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
73864         * include/features.h: Mention __USE_XOPEN2K8 in comment.
73866 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
73868         [BZ #12518]
73869         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
73870         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
73871         * sysdeps/x86_64/memmove.c: New file.
73872         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
73873         (memcpy): Renamed to ...
73874         (__new_memcpy): This.
73875         (memcpy): Provide GLIBC_2_14 memcpy.
73876         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
73877         (memcpy): Provide GLIBC_2_2_5 memcpy.
73879 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73881         [BZ #12631]
73882         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
73884 2011-03-30  Andreas Schwab  <schwab@redhat.com>
73886         * misc/syncfs.c: New file.
73887         * misc/Makefile (routines): Add syncfs.
73888         * posix/unistd.h: Declare syncfs.
73889         * sysdeps/unix/syscalls.list: Add syncfs.
73891 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73893         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
73894         open_by_handle_at.
73895         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73896         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73897         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73898         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73899         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73900         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
73901         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73903 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73905         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
73906         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73907         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
73908         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73909         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73910         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73911         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73913         * io/Makefile: Compile fallocate.c, fallocate64.c, and
73914         sync_file_range.c with -fexceptions.
73915         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
73916         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
73917         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
73918         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
73919         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
73920         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73921         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
73922         sync_file_range as cancellation point
73923         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
73924         now a wrapper around __call_sync_file_range with cancellation handling.
73925         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
73926         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
73927         function name to __call_sync_file_range.
73928         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
73929         Add call_sync_file_range.
73931 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73933         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73934         bits/timex.h.
73936 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73938         * iconv/iconv.h: Fix typo in comment.
73939         * io/fcntl.h: Likewise.
73940         * libio/stdio.h: Likewise.
73941         * posix/spawn.h: Likewise.
73942         * posix/unistd.h: Likewise.
73943         * stdlib/stdlib.h: Likewise.
73944         * time/time.h: Likewise.
73945         * wcsmbs/wchar.h: Likewise.
73947         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
73948         open_by_handle): Add.
73949         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
73950         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
73951         Augment a few comments.
73952         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73953         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73954         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73955         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73956         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73957         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
73958         open_by_handle.
73960         * io/fcntl.h (AT_EMPTY_PATH): Define.
73962 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
73964         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
73965         * sysdeps/unix/sysv/linux/bits/time.h: New file.
73966         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
73967         to...
73968         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
73969         * Versions.def: Add GLIBC_2.14.
73970         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
73971         Export.
73973 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
73975         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
73976         round counter.
73977         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73979 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73981         [BZ #12597]
73982         * string/test-strncmp.c (do_page_test): New function.
73983         (check2): Likewise.
73984         (test_main): Call check2.
73985         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
73987 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
73989         [BZ #12587]
73990         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
73991         Handle cache information in CPU leaf 4.
73992         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73994 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
73996         [BZ #12583]
73997         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
73998         character representation.
73999         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
74001 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
74003         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
74004         END(__isnan) to END(__isnanf) to match function entry point/label
74005         EALIGN(__isnanf,...).
74007 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
74009         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
74011 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
74013         [BZ #12510]
74014         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
74015         copy from the symbol referenced in the relocation to initialize the
74016         used variable.
74017         Patch by Piotr Bury <pbury@goahead.com>.
74018         * elf/Makefile: Add rules to build and tst-unique3.
74019         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
74020         * elf/tst-unique3.cc: New file.
74021         * elf/tst-unique3.h: New file.
74022         * elf/tst-unique3lib.cc: New file.
74023         * elf/tst-unique3lib2.cc: New file.
74025         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
74027 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
74029         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
74030         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
74031         to _start.
74033 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
74035         * elf/dl-load.c (_dl_map_object): If we are looking for the first
74036         to-be-loaded object along a path to loader is ld.so.
74038 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74039             Ulrich Drepper  <drepper@gmail.com>
74041         * sysdeps/x86_64/memset.S: After aligning destination, code
74042         branches to different locations depending on the value of
74043         misalignment, when multiarch is enabled. Fix this.
74045 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74047         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
74048         Set _x86_64_preferred_memory_instruction for AMD processsors.
74049         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74050         Set bit_Prefer_SSE_for_memop for AMD processors.
74052 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
74054         * libio/fmemopen.c (fmemopen): Optimize a bit.
74056 2011-03-03  Andreas Schwab  <schwab@redhat.com>
74058         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
74060 2011-03-03  Roland McGrath  <roland@redhat.com>
74062         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
74064 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
74066         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
74067         __bzero_ultra1 instead of __memset_ultra1.
74069 2011-02-23  Andreas Schwab  <schwab@redhat.com>
74070             Ulrich Drepper  <drepper@gmail.com>
74072         [BZ #12509]
74073         * include/link.h (struct link_map): Add l_orig_initfini.
74074         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
74075         returning unsuccessfully.
74076         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
74077         close of a file loaded at startup, restore the original l_initfini
74078         list.
74079         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
74080         list, store the pointer.
74081         * elf/Makefile ($(objpfx)noload-mem): New rule.
74082         (noload-ENV): Define.
74083         (tests): Add $(objpfx)noload-mem.
74084         * elf/noload.c: Include <memcheck.h>.
74085         (main): Call mtrace.  Close all opened handles.
74087 2011-02-17  Andreas Schwab  <schwab@redhat.com>
74089         [BZ #12454]
74090         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
74091         dependencies are missing.
74093 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74095         Fix __if_freereq crash: Unlike the generic version which uses free,
74096         Hurd needs munmap.
74097         * sysdeps/mach/hurd/ifreq.h: New file.
74099 2011-01-27  Petr Baudis  <pasky@suse.cz>
74100             Ulrich Drepper  <drepper@gmail.com>
74102         [BZ 12445]#
74103         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
74104         to extend_alloca().
74105         * stdio-common/bug23.c: New file.
74106         * stdio-common/Makefile (tests): Add bug23.
74108 2010-09-28  Andreas Schwab  <schwab@redhat.com>
74109             Ulrich Drepper  <drepper@gmail.com>
74111         [BZ #12489]
74112         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
74113         before performing relro protection.  At old place add assertion
74114         to make sure nothing changed.
74116 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
74117             Glauber de Oliveira Costa  <glommer@gmail.com>
74119         * elf/elf.h: Add new ARM TLS relocs.
74121 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
74123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74124         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
74125         cast from r3.
74126         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
74127         'tests' variable.
74128         * sysdeps/wordsize-64/tst-writev.c: New file.
74130 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
74132         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
74133         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
74134         insns in _dl_start to prevent a TOC reference before relocs are
74135         resolved.
74137 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
74139         [BZ #12469]
74140         * Makeconfig: Remove RANLIB definition.
74141         * Makerules: Don't use RANLIB.
74142         * aclocal.m4: Remove ranlib test.
74143         * configure.in: No need to check for ranlib.
74144         * elf/rtld-Rules: Don't use RANLIB.
74146 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74148         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
74149         protection macro.
74150         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
74151         inclusion protection macro.
74153         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
74154         SIGRTMIN and SIGRTMAX and print information in that case only when
74155         SIGRTMIN is defined.
74157 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
74159         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
74160         arginfo fn returning -1.
74162         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
74163         and thousands string is zero terminated.
74165 2011-02-03  Andreas Schwab  <schwab@redhat.com>
74167         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
74168         sysdeps/unix/sysv/linux/bits/socket.h.
74170 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74172         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
74173         (__CPU_COUNT): Remove old macros.
74174         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
74175         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
74176         (__CPU_ALLOC, __CPU_FREE): Add macros.
74177         (__sched_cpualloc, __sched_cpufree): Add declarations.
74179 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
74181         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
74182         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
74183         * nscd/aicache.c (addhstaiX): Return timeout of added value.
74184         (readdhstai): Return value of addhstaiX call.
74185         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
74186         (addgrbyX): Return value returned by cache_addgr.
74187         (readdgrbyname): Return value returned by addgrbyX.
74188         (readdgrbygid): Likewise.
74189         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
74190         (addpwbyX): Return value returned by cache_addpw.
74191         (readdpwbyname): Return value returned by addhstbyX.
74192         (readdpwbyuid): Likewise.
74193         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
74194         (addservbyX): Return value returned by cache_addserv.
74195         (readdservbyname): Return value returned by addservbyX:
74196         (readdservbyport): Likewise.
74197         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
74198         (addhstbyX): Return value returned by cache_addhst.
74199         (readdhstbyname): Return value returned by addhstbyX.
74200         (readdhstbyaddr): Likewise.
74201         (readdhstbynamev6): Likewise.
74202         (readdhstbyaddrv6): Likewise.
74203         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
74204         (readdinitgroups): Return value returned by addinitgroupsX.
74205         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
74206         (prune_cache): Keep track of timeout value of re-added entries.
74207         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
74208         * nscd/nscd.h: Adjust prototypes of readd* functions.
74210 2011-02-04  Roland McGrath  <roland@redhat.com>
74212         * nis/nis_server.c (nis_servstate): Use the right name for 0.
74213         (nis_stats): Likewise.
74214         * nis/nis_modify.c (nis_modify): Likewise.
74215         * nis/nis_remove.c (nis_remove): Likewise.
74216         * nis/nis_add.c (nis_add): Likewise.
74218         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
74220         * posix/fnmatch_loop.c: Add some consts.
74222         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
74224 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
74226         [BZ #12460]
74227         * config.make.in (config-cflags-novzeroupper): Define.
74228         * configure.in: Substitute libc_cv_cc_novzeroupper.
74229         * elf/Makefile (AVX-CFLAGS): Define.
74230         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
74231         (CFLAGS-tst-auditmod4a.c): Likewise.
74232         (CFLAGS-tst-auditmod4b.c): Likewise.
74233         (CFLAGS-tst-auditmod6b.c): Likewise.
74234         (CFLAGS-tst-auditmod6c.c): Likewise.
74235         (CFLAGS-tst-auditmod7b.c): Likewise.
74236         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
74238 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
74240         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
74241         function to the callback.
74242         Patch partly by Jiri Olsa <jolsa@redhat.com>.
74244 2011-02-02  Andreas Schwab  <schwab@redhat.com>
74246         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
74247         of errno.
74249 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
74251         [BZ #11724]
74252         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
74253         of constructors.
74254         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
74255         of destructors.
74256         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
74258         [BZ #11724]
74259         * elf/Makefile: Add rules to build and run new test.
74260         * elf/tst-initorder.c: New file.
74261         * elf/tst-initorder.exp: New file.
74262         * elf/tst-initordera1.c: New file.
74263         * elf/tst-initordera2.c: New file.
74264         * elf/tst-initordera3.c: New file.
74265         * elf/tst-initordera4.c: New file.
74266         * elf/tst-initorderb1.c: New file.
74267         * elf/tst-initorderb2.c: New file.
74268         * elf/tst-order-a1.c: New file.
74269         * elf/tst-order-a2.c: New file.
74270         * elf/tst-order-a3.c: New file.
74271         * elf/tst-order-a4.c: New file.
74272         * elf/tst-order-b1.c: New file.
74273         * elf/tst-order-b2.c: New file.
74274         * elf/tst-order-main.c: New file.
74275         New test case by George Gensure <werkt0@gmail.com>.
74277 2010-10-01  Andreas Schwab  <schwab@redhat.com>
74279         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74280         decoding ACE if AI_CANONIDN.
74282 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
74284         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
74286 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
74288         * version.h (RELEASE): Bump for 2.13 release.
74289         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
74291         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
74293         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
74294         MADV_NOHUGEPAGE.
74295         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
74296         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
74297         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74298         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74299         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74300         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74302         * posix/getconf.c: Update copyright year.
74303         * catgets/gencat.c: Likewise.
74304         * csu/version.c: Likewise.
74305         * debug/catchsegv.sh: Likewise.
74306         * debug/xtrace.sh: Likewise.
74307         * elf/ldconfig.c: Likewise.
74308         * elf/ldd.bash.in: Likewise.
74309         * elf/sprof.c (print_version): Likewise.
74310         * iconv/iconv_prog.c: Likewise.
74311         * iconv/iconvconfig.c: Likewise.
74312         * locale/programs/locale.c: Likewise.
74313         * locale/programs/localedef.c: Likewise.
74314         * malloc/memusage.sh: Likewise.
74315         * malloc/mtrace.pl: Likewise.
74316         * nscd/nscd.c (print_version): Likewise.
74317         * nss/getent.c: Likewise.
74319         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
74320         PF_CAIF, and PF_ALG.
74321         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74323 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
74325         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
74326         (modules-names): Use them.
74327         (ifunc-test-modules, ifunc-pie-tests): Define.
74328         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
74329         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
74330         (test-extras): Likewise.
74331         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
74332         $(compile-command.c).
74333         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
74334         (all-built-dso): Define.
74335         (check-textrel.out, check-execstack.out): Depend on it.
74337         * configure.in: Don't override --enable-multi-arch.
74339 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
74341         [BZ #6812]
74342         * nscd/hstcache.c (tryagain): Define.
74343         (cache_addhst): Return tryagain not notfound for temporary errors.
74344         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
74345         failed.
74347 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
74349         [BZ #10563]
74350         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
74351         to make the syscall.
74352         * sysdeps/unix/sysv/linux/setgroups.c: New file.
74354         [BZ #12378]
74355         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
74356         and fall back to matching as normal character if the string ends before
74357         the matching ']' is found.  This is what POSIX requires.
74358         * posix/testfnm.c: Adjust test result.
74359         * posix/globtest.sh: Adjust test result.  Add new test.
74360         * posix/tst-fnmatch.input: Likewise.
74361         * posix/tst-fnmatch2.c: Add new test.
74363 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
74365         * elf/Makefile (check-execstack): Revert last change.  Depend on
74366         check-execstack.h.
74367         (check-execstack.h): New target.
74368         (generated): Add check-execstack.h.
74369         * elf/check-execstack.c: Include "check-execstack.h".
74370         (main): Revert last change.
74371         (handle_file): Return zero if GNU_STACK is absent and
74372         DEFAULT_STACK_PERMS doesn't include PF_X.
74374 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
74376         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
74377         in child fails because the descriptor is already closed.
74378         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
74379         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
74380         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
74382         [BZ #12397]
74383         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
74384         syscall.
74386         [BZ #10484]
74387         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
74388         temporary buffer used to handle multi lookups locally.
74389         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
74391 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74393         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
74394         loader is ld.so.
74396 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
74398         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
74399         alignment for SSE2.
74401 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74403         [BZ #12394]
74404         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
74405         characters.  When rounding increased number of integer digits recompute
74406         number of groups.
74407         * stdio-common/tst-grouping.c: New file.
74408         * stdio-common/Makefile: Add rules to build and run tst-grouping.
74410 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
74412         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
74413         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
74415         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
74416         void.
74417         * bits/select.h: Likewise.
74419 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
74421         * po/ja.po: Update from translation team.
74423 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
74425         [BZ #11155]
74426         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
74427         implementation just like for lxstat, fxstatat, et al.
74429 2010-12-27  Jim Meyering  <meyering@redhat.com>
74431         [BZ #12348]
74432         * posix/regexec.c (build_trtable): Return failure indication upon
74433         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
74435 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
74437         [BZ #12201]
74438         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
74439         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
74440         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
74441         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
74443         [BZ #12207]
74444         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
74446         [BZ #12204]
74447         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
74448         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
74450 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
74452         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
74453         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
74454         script has SORT_BY_INIT_PRIORITY.
74455         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
74456         NO_CTORS_DTORS_SECTIONS is defined.
74457         * elf/soinit.c: Likewise.
74458         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
74459         NO_CTORS_DTORS_SECTIONS is defined.
74460         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
74461         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
74462         * sysdeps/sh/init-first.c: Likewise.
74463         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
74465 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
74467         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
74468         always use the slow path.
74470 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
74472         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
74473         similar rule which adds the sysdep directories to the header search in
74474         order to pick up the correct platform stackinfo.h.
74475         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
74476         perform test if it is, otherwise return successfully without testing.
74477         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
74478         DEFAULT_STACK_PERMS define in stackinfo.h.
74479         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
74480         defined in stackinfo.h.
74481         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
74482         DEFAULT_STACK_PERMS defined in stackinfo.h.
74483         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
74484         * sysdeps/ia64/stackinfo.h: Likewise.
74485         * sysdeps/s390/stackinfo.h: Likewise.
74486         * sysdeps/sh/stackinfo.h: Likewise.
74487         * sysdeps/sparc/stackinfo.h: Likewise.
74488         * sysdeps/x86_64/stackinfo.h: Likewise.
74489         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
74490         PF_X for powerpc64.  Retain PF_X for powerpc32.
74492 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
74494         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
74495         accurately.
74496         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
74497         GETDENTS_64BIT_ALIGNED.
74499 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
74501         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
74503 2010-12-10  Andreas Schwab  <schwab@redhat.com>
74505         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
74506         _GNU_SOURCE.
74508         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
74509         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
74510         Remove __restrict.
74511         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
74512         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
74514 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
74516         [BZ #11655]
74517         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
74518         are initialized.
74520 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
74522         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
74524 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
74526         * po/it.po: Update from translation team.
74528 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
74530         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
74531         unused codes.
74533 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
74535         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
74537 2010-11-24  Andreas Schwab  <schwab@redhat.com>
74539         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
74540         specially.
74541         (gaih_getanswer_slice): Likewise.
74543 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
74545         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
74547 2010-05-31  Petr Baudis  <pasky@suse.cz>
74549         [BZ #11149]
74550         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
74551         silently even in the chroot mode.
74553 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
74555         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
74556         last patch a bit.  Pretty printing
74558 2010-05-31  Petr Baudis <pasky@suse.cz>
74560         [BZ #10085]
74561         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
74562         initialization of skip_initgroups_dyn.
74564 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
74566         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
74567         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74569 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
74571         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
74573 2010-11-11  Andreas Schwab  <schwab@redhat.com>
74575         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
74576         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
74577         (tst-fnmatch-ENV): Set MALLOC_TRACE.
74578         ($(objpfx)tst-fnmatch-mem): New rule.
74579         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
74580         * posix/tst-fnmatch.c (main): Call mtrace.
74582 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
74584         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74585         Support Intel processor model 6 and model 0x2c.
74587 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
74589         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
74590           signed comparison.
74592 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
74594         [BZ #12205]
74595         * string/test-strncasecmp.c (check_result): New function.
74596         (do_one_test): Use it.
74597         (check1): New function.
74598         (test_main): Use it.
74599         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
74600         Support strcasecmp and strncasecmp.
74602 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
74604         [BZ #12194]
74605         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
74606         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74608 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74610         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
74611         IFUNC support.
74612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74613         memset-x86-64.
74614         * sysdeps/x86_64/multiarch/bzero.S: New file.
74615         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
74616         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
74617         * sysdeps/x86_64/multiarch/memset.S: New file.
74618         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
74619         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74620         Set bit_Prefer_SSE_for_memop for Intel processors.
74621         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
74622         Define.
74623         (index_Prefer_SSE_for_memop): Define.
74624         (HAS_PREFER_SSE_FOR_MEMOP): Define.
74626 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
74628         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
74629         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
74631 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
74633         [BZ #12191]
74634         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74635         (__x86_64_raw_data_cache_size_half): Likewise.
74636         (__x86_64_raw_shared_cache_size): Likewise.
74637         (__x86_64_raw_shared_cache_size_half): Likewise.
74639         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74640         (__x86_64_raw_data_cache_size_half): Likewise.
74641         (__x86_64_raw_shared_cache_size): Likewise.
74642         (__x86_64_raw_shared_cache_size_half): Likewise.
74643         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
74644         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
74645         and __x86_64_raw_shared_cache_size_half.  Round
74646         __x86_64_data_cache_size_half, __x86_64_data_cache_size
74647         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
74648         to multiple of 256 bytes.
74650 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
74652         [BZ #12167]
74653         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
74654         of inacessible symlinks.  Verify result of symlink before returning it.
74655         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
74656         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
74658 2010-10-28  Erich Ritz  <erichritz@gmail.com>
74660         * math/math.h (isinf): Fix typo in comment.
74662 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
74664         * po/da.po: Update from translation team.
74666 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
74668         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
74669         is added to the list.
74671 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74672             Ulrich Drepper  <drepper@gmail.com>
74674         * elf/dl-object.c (_dl_new_object): Don't append the new object to
74675         the global list here.  Move code to...
74676         (_dl_add_to_namespace_list): ...here.  New function.
74677         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
74678         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
74679         * elf/dl-load.c (lose): Don't remove the element from the list.
74680         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
74681         (_dl_map_object): Likewise.
74683 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
74685         [BZ #12159]
74686         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
74687         into all bytes of SSE register.
74688         Patch by Richard Li <richardpku@gmail.com>.
74690 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
74692         [BZ #12140]
74693         * malloc/malloc.c (_int_free): Fill correct number of bytes when
74694         perturbing.
74696 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
74698         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
74699         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
74700         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
74701         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
74703         submachine.
74704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
74706 2010-10-22  Andreas Schwab  <schwab@redhat.com>
74708         * include/dlfcn.h (__RTLD_SECURE): Define.
74709         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
74710         mode & __RTLD_SECURE instead.
74711         (open_path): Rename preloaded parameter to secure.
74712         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
74713         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
74714         * elf/dl-deps.c (openaux): Likewise.
74715         * elf/rtld.c (struct map_args): Remove is_preloaded.
74716         (map_doit): Don't use it.
74717         (dl_main): Likewise.
74718         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
74719         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
74721 2010-09-09  Andreas Schwab  <schwab@redhat.com>
74723         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
74724         (sysd-rules-targets): Remove duplicates.
74725         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
74726         rtld-%.$o dependency.
74728 2010-10-18  Andreas Schwab  <schwab@redhat.com>
74730         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
74731         _dl_map_object do it.
74733 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
74735         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
74736         fast fma builtins, define the macros in the C99 standard.
74737         (FP_FAST_FMAF): Likewise.
74738         (FP_FAST_FMAL): Likewise.
74739         * sysdeps/x86_64/bits/mathdef.h: Likewise.
74741         * bits/mathdef.h: Update copyright year.
74742         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74744 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
74746         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
74747         builtins, define the macros in the C99 standard.
74748         (FP_FAST_FMAF): Likewise.
74749         (FP_FAST_FMAL): Likewise.
74750         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
74751         multiply/add.
74752         (FP_FAST_FMAF): Likewise.
74754 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
74756         [BZ #3268]
74757         * math/libm-test.inc (fma_test): Some new testcases.
74758         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
74759         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
74760         y and infinite z.  Do multiplication by C already in long double.
74761         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
74762         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
74763         y and infinite z.  Do bitwise or of inexact bit into u.d.
74764         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
74765         * sysdeps/i386/fpu/s_fmaf.S: Removed.
74766         * sysdeps/i386/fpu/s_fma.S: Removed.
74767         * sysdeps/i386/fpu/s_fmal.S: Removed.
74769 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
74771         [BZ #3268]
74772         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
74773         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
74774         computation is not scheduled after fetestexcept.  Fix value
74775         of minimum denormal long double.
74777 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
74779         [BZ #3268]
74780         * math/libm-test.inc (fma_test): Add some more tests.
74781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
74782         correctly.
74784 2010-10-15  Andreas Schwab  <schwab@redhat.com>
74786         * scripts/data/localplt-s390-linux-gnu.data: New file.
74787         * scripts/data/localplt-s390x-linux-gnu.data: New file.
74789 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
74791         [BZ #3268]
74792         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
74793         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
74794         instead of dbl-64.
74795         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
74796         inlines.
74797         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
74798         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
74799         if one of x and y is very large and the other is subnormal.
74800         * sysdeps/s390/fpu/s_fmaf.c: New file.
74801         * sysdeps/s390/fpu/s_fma.c: New file.
74802         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
74803         * sysdeps/powerpc/fpu/s_fma.S: New file.
74804         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
74805         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
74806         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
74808 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
74810         [BZ #3268]
74811         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
74812         fma tests.
74813         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
74814         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
74815         * sysdeps/i386/i686/multiarch/s_fma.c: Include
74816         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
74817         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
74818         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
74819         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
74821 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
74823         [BZ #12078]
74824         * posix/regcomp.c (parse_branch): One more memory leak plugged.
74825         * posix/bug-regex31.input: Add test case.
74827 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74829         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
74830         * posix/bug-regex31.input: New file.
74832         [BZ #12078]
74833         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
74834         (parse_sub_exp): Fix last change, use postorder.
74836         * posix/bug-regex31.c: New file.
74837         * posix/Makefile: Add rules to build and run bug-regex31.
74839         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
74841         [BZ #12078]
74842         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
74844         [BZ #12108]
74845         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
74846         to have entries in sys_siglist.
74848         [BZ #12093]
74849         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
74850         be NULL.
74852 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
74854         [BZ #3268]
74855         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
74856         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
74857         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
74858         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
74859         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74860         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
74861         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
74862         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
74863         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
74864         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
74865         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
74866         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
74867         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
74868         * math/ftestexcept.c (fetestexcept): Likewise.
74869         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
74870         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
74871         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
74872         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
74873         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
74874         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
74875         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74877 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74879         [BZ #12107]
74880         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
74881         newline.
74883 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
74885         * string/bug-strstr1.c: New file.
74886         * string/Makefile: Add rules to build and run bug-strstr1.
74888 2010-10-05  Eric Blake  <eblake@redhat.com>
74890         [BZ #12092]
74891         * string/str-two-way.h (two_way_long_needle): Always clear memory
74892         when skipping input due to the shift table.
74894 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
74896         [BZ #12005]
74897         * malloc/mcheck.c: Handle large requests.
74899         [BZ #12077]
74900         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
74901         for strncmp and strncasecmp.
74902         * string/stratcliff.c: Add tests for strcmp and strncmp.
74903         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
74905 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74907         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
74908         __set_fpscr.
74910 2010-09-30  Andreas Jaeger  <aj@suse.de>
74912         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
74913         (CGROUP_SUPER_MAGIC): Define.
74914         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74915         Handle btrfs and cgroup file systems.
74916         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
74917         Likewise.
74919 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
74921         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
74922         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
74924 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74926         [BZ #12067]
74927         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
74928         trying to locate the ELF header.
74930 2010-09-27  Andreas Schwab  <schwab@redhat.com>
74932         [BZ #11611]
74933         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
74934         Mask out sign-bit copies when constructing f_fsid.
74936 2010-09-24  Petr Baudis <pasky@suse.cz>
74938         * debug/stack_chk_fail_local.c: Add missing licence exception.
74939         * debug/warning-nop.c: Likewise.
74941 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
74943         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
74944         implementing getdents64 using getdents syscall, set d_type if
74945         __ASSUME_GETDENTS32_D_TYPE.
74947 2010-09-16  Andreas Schwab  <schwab@redhat.com>
74949         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
74950         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
74952 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
74954         [BZ #12037]
74955         * posix/unistd.h: Undo change of feature selection for ftruncate from
74956         2010-01-11.
74958 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
74960         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
74961         detection.
74963 2010-09-20  Andreas Schwab  <schwab@redhat.com>
74965         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
74966         fanotify_mark.
74967         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74969 2010-09-14  Andreas Schwab  <schwab@redhat.com>
74971         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
74972         variables after CHECK_SP call.
74973         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
74975 2010-09-13  Andreas Schwab  <schwab@redhat.com>
74976             Ulrich Drepper  <drepper@redhat.com>
74978         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
74979         re-relocationg ld.so.
74980         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
74981         _dl_init_paths call.
74982         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
74983         here anymore.
74985 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
74987         * resolv/res_init.c (__res_vinit): Count the default server we added.
74989 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
74990             Ulrich Drepper  <drepper@redhat.com>
74992         [BZ #11968]
74993         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74994         (____longjmp_chk): Use %ebx for saving value across system call.
74995         Add unwind info.
74997 2010-09-06  Andreas Schwab  <schwab@redhat.com>
74999         * manual/Makefile: Don't mix pattern rules with normal rules.
75001 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75003         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
75004         operation.
75005         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
75006         * libio/iofopncook.c (_IO_cookie_init): Likewise.
75007         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
75008         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
75009         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75010         Likewise.
75012 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
75014         [BZ #11979]
75015         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
75016         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
75018 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
75020         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
75021         * sysdeps/x86_64/addmul_1.S: Likewise.
75022         * sysdeps/x86_64/lshift.S: Likewise.
75023         * sysdeps/x86_64/mul_1.S: Likewise.
75024         * sysdeps/x86_64/rshift.S: Likewise.
75025         * sysdeps/x86_64/sub_n.S: Likewise.
75026         * sysdeps/x86_64/submul_1.S: Likewise.
75028 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75030         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
75031         Define __sched_param instead of SCHED_* and sched_param when
75032         <bits/sched.h> is included with __need_schedparam defined.
75033         * bits/sched.h [__need_schedparam]
75034         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
75035         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
75036         (__defined_schedparam): Define to 1.
75037         (__sched_param): New structure, identical to sched_param.
75038         (__need_schedparam): Undefine.
75040 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
75042         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
75043         (epoll_create1): Declare.
75045         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
75047 2010-08-31  Andreas Schwab  <schwab@redhat.com>
75049         [BZ #7066]
75050         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
75051         shifting retval into place.
75053 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
75055         * nis/rpcsvc/nis.h: Update copyright notice.
75056         * nis/rpcsvc/nis.x: Likewise.
75057         * nis/rpcsvc/nis_callback.h: Likewise.
75058         * nis/rpcsvc/nis_callback.x: Likewise.
75059         * nis/rpcsvc/nis_object.x: Likewise.
75060         * nis/rpcsvc/nis_tags.h: Likewise.
75061         * nis/rpcsvc/yp.h: Likewise.
75062         * nis/rpcsvc/yp.x: Likewise.
75063         * nis/rpcsvc/ypupd.h: Likewise.
75064         * nis/yp_xdr.c: Likewise.
75065         * nis/ypupdate_xdr.c: Likewise.
75067         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
75068         mainly the body of pmap_getport.  Add parameters to specify timeouts.
75069         (pmap_getport): Use __libc_rpc_getport.
75070         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
75071         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
75072         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
75074 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
75076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
75077         fanotify_mark.
75079 2010-08-27  Roland McGrath  <roland@redhat.com>
75081         * sysdeps/i386/i686/multiarch/Makefile
75082         (CFLAGS-varshift.c): New variable.
75084 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
75086         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
75087         * sysdeps/i386/i686/multiarch/varshift.c: New file.
75089         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
75091         * sysdeps/x86_64/strlen.S: Minimal code improvement.
75093 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
75095         * sysdeps/x86_64/strlen.S: Unroll the loop.
75096         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75097         strlen-sse2 strlen-sse2-bsf.
75098         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
75099         __strlen_no_bsf if bit_Slow_BSF is set.
75100         (__strlen_sse42): Removed.
75101         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
75102         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
75104 2010-08-25  Roland McGrath  <roland@redhat.com>
75106         * sysdeps/x86_64/multiarch/varshift.S: File removed.
75107         * sysdeps/x86_64/multiarch/varshift.c: New file.
75108         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
75109         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
75110         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
75111         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75113 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
75115         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75116         strlen-sse2 strlen-sse2-bsf.
75117         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
75118         __strlen_sse2_bsf if bit_Slow_BSF is unset.
75119         (__strlen_sse2): Removed.
75120         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
75121         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
75122         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
75123         bit_Slow_BSF for Atom.
75124         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
75125         (index_Slow_BSF): Define.
75126         (HAS_SLOW_BSF): Define.
75128 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
75130         [BZ #10851]
75131         * resolv/res_init.c (__res_vinit): When no server address at all
75132         is given default to loopback.
75134 2010-08-24  Roland McGrath  <roland@redhat.com>
75136         * configure.in: Remove config-name.h generation.
75137         * configure: Regenerated.
75138         * config-name.in: File removed.
75139         * scripts/config-uname.sh: New file.
75140         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
75141         ($(objdir)config-name.h): New target.
75143         * sunrpc/rpc_parse.h: Avoid nested comment.
75145 2010-08-24  Richard Henderson  <rth@redhat.com>
75146             Ulrich Drepper  <drepper@redhat.com>
75147             H.J. Lu  <hongjiu.lu@intel.com>
75149         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
75150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
75151         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
75152         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
75153         _mm_alignr_epi8 with _mm_loadu_si128.
75154         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
75155         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
75156         (__m128i_shift_right): Removed.
75157         * sysdeps/i386/i686/multiarch/varshift.h: New file.
75158         * sysdeps/i386/i686/multiarch/varshift.S: New file.
75159         * sysdeps/x86_64/multiarch/varshift.h: New file.
75160         * sysdeps/x86_64/multiarch/varshift.S: New file.
75162 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
75164         * configure.in: Move assembler checks to before sysdep dir checking.
75166 2010-08-20  Petr Baudis  <pasky@suse.cz>
75168         * LICENSES: Sync the sunrpc license.
75170 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
75172         * sunrpc/auth_des.c: Update copyright notice once again.
75173         * sunrpc/auth_none.c: Likewise.
75174         * sunrpc/auth_unix.c: Likewise.
75175         * sunrpc/authdes_prot.c: Likewise.
75176         * sunrpc/authuxprot.c: Likewise.
75177         * sunrpc/bindrsvprt.c: Likewise.
75178         * sunrpc/clnt_gen.c: Likewise.
75179         * sunrpc/clnt_perr.c: Likewise.
75180         * sunrpc/clnt_raw.c: Likewise.
75181         * sunrpc/clnt_simp.c: Likewise.
75182         * sunrpc/clnt_tcp.c: Likewise.
75183         * sunrpc/clnt_udp.c: Likewise.
75184         * sunrpc/clnt_unix.c: Likewise.
75185         * sunrpc/des_crypt.c: Likewise.
75186         * sunrpc/des_soft.c: Likewise.
75187         * sunrpc/get_myaddr.c: Likewise.
75188         * sunrpc/getrpcport.c: Likewise.
75189         * sunrpc/key_call.c: Likewise.
75190         * sunrpc/key_prot.c: Likewise.
75191         * sunrpc/openchild.c: Likewise.
75192         * sunrpc/pm_getmaps.c: Likewise.
75193         * sunrpc/pm_getport.c: Likewise.
75194         * sunrpc/pmap_clnt.c: Likewise.
75195         * sunrpc/pmap_prot.c: Likewise.
75196         * sunrpc/pmap_prot2.c: Likewise.
75197         * sunrpc/pmap_rmt.c: Likewise.
75198         * sunrpc/rpc/auth.h: Likewise.
75199         * sunrpc/rpc/auth_unix.h: Likewise.
75200         * sunrpc/rpc/clnt.h: Likewise.
75201         * sunrpc/rpc/des_crypt.h: Likewise.
75202         * sunrpc/rpc/key_prot.h: Likewise.
75203         * sunrpc/rpc/netdb.h: Likewise.
75204         * sunrpc/rpc/pmap_clnt.h: Likewise.
75205         * sunrpc/rpc/pmap_prot.h: Likewise.
75206         * sunrpc/rpc/pmap_rmt.h: Likewise.
75207         * sunrpc/rpc/rpc.h: Likewise.
75208         * sunrpc/rpc/rpc_des.h: Likewise.
75209         * sunrpc/rpc/rpc_msg.h: Likewise.
75210         * sunrpc/rpc/svc.h: Likewise.
75211         * sunrpc/rpc/svc_auth.h: Likewise.
75212         * sunrpc/rpc/types.h: Likewise.
75213         * sunrpc/rpc/xdr.h: Likewise.
75214         * sunrpc/rpc_clntout.c: Likewise.
75215         * sunrpc/rpc_cmsg.c: Likewise.
75216         * sunrpc/rpc_common.c: Likewise.
75217         * sunrpc/rpc_cout.c: Likewise.
75218         * sunrpc/rpc_dtable.c: Likewise.
75219         * sunrpc/rpc_hout.c: Likewise.
75220         * sunrpc/rpc_main.c: Likewise.
75221         * sunrpc/rpc_parse.c: Likewise.
75222         * sunrpc/rpc_parse.h: Likewise.
75223         * sunrpc/rpc_prot.c: Likewise.
75224         * sunrpc/rpc_sample.c: Likewise.
75225         * sunrpc/rpc_scan.c: Likewise.
75226         * sunrpc/rpc_scan.h: Likewise.
75227         * sunrpc/rpc_svcout.c: Likewise.
75228         * sunrpc/rpc_tblout.c: Likewise.
75229         * sunrpc/rpc_util.c: Likewise.
75230         * sunrpc/rpc_util.h: Likewise.
75231         * sunrpc/rpcinfo.c: Likewise.
75232         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
75233         * sunrpc/rpcsvc/key_prot.x: Likewise.
75234         * sunrpc/rpcsvc/klm_prot.x: Likewise.
75235         * sunrpc/rpcsvc/mount.x: Likewise.
75236         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
75237         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
75238         * sunrpc/rpcsvc/rex.x: Likewise.
75239         * sunrpc/rpcsvc/rstat.x: Likewise.
75240         * sunrpc/rpcsvc/rusers.x: Likewise.
75241         * sunrpc/rpcsvc/sm_inter.x: Likewise.
75242         * sunrpc/rpcsvc/spray.x: Likewise.
75243         * sunrpc/rpcsvc/yppasswd.x: Likewise.
75244         * sunrpc/rtime.c: Likewise.
75245         * sunrpc/svc.c: Likewise.
75246         * sunrpc/svc_auth.c: Likewise.
75247         * sunrpc/svc_authux.c: Likewise.
75248         * sunrpc/svc_raw.c: Likewise.
75249         * sunrpc/svc_run.c: Likewise.
75250         * sunrpc/svc_simple.c: Likewise.
75251         * sunrpc/svc_tcp.c: Likewise.
75252         * sunrpc/svc_udp.c: Likewise.
75253         * sunrpc/svc_unix.c: Likewise.
75254         * sunrpc/svcauth_des.c: Likewise.
75255         * sunrpc/xcrypt.c: Likewise.
75256         * sunrpc/xdr.c: Likewise.
75257         * sunrpc/xdr_array.c: Likewise.
75258         * sunrpc/xdr_float.c: Likewise.
75259         * sunrpc/xdr_mem.c: Likewise.
75260         * sunrpc/xdr_rec.c: Likewise.
75261         * sunrpc/xdr_ref.c: Likewise.
75262         * sunrpc/xdr_sizeof.c: Likewise.
75263         * sunrpc/xdr_stdio.c: Likewise.
75265         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
75266         handling.
75268 2010-08-19  Andreas Schwab  <schwab@redhat.com>
75270         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
75272 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
75274         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
75275         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
75276         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
75277         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
75278         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
75279         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
75280         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
75281         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
75282         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
75283         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
75284         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
75285         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
75286         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
75287         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
75289 2010-07-26  Anton Blanchard  <anton@samba.org>
75291         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
75292         * malloc/arena.c (heap_trim): Likewise.
75294 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
75296         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
75297         here.  Not...
75298         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
75299         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
75301 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
75303         * sysdeps/i386/elf/Makefile: New file.
75305 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75307         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
75308         from fanotify_init.
75309         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
75310         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75312 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
75314         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
75315         of strncasecmp_l.
75316         * sysdeps/multiarch/strcmp.S: Likewise.
75318 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
75320         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75321         strncase_l-nonascii.
75322         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75323         Add strncase_l-ssse3.
75324         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
75325         * sysdeps/x86_64/strcmp.S: Likewise.
75326         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
75327         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
75328         * sysdeps/x86_64/strncase.S: New file.
75329         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
75330         * sysdeps/x86_64/strncase_l.S: New file.
75331         * string/Makefile (strop-tests): Add strncasecmp.
75332         * string/test-strncasecmp.c: New file.
75334         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
75335         warning.
75337         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
75338         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
75340 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75342         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
75344 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
75346         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
75347         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
75348         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
75350 2010-05-01  Alan Modra  <amodra@gmail.com>
75352         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
75353         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
75354         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
75355         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
75356         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
75357         tidying.  Don't tail-call __sigjmp_save for static lib.
75358         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
75359         save location.
75360         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
75361         (CALL_MCOUNT): Add eh info, and nop after bl.
75362         (TAIL_CALL_SYSCALL_ERROR): New macro.
75363         (PSEUDO_RET): Use it.
75364         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
75365         Correct save location of integer regs and cr.
75366         (_dl_profile_resolve): Correct cr save location.  Delete nops
75367         after bl when SHARED.  Reduce cfi size a little by better
75368         placement of cfi directives.
75369         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
75370         make a stack frame.  Instead use parm save area as a temp.
75371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
75372         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
75373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
75374         Don't make a stack frame for parent, use parm save area.
75375         Increase child stack frame to 112 bytes.  Don't save unused reg,
75376         and adjust reg usage.  Set up cfi on error recovery and
75377         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
75378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75379         (__makecontext): Add dummy nop after jump to exit.
75380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
75381         Use correct parm save area and cr save, reduce stack frame.
75382         Correct cfi for possible PSEUDO_RET frame setup.
75383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
75384         Branch to local label emitted by PSEUDO_RET rather than
75385         __syscall_error.
75387 2010-08-12  Andreas Schwab  <schwab@redhat.com>
75389         [BZ #11904]
75390         * locale/programs/locale.c (print_assignment): New function.
75391         (show_locale_vars): Use it.
75393 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
75395         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
75396         field.
75397         (struct statfs64): Likewise.
75398         (_STATFS_F_FLAGS): Define.
75399         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
75400         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75401         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
75402         (ST_VALID): Define locally.
75403         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
75404         __statvfs_getflags, use the provided value.
75405         * sysdeps/unix/sysv/linux/kernel-features.h: Define
75406         __ASSUME_STATFS_F_FLAGS.
75408         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
75410         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
75411         Add sys/fanotify.h.
75412         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
75413         fanotify_mask for GLIBC_2.13.
75414         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
75415         fanotify_init and fanotify_mark.
75416         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75417         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
75419         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
75420         Add prlimit.
75421         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
75422         prlimit64 for GLIBC_2.13.
75423         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
75424         prlimit64.
75425         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
75426         syscall.
75427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
75428         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75429         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
75430         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
75431         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
75432         add prlimit alias.
75433         * sysdeps/unix/sysv/linux/prlimit.c: New file.
75435         [BZ #11903]
75436         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
75437         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
75439         * nss/Makefile: Add rules to build and run tst-nss-test1.
75440         * shlib-versions: Add entry for libnss_test1.
75441         * nss/nss_test1.c: New file.
75442         * nss/tst-nss-test1.c: New file.
75444         * nss/nsswitch.c (__nss_database_custom): Define new variable.
75445         (__nss_configure_lookup): Set appropriate entry in
75446         __nss_configure_lookup to true.
75447         * nss/nsswitch.h: Define enum with indeces of databases in
75448         databases and __nss_database_custom arrays.  Declare
75449         __nss_database_custom.
75450         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
75451         to avoid using nscd when custom rules are installed.
75452         * nss/getXXbyYY_r.c: Likewise.
75453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
75455         * nss/nss_files/files-parse.c: Whitespace fixes.
75457 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
75459         [BZ #11883]
75460         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
75461         * posix/fnmatch_loop.c: Likewise.
75463 2010-07-17  Andi Kleen  <ak@linux.intel.com>
75465         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
75466         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
75467         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
75468         * Versions.def [GLIBC_2.13]: Add.
75470 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
75472         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75473         Also fail if tpwd after pwuid call is NULL.
75475 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75477         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
75478         when converting to ms.
75480 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75482         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
75483         EOPNOTSUPP errors with ENOTTY.
75484         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
75485         EOPNOTSUPP errors with ENOTTY.
75487 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
75489         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75490         Add strcasecmp_l-ssse3.
75491         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
75492         strcasecmp.
75493         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
75494         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
75495         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
75497 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
75499         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
75501         * string/Makefile (strop-tests): Add strcasecmp.
75502         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75503         strcasecmp_l-nonascii.
75504         (gen-as-const-headers): Add locale-defines.sym.
75505         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
75506         * sysdeps/x86_64/strcasecmp.S: New file.
75507         * sysdeps/x86_64/strcasecmp_l.S: New file.
75508         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
75509         * sysdeps/x86_64/locale-defines.sym: New file.
75510         * string/test-strcasecmp.c: New file.
75512         * string/test-strcasestr.c: Test both ends of the range of characters.
75513         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
75515 2010-07-29  Roland McGrath  <roland@redhat.com>
75517         [BZ #11856]
75518         * manual/locale.texi (Yes-or-No Questions): Fix example code.
75520 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
75522         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
75523         for ld.so.
75525 2010-07-27  Andreas Schwab  <schwab@redhat.com>
75527         * manual/memory.texi (Malloc Tunable Parameters): Document
75528         M_PERTURB.
75530 2010-07-26  Roland McGrath  <roland@redhat.com>
75532         [BZ #11840]
75533         * configure.in (-fgnu89-inline check): Set and substitute
75534         gnu89_inline, not libc_cv_gnu89_inline.
75535         * configure: Regenerated.
75536         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
75538 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
75540         * string/test-strnlen.c: New file.
75541         * string/Makefile (strop-tests): Add strnlen.
75542         * string/tester.c (test_strnlen): Add a few more test cases.
75543         * string/tst-strlen.c: Better error reporting.
75545         * sysdeps/x86_64/strnlen.S: New file.
75547 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
75549         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
75550         lower-latency instructions.
75552 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
75554         * string/test-strcasestr.c: New file.
75555         * string/test-strstr.c: New file.
75556         * string/Makefile (strop-tests): Add strstr and strcasestr.
75557         * string/str-two-way.h: Don't undefine MAX.
75558         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
75560 2010-07-21  Andreas Schwab  <schwab@redhat.com>
75562         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75563         strcasestr-nonascii.
75564         (CFLAGS-strcasestr-nonascii.c): Define.
75565         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
75566         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
75567         Remove unused attribute.
75569 2010-07-20  Roland McGrath  <roland@redhat.com>
75571         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
75572         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
75573         ld.so.cache was broken.  With it, there is no way to disable dsocaps
75574         like LD_HWCAP_MASK can disable hwcaps.
75576 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75578         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
75580 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
75582         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
75583         call in strcasestr.
75584         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
75585         __strcasestr_sse42_nonascii.
75586         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
75587         strcasestr-nonascii.c.
75588         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
75590 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
75592         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
75593         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
75594         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
75595         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
75597 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
75599         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
75600         fcntl.
75602 2010-07-06  Andreas Schwab  <schwab@redhat.com>
75604         [BZ #11577]
75605         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
75606         dl_signal_cerror.
75608 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
75610         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
75611         _PC_PIPE_BUF using F_GETPIPE_SZ.
75613 2010-07-05  Roland McGrath  <roland@redhat.com>
75615         * manual/arith.texi (Rounding Functions): Fix rint description
75616         implicit in round description.
75618 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
75620         * elf/Makefile: Fix linking for a few tests to make recent linker
75621         happy.
75623 2010-06-30  Andreas Schwab  <schwab@redhat.com>
75625         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75626         $(common-objpfx)libc_nonshared.a.
75628 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
75630         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
75631         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
75632         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75633         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75634         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
75635         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
75636         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75637         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
75639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
75640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
75641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
75643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
75645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
75646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
75647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
75648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
75650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
75652         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
75653         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
75654         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
75655         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
75656         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
75657         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
75658         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
75659         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
75660         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
75661         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
75662         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
75663         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
75664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
75665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
75666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
75667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
75668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
75669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
75670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
75671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
75672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
75673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
75674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
75675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
75676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
75677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
75679 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
75681         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
75682         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
75683         * string/memmove.c (memmove): Renamed to ...
75684         (MEMMOVE): ...this.  Default to memmove.
75685         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
75686         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
75687         (END_CHK): Define.
75688         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75689         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
75690         mempcpy-ssse3-back memmove-ssse3-back.
75691         * sysdeps/x86_64/multiarch/bcopy.S: New file .
75692         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
75693         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
75694         * sysdeps/x86_64/multiarch/memcpy.S: New file.
75695         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
75696         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
75697         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
75698         * sysdeps/x86_64/multiarch/memmove.c: New file.
75699         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
75700         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
75701         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
75702         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
75703         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
75704         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
75705         Define.
75706         (index_Fast_Copy_Backward): Define.
75707         (HAS_ARCH_FEATURE): Define.
75708         (HAS_FAST_REP_STRING): Define.
75709         (HAS_FAST_COPY_BACKWARD): Define.
75711 2010-06-21  Andreas Schwab  <schwab@redhat.com>
75713         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75714         Restore proper fallback handling.
75716 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
75718         [BZ #11701]
75719         * posix/group_member.c (__group_member): Correct checking loop.
75721         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
75722         OOM in getpwuid_r correctly.  Return error number when the caller
75723         should return, otherwise -1.
75724         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
75725         call returning > 0 value.
75726         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
75728 2010-06-07  Andreas Schwab  <schwab@redhat.com>
75730         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
75731         libc_nonshared.a from targets in modules-names.
75733 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
75735         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
75736         requires it.
75738 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
75740         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
75741         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
75742         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
75743         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
75745 2010-06-02  Andreas Schwab  <schwab@redhat.com>
75747         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
75749 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
75751         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
75752         and F_GETPIPE_SZ.
75753         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75754         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75755         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75756         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75757         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75758         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75760 2010-06-14  Roland McGrath  <roland@redhat.com>
75762         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
75764 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
75766         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
75767         __REDIRECT followed by __THROW.
75768         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
75769         * posix/getopt.h (getopt): Likewise.
75771 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75773         * hurd/lookup-at.c (__file_name_lookup_at): Accept
75774         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
75775         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
75776         in AT_FLAGS.
75777         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
75778         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
75780 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
75782         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
75784 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
75786         [BZ #11640]
75787         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75788         Properly check family and model.
75790 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
75792         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
75794 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
75796         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
75798 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
75800         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
75801         symbol reference.
75803 2010-05-19  Andreas Schwab  <schwab@redhat.com>
75805         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
75806         symbol reference.
75808 2010-05-21  Andreas Schwab  <schwab@redhat.com>
75810         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
75811         and internal_recvmmsg.
75812         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
75813         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
75814         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
75815         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
75817         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
75818         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
75819         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
75821 2010-05-20  Andreas Schwab  <schwab@redhat.com>
75823         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
75825 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
75827         POWER7 optimizations.
75828         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
75829         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
75831 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
75833         * version.h: Update for 2.13 development version.
75835 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
75837         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
75838         exceptions.  Return 0.
75840 2010-05-07  Roland McGrath  <roland@redhat.com>
75842         * elf/ldconfig.c (main): Add a const.
75844 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
75846         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
75847         (args_options): Add no-idn option.
75848         (ahosts_keys_int): Add idn_flags to ai_flags.
75849         (parse_option): Handle 'i' option to clear idn_flags.
75851         * malloc/malloc.c (_int_free): Possible race in the most recently
75852         added check.  Only act on the data if no current modification
75853         happened.
75855 See ChangeLog.17 for earlier changes.